Skip to content

Commit

Permalink
Update phpstan/phpstan requirement from ^1.12 to ^2.0 (#76)
Browse files Browse the repository at this point in the history
* Update phpstan/phpstan requirement from ^1.12 to ^2.0

Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/2.0.x/CHANGELOG.md)
- [Commits](phpstan/phpstan@1.12.0...2.0.3)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

* Drop obsolete config params

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tamás Szigeti <[email protected]>
  • Loading branch information
dependabot[bot] and TamasSzigeti authored Dec 1, 2024
1 parent 5a215e7 commit 822bd99
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"require-dev": {
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^1.12",
"phpstan/phpstan": "^2.0",
"phpunit/phpunit": "^10.5",
"motley/ecs-config": "^2.1",
"symfony/var-dumper": "^6.4"
Expand Down
3 changes: 0 additions & 3 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ parameters:
level: max
polluteScopeWithLoopInitialAssignments: false
polluteScopeWithAlwaysIterableForeach: false
checkAlwaysTrueCheckTypeFunctionCall: true
checkAlwaysTrueInstanceof: true
checkAlwaysTrueStrictComparison: true
checkExplicitMixedMissingReturn: true
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
Expand Down

0 comments on commit 822bd99

Please sign in to comment.