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/rector": "^0.3.1",
"phpstan/phpstan": "~1.12.20",
"phpstan/phpstan-deprecation-rules": "~1.2.1",
"rector/rector": "~1.2.10"
},
"config": {

View File

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