浏览代码

Fix phpstan

mscherer 5 年之前
父节点
当前提交
cffd13e0e6
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      tests/phpstan.neon

+ 3 - 1
tests/phpstan.neon

@@ -11,7 +11,9 @@ parameters:
 		-
 			message: '#Variable \$.+ might not be defined.#'
 			path: '%rootDir%/../../../src/View/Helper/TreeHelper.php'
-
+		-
+			message: '#Cannot unset offset string on array.+\.#'
+			path: '%rootDir%/../../../src/Utility/Language.php'
 services:
 	-
 		class: Cake\PHPStan\AssociationTableMixinClassReflectionExtension