shalvah 4 年之前
父节点
当前提交
86ce875d44
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      phpstan.neon

+ 6 - 6
phpstan.neon

@@ -3,13 +3,13 @@ parameters:
     reportUnmatchedIgnoredErrors: false
     inferPrivatePropertyTypeFromConstructor: true
     ignoreErrors:
-        - '#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::formatRoot()#'
+        - '#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::formatRoot\(\)#'
         - '#Cannot access offset .+ on Illuminate\\Contracts\\Foundation\\Application.#'
-        - '#Call to an undefined method Illuminate\\Routing\\Route::versions().#'
-        - '#Call to an undefined method Illuminate\\Contracts\\Validation\\Validator::getRules().#'
-        - '#Call to an undefined method ReflectionType::getName().#'
+        - '#Call to an undefined method Illuminate\\Routing\\Route::versions\(\).#'
+        - '#Call to an undefined method Illuminate\\Contracts\\Validation\\Validator::getRules\(\).#'
+        - '#Call to an undefined method ReflectionType::getName\(\).#'
         - '#(.*)NunoMaduro\\Collision(.*)#'
         - '#Instantiated class Whoops\\Exception\\Inspector not found\.#'
         - '#.+Dingo.+#'