mirror of
https://github.com/filamentphp/plugin-skeleton.git
synced 2025-12-06 13:38:53 +08:00
Fix styling
This commit is contained in:
committed by
github-actions[bot]
parent
c2645897dd
commit
0614324a3e
@@ -195,7 +195,7 @@ if (! $useRector) {
|
|||||||
'rector/rector',
|
'rector/rector',
|
||||||
], 'require-dev');
|
], 'require-dev');
|
||||||
|
|
||||||
removeComposerDeps(['refactor', 'test:refactor', ], 'scripts');
|
removeComposerDeps(['refactor', 'test:refactor'], 'scripts');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! $useUpdateChangelogWorkflow) {
|
if (! $useUpdateChangelogWorkflow) {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ use Rector\Config\RectorConfig;
|
|||||||
|
|
||||||
return RectorConfig::configure()
|
return RectorConfig::configure()
|
||||||
->withPaths([
|
->withPaths([
|
||||||
__DIR__.'/src',
|
__DIR__ . '/src',
|
||||||
])
|
])
|
||||||
->withPreparedSets(
|
->withPreparedSets(
|
||||||
deadCode: true,
|
deadCode: true,
|
||||||
|
|||||||
@@ -2,6 +2,4 @@
|
|||||||
|
|
||||||
namespace VendorName\Skeleton;
|
namespace VendorName\Skeleton;
|
||||||
|
|
||||||
class Skeleton
|
class Skeleton {}
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -58,9 +58,7 @@ class SkeletonServiceProvider extends PackageServiceProvider
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function packageRegistered(): void
|
public function packageRegistered(): void {}
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public function packageBooted(): void
|
public function packageBooted(): void
|
||||||
{
|
{
|
||||||
@@ -88,7 +86,7 @@ class SkeletonServiceProvider extends PackageServiceProvider
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Testing
|
// Testing
|
||||||
Testable::mixin(new TestsSkeleton());
|
Testable::mixin(new TestsSkeleton);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function getAssetPackageName(): ?string
|
protected function getAssetPackageName(): ?string
|
||||||
|
|||||||
@@ -66,6 +66,6 @@ class TestCase extends Orchestra
|
|||||||
|
|
||||||
protected function defineDatabaseMigrations(): void
|
protected function defineDatabaseMigrations(): void
|
||||||
{
|
{
|
||||||
$this->loadMigrationsFrom(__DIR__.'/../database/migrations');
|
$this->loadMigrationsFrom(__DIR__ . '/../database/migrations');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user