瀏覽代碼

Fix PHPStan config

Shalvah 5 年之前
父節點
當前提交
893666ae49
共有 1 個文件被更改,包括 1 次插入0 次删除
  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\\URL::forceRootUrl()#'
         - '#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().#'
         - '#(.*)NunoMaduro\\Collision(.*)#'
         - '#Instantiated class Whoops\\Exception\\Inspector not found\.#'