diff --git a/src/Commands/BaseCommand.php b/src/Commands/BaseCommand.php index 20294ce..4a99ef2 100644 --- a/src/Commands/BaseCommand.php +++ b/src/Commands/BaseCommand.php @@ -100,13 +100,6 @@ protected function isBlacklisted($filepath) return strpos($filepath, 'vendor') !== false || strpos($filepath, 'node_modules') !== false - || strpos($filepath, "public{$DS}") !== false - || strpos($filepath, "bootstrap{$DS}") !== false - || strpos($filepath, 'server.php') !== false - || strpos($filepath, "app{$DS}Http{$DS}Middleware{$DS}RedirectIfAuthenticated.php") !== false - || strpos($filepath, "app{$DS}Exceptions{$DS}Handler.php") !== false - || strpos($filepath, "app{$DS}Http{$DS}Controllers{$DS}Auth") !== false - || strpos($filepath, "app{$DS}Http{$DS}Kernel.php") !== false || strpos($filepath, "storage{$DS}framework{$DS}views") !== false || $this->isExcluded($filepath); } diff --git a/src/Presets/LaravelPreset.php b/src/Presets/LaravelPreset.php index 4862ebd..b8608ec 100644 --- a/src/Presets/LaravelPreset.php +++ b/src/Presets/LaravelPreset.php @@ -18,13 +18,11 @@ public function getLinters(): array Linters\NoLeadingSlashesOnRoutePaths::class, Linters\NoSpaceAfterBladeDirectives::class, Linters\OneLineBetweenClassVisibilityChanges::class, - Linters\QualifiedNamesOnlyForClassName::class, Linters\RemoveLeadingSlashNamespaces::class, Linters\RequestHelperFunctionWherePossible::class, Linters\RequestValidation::class, Linters\SpaceAfterBladeDirectives::class, Linters\SpacesAroundBladeRenderContent::class, - Linters\UseAuthHelperOverFacade::class, ]; } @@ -43,7 +41,6 @@ public function getFormatters(): array Formatters\RequestValidation::class, Formatters\SpaceAfterBladeDirectives::class, Formatters\SpacesAroundBladeRenderContent::class, - Formatters\UseAuthHelperOverFacade::class, ]; } }