From 029e6b26f15b086ef0b5a10f74b7ab7d03125fa8 Mon Sep 17 00:00:00 2001 From: mscherer Date: Thu, 26 Mar 2026 11:57:30 +0100 Subject: [PATCH] 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 --- phpstan-test-app.neon | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phpstan-test-app.neon b/phpstan-test-app.neon index c250b63..3327966 100644 --- a/phpstan-test-app.neon +++ b/phpstan-test-app.neon @@ -11,3 +11,5 @@ parameters: ignoreErrors: - identifier: missingType.generics + - + identifier: method.deprecated