Skip to content

Commit

Permalink
Merge pull request #381 from rpkamp/phpstan-1.0
Browse files Browse the repository at this point in the history
Bump support for PHPStan to version 1.0
  • Loading branch information
localheinz authored Nov 8, 2021
2 parents 7f5cdd1 + a13fee6 commit c96284a
Show file tree
Hide file tree
Showing 11 changed files with 2,199 additions and 2,388 deletions.
6 changes: 6 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 [`0.15.3...main`][0.15.3...main].

### Changed

* Added support for `phpstan/phpstan:^1.0.0` and dropped support for non-stable versions of `phpstan/phpstan` ([#381]), by [@rpkamp]

## [`0.15.3`][0.15.3]

For a full diff see [`0.15.2...0.15.3`][0.15.2...0.15.3].
Expand Down Expand Up @@ -431,8 +435,10 @@ For a full diff see [`362c7ea...0.1.0`][362c7ea...0.1.0].
[#248]: https://github.com/ergebnis/phpstan-rules/pull/248
[#259]: https://github.com/ergebnis/phpstan-rules/pull/259
[#294]: https://github.com/ergebnis/phpstan-rules/pull/294
[#381]: https://github.com/ergebnis/phpstan-rules/pull/381

[@ergebnis]: https://github.com/ergebnis
[@Great-Antique]: https://github.com/Great-Antique
[@localheinz]: https://github.com/localheinz
[@rpkamp]: https://github.com/rpkamp
[@Slamdunk]: https://github.com/Slamdunk
8 changes: 7 additions & 1 deletion composer-require-checker.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
"static",
"string",
"true",
"void"
"void",
"PHPStan\\Analyser\\Scope",
"PHPStan\\Node\\FileNode",
"PHPStan\\Reflection\\ClassReflection",
"PHPStan\\Reflection\\ReflectionProvider",
"PHPStan\\Rules\\Rule",
"PHPStan\\ShouldNotHappenException"
]
}
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"php": "^7.2 || ^8.0",
"ext-mbstring": "*",
"nikic/php-parser": "^4.2.3",
"phpstan/phpstan": "~0.11.15 || ~0.12.0"
"phpstan/phpstan": "^1.0.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.15.0",
Expand All @@ -28,8 +28,8 @@
"ergebnis/test-util": "^1.5.0",
"infection/infection": "~0.15.3",
"nette/di": "^3.0.1",
"phpstan/phpstan-deprecation-rules": "~0.11.2",
"phpstan/phpstan-strict-rules": "~0.11.1",
"phpstan/phpstan-deprecation-rules": "^1.0.0",
"phpstan/phpstan-strict-rules": "^1.0.0",
"phpunit/phpunit": "^8.5.21",
"psalm/plugin-phpunit": "~0.12.2",
"psr/container": "^1.0.0",
Expand Down
Loading

0 comments on commit c96284a

Please sign in to comment.