Skip to content

Commit

Permalink
Drop dependency on thecodingmachine/phpstan-strict-rules
Browse files Browse the repository at this point in the history
These are unmaintained and block us from upgrading phpstan
  • Loading branch information
shish committed Feb 9, 2025
1 parent c81bd4d commit 7b61043
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 60 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@
},
"require-dev": {
"phpstan/phpstan": "^1",
"thecodingmachine/phpstan-strict-rules": "^1.0",
"squizlabs/php_codesniffer": "^3.2",
"phpunit/phpunit": "^10",
"php-parallel-lint/php-parallel-lint": "^1.4"
Expand Down
1 change: 0 additions & 1 deletion generator/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
},
"require-dev": {
"phpunit/phpunit": "^12",
"thecodingmachine/phpstan-strict-rules": "^1.0",
"squizlabs/php_codesniffer": "^3.2",
"php-coveralls/php-coveralls": "^2.1",
"php-parallel-lint/php-parallel-lint": "^1.4"
Expand Down
57 changes: 1 addition & 56 deletions generator/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion generator/phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
includes:
- vendor/thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon
# TODO: re-enable these rules once they are compatible with modern phpstan
# https://github.com/thecodingmachine/phpstan-strict-rules/issues/66
# - vendor/thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon
- phar://phpstan.phar/conf/bleedingEdge.neon

parameters:
Expand Down
4 changes: 3 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
includes:
- vendor/thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon
# TODO: re-enable these rules once they are compatible with modern phpstan
# https://github.com/thecodingmachine/phpstan-strict-rules/issues/66
# - vendor/thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon
- phar://phpstan.phar/conf/bleedingEdge.neon

parameters:
Expand Down

0 comments on commit 7b61043

Please sign in to comment.