Skip to content

Commit d182a3b

Browse files
committed
add phpstan-deprecation-rules
1 parent 49012ea commit d182a3b

File tree

3 files changed

+54
-1
lines changed

3 files changed

+54
-1
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
"pdepend/pdepend": "~2.10.0",
9898
"phpmd/phpmd": "^2.12.0",
9999
"phpstan/phpstan": "^1.6.8",
100+
"phpstan/phpstan-deprecation-rules": "^1.0",
100101
"phpunit/phpunit": "~9.5.20",
101102
"sebastian/phpcpd": "^6.0.3",
102103
"squizlabs/php_codesniffer": "~3.6.0",

composer.lock

Lines changed: 51 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dev/tests/static/testsuite/Magento/Test/Php/_files/phpstan/phpstan.neon

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ parameters:
3737
- '#Constant TESTS_INSTALLATION_DB_CONFIG_FILE not found.#'
3838
- '#Constant T_[A-Z_]+ not found.#'
3939

40+
includes:
41+
- %rootDir%/../../../vendor/phpstan/phpstan-deprecation-rules/rules.neon
4042

4143
services:
4244
-

0 commit comments

Comments
 (0)