Browse Source

Fix phpstan

mscherer 5 years ago
parent
commit
3b7a21a9a9
1 changed files with 3 additions and 0 deletions
  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