diff --git a/phpstan.neon b/phpstan.neon index 29ce9ea7..a4b8265a 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -7,6 +7,7 @@ parameters: - '#Call to an undefined method ReflectionType::getName\(\).#' - '#.+Dingo.+#' - '#Call to an undefined method Illuminate\\Contracts\\Filesystem\\Filesystem::path\(\)#' + - '#Call to an undefined method Illuminate\\Contracts\\Foundation\\Application::forgetInstance\(\)#' - '#Access to an undefined property Illuminate\\Support\\HigherOrderCollectionProxy#' - '#Access to an undefined property Illuminate\\Contracts\\Foundation\\Application::\$view#' - '#Unsafe usage of new static#' diff --git a/src/ScribeServiceProvider.php b/src/ScribeServiceProvider.php index 8552ddac..43d114e9 100644 --- a/src/ScribeServiceProvider.php +++ b/src/ScribeServiceProvider.php @@ -2,7 +2,6 @@ namespace Knuckles\Scribe; -use Illuminate\Support\Facades\Artisan; use Illuminate\Support\ServiceProvider; use Knuckles\Scribe\Commands\DiffConfig; use Knuckles\Scribe\Commands\GenerateDocumentation;