Browse Source

Fix PHPStan config

Shalvah 5 years ago
parent
commit
893666ae49
1 changed files with 1 additions and 0 deletions
  1. 1 0
      phpstan.neon

+ 1 - 0
phpstan.neon

@@ -6,6 +6,7 @@ parameters:
         - '#Call to an undefined static method Illuminate\\Support\\Facades\\Route::getRoutes().#'
         - '#Call to an undefined static method Illuminate\\Support\\Facades\\Route::getRoutes().#'
         - '#Call to an undefined static method Illuminate\\Support\\Facades\\URL::forceRootUrl()#'
         - '#Call to an undefined static method Illuminate\\Support\\Facades\\URL::forceRootUrl()#'
         - '#Call to an undefined static method Illuminate\\Support\\Facades\\URL::forceScheme()#'
         - '#Call to an undefined static method Illuminate\\Support\\Facades\\URL::forceScheme()#'
+        - '#Cannot access offset .+ on Illuminate\\Contracts\\Foundation\\Application.#'
         - '#Call to an undefined method Illuminate\\Routing\\Route::versions().#'
         - '#Call to an undefined method Illuminate\\Routing\\Route::versions().#'
         - '#(.*)NunoMaduro\\Collision(.*)#'
         - '#(.*)NunoMaduro\\Collision(.*)#'
         - '#Instantiated class Whoops\\Exception\\Inspector not found\.#'
         - '#Instantiated class Whoops\\Exception\\Inspector not found\.#'