Skip to content

Commit

Permalink
Update PHPStan and related packages (#431)
Browse files Browse the repository at this point in the history
Also downgrade to level 9, because the new max is level 10 and that needs some more work to comply with it.

 - phpstan/phpstan updated from 1.12.10 to 2.0.1 major
   See changes: phpstan/[email protected]
   Release notes: https://github.com/phpstan/phpstan/releases/tag/2.0.1

 - phpstan/phpstan-deprecation-rules updated from 1.2.1 to 2.0.0 major
   See changes: phpstan/[email protected]
   Release notes: https://github.com/phpstan/phpstan-deprecation-rules/releases/tag/2.0.0

 - phpstan/phpstan-nette updated from 1.3.8 to 2.0.0 major
   See changes: phpstan/[email protected]
   Release notes: https://github.com/phpstan/phpstan-nette/releases/tag/2.0.0

 - spaze/phpstan-disallowed-calls updated from v3.5.1 to v4.0.0 major
   See changes: spaze/[email protected]
   Release notes: https://github.com/spaze/phpstan-disallowed-calls/releases/tag/v4.0.0

 - spaze/phpstan-disallowed-calls-nette updated from v2.0.2 to v3.0.0 major
   See changes: spaze/[email protected]
   Release notes: https://github.com/spaze/phpstan-disallowed-calls-nette/releases/tag/v3.0.0
  • Loading branch information
spaze authored Nov 11, 2024
2 parents 0b48db4 + baa344f commit 646aed3
Show file tree
Hide file tree
Showing 107 changed files with 796 additions and 643 deletions.
10 changes: 5 additions & 5 deletions app/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,16 @@
"nette/tester": "^2.4.3",
"php-parallel-lint/php-console-highlighter": "^1.0",
"php-parallel-lint/php-parallel-lint": "^1.3.2",
"phpstan/phpstan": "^1.10.50",
"phpstan/phpstan-deprecation-rules": "^1.1.1",
"phpstan/phpstan-nette": "^1.2.1",
"phpstan/phpstan": "^2.0",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-nette": "^2.0",
"psalm/phar": "^5.14",
"roave/security-advisories": "dev-latest",
"shipmonk/composer-dependency-analyser": "^1.3",
"spaze/coding-standard": "^1.7.1",
"spaze/phpcs-phar": "^3.8",
"spaze/phpstan-disallowed-calls": "^3.0",
"spaze/phpstan-disallowed-calls-nette": "^2.0.1"
"spaze/phpstan-disallowed-calls": "^4.0",
"spaze/phpstan-disallowed-calls-nette": "^3.0"
},
"config": {
"sort-packages": true
Expand Down
92 changes: 46 additions & 46 deletions app/composer.lock

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

2 changes: 1 addition & 1 deletion app/phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ parameters:
fileExtensions:
- php
- phpt
level: max
level: 9
checkMissingOverrideMethodAttribute: true

includes:
Expand Down
Loading

0 comments on commit 646aed3

Please sign in to comment.