Skip to content

Commit 029e6b2

Browse files
committed
Ignore deprecated method warnings in test_app PHPStan config
The test_app contains fixture code to exercise the PHPStan rules, not production code. Since the package supports CakePHP ^5.0, we need to allow deprecated methods like newExpr() which was deprecated in 5.3.0. Closes #65
1 parent 4159d1c commit 029e6b2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

phpstan-test-app.neon

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ parameters:
1111
ignoreErrors:
1212
-
1313
identifier: missingType.generics
14+
-
15+
identifier: method.deprecated

0 commit comments

Comments
 (0)