Skip to content

Commit

Permalink
Enhancement: Add support for phpstan/phpstan:^2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Dec 13, 2024
1 parent 0f0e543 commit 0a95b1a
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 34 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

For a full diff see [`2.5.0...main`][2.5.0...main].

### Added

- Added support for `phpstan/phpstan:^2.0.0` ([#873]), by [@localheinz]

### Fixed

- Returned rule with error identifier ([#882]), by [@localheinz]
Expand Down Expand Up @@ -545,6 +549,7 @@ For a full diff see [`362c7ea...0.1.0`][362c7ea...0.1.0].
[#735]: https://github.com/ergebnis/phpstan-rules/pull/735
[#862]: https://github.com/ergebnis/phpstan-rules/pull/862
[#872]: https://github.com/ergebnis/phpstan-rules/pull/872
[#873]: https://github.com/ergebnis/phpstan-rules/pull/873
[#875]: https://github.com/ergebnis/phpstan-rules/pull/875
[#877]: https://github.com/ergebnis/phpstan-rules/pull/877
[#878]: https://github.com/ergebnis/phpstan-rules/pull/878
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"require": {
"php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
"ext-mbstring": "*",
"phpstan/phpstan": "^1.10.21"
"phpstan/phpstan": "^2.0.0"
},
"require-dev": {
"doctrine/orm": "^2.20.0 || ^3.3.0",
Expand All @@ -33,8 +33,8 @@
"ergebnis/phpunit-slow-test-detector": "^2.17.0",
"nette/di": "^3.1.10",
"nikic/php-parser": "^4.19.4",
"phpstan/phpstan-deprecation-rules": "^1.2.1",
"phpstan/phpstan-strict-rules": "^1.6.1",
"phpstan/phpstan-deprecation-rules": "^2.0.1",
"phpstan/phpstan-strict-rules": "^2.0.0",
"phpunit/phpunit": "^9.6.21",
"psr/container": "^2.0.2",
"symfony/process": "^5.4.47"
Expand Down
61 changes: 30 additions & 31 deletions composer.lock

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

0 comments on commit 0a95b1a

Please sign in to comment.