浏览代码

Fix phpstan

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

+ 3 - 0
tests/phpstan.neon

@@ -16,6 +16,9 @@ parameters:
 		-
 			message: '#Cannot unset offset string on array.+\.#'
 			path: '%rootDir%/../../../src/Utility/Language.php'
+		-
+			message: '#Instanceof between mixed and .+ComparisonExpression will always evaluate to false\.#'
+			path: '%rootDir%/../../../src/Model/Behavior/BitmaskedBehavior.php'
 services:
 	-
 		class: Cake\PHPStan\AssociationTableMixinClassReflectionExtension