perf: add php deprecation rules

This commit is contained in:
Michel Roux 2025-03-06 18:43:27 +01:00
parent c80f034cc2
commit 1d9bcb3e13
2 changed files with 3 additions and 2 deletions

View File

@ -31,6 +31,7 @@
"nextcloud/coding-standard": "^1.3.2", "nextcloud/coding-standard": "^1.3.2",
"nextcloud/rector": "^0.3.1", "nextcloud/rector": "^0.3.1",
"phpstan/phpstan": "~1.12.20", "phpstan/phpstan": "~1.12.20",
"phpstan/phpstan-deprecation-rules": "~1.2.1",
"rector/rector": "~1.2.10" "rector/rector": "~1.2.10"
}, },
"config": { "config": {

View File

@ -2,5 +2,5 @@ parameters:
level: 9 level: 9
paths: paths:
- lib - lib
ignoreErrors: includes:
- '#Method [a-zA-Z0-9:\(\)\\_]+ return type with generic class OCP\\AppFramework\\Http\\[a-zA-Z]+ does not specify its types#' - vendor/phpstan/phpstan-deprecation-rules/rules.neon