Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tools/.phpstan/composer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"require-dev": {
"phpstan/phpstan": "^2.3.3",
"phpstan/phpstan": "^2.3.4",
"phpstan/extension-installer": "^1.4.3",
"phpstan/phpstan-strict-rules": "^2.1.0",
"ergebnis/phpstan-rules": "^2.14.2"
"ergebnis/phpstan-rules": "^2.16.0"
},
"config": {
"allow-plugins": {
Expand Down
27 changes: 14 additions & 13 deletions tools/.phpstan/composer.lock

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

29 changes: 15 additions & 14 deletions tools/.phpstan/vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,21 @@
"packages": [
{
"name": "ergebnis/phpstan-rules",
"version": "2.14.2",
"version_normalized": "2.14.2.0",
"version": "2.16.0",
"version_normalized": "2.16.0.0",
"source": {
"type": "git",
"url": "https://github.com/ergebnis/phpstan-rules.git",
"reference": "a8d8695a4197b79f74e1ed1353ef52c41578c0ab"
"reference": "e123a05ffb337670f9f65fff3c3f25517d3d888e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/ergebnis/phpstan-rules/zipball/a8d8695a4197b79f74e1ed1353ef52c41578c0ab",
"reference": "a8d8695a4197b79f74e1ed1353ef52c41578c0ab",
"url": "https://api.github.com/repos/ergebnis/phpstan-rules/zipball/e123a05ffb337670f9f65fff3c3f25517d3d888e",
"reference": "e123a05ffb337670f9f65fff3c3f25517d3d888e",
"shasum": ""
},
"require": {
"composer-runtime-api": "^2.0.0",
"ext-mbstring": "*",
"php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0 || ~8.6.0",
"phpstan/phpstan": "^2.1.35"
Expand All @@ -31,15 +32,15 @@
"fakerphp/faker": "^1.24.1",
"phpstan/extension-installer": "^1.4.3",
"phpstan/phpstan-deprecation-rules": "^2.0.5",
"phpstan/phpstan-phpunit": "^2.0.21",
"phpstan/phpstan-phpunit": "^2.1.1",
"phpstan/phpstan-strict-rules": "^2.1.0",
"phpunit/phpunit": "^9.6.33",
"psr/container": "^2.0.2",
"rector/rector": "^2.3.8",
"rector/rector": "^2.7.0",
"symfony/finder": "^5.4.45",
"symfony/process": "^5.4.51"
},
"time": "2026-10-16T14:36:23+00:00",
"time": "2026-10-28T23:53:24+00:00",
"type": "phpstan-extension",
"extra": {
"phpstan": {
Expand All @@ -48,7 +49,7 @@
]
},
"branch-alias": {
"dev-main": "2.14-dev"
"dev-main": "2.16-dev"
}
},
"installation-source": "dist",
Expand Down Expand Up @@ -134,12 +135,12 @@
},
{
"name": "phpstan/phpstan",
"version": "2.3.3",
"version_normalized": "2.3.3.0",
"version": "2.3.4",
"version_normalized": "2.3.4.0",
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/4b57dc8ca7456b635d1661845f44bc060b02c6b0",
"reference": "4b57dc8ca7456b635d1661845f44bc060b02c6b0",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/f20ce6f3c82556cfcfc086b152445a12d1d64fff",
"reference": "f20ce6f3c82556cfcfc086b152445a12d1d64fff",
"shasum": ""
},
"require": {
Expand All @@ -148,7 +149,7 @@
"conflict": {
"phpstan/phpstan-shim": "*"
},
"time": "2026-10-27T14:06:26+00:00",
"time": "2026-10-28T22:38:53+00:00",
"bin": [
"phpstan",
"phpstan.phar"
Expand Down
16 changes: 8 additions & 8 deletions tools/.phpstan/vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => '12.5.x-dev',
'version' => '12.5.9999999.9999999-dev',
'reference' => 'b0c54e77d738d49ccbb6557237cbdcbbfe764aac',
'reference' => '2cc8652737350890f4798ad243b4b02a6fa52ac0',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand All @@ -13,16 +13,16 @@
'__root__' => array(
'pretty_version' => '12.5.x-dev',
'version' => '12.5.9999999.9999999-dev',
'reference' => 'b0c54e77d738d49ccbb6557237cbdcbbfe764aac',
'reference' => '2cc8652737350890f4798ad243b4b02a6fa52ac0',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'dev_requirement' => false,
),
'ergebnis/phpstan-rules' => array(
'pretty_version' => '2.14.2',
'version' => '2.14.2.0',
'reference' => 'a8d8695a4197b79f74e1ed1353ef52c41578c0ab',
'pretty_version' => '2.16.0',
'version' => '2.16.0.0',
'reference' => 'e123a05ffb337670f9f65fff3c3f25517d3d888e',
'type' => 'phpstan-extension',
'install_path' => __DIR__ . '/../ergebnis/phpstan-rules',
'aliases' => array(),
Expand All @@ -38,9 +38,9 @@
'dev_requirement' => true,
),
'phpstan/phpstan' => array(
'pretty_version' => '2.3.3',
'version' => '2.3.3.0',
'reference' => '4b57dc8ca7456b635d1661845f44bc060b02c6b0',
'pretty_version' => '2.3.4',
'version' => '2.3.4.0',
'reference' => 'f20ce6f3c82556cfcfc086b152445a12d1d64fff',
'type' => 'library',
'install_path' => __DIR__ . '/../phpstan/phpstan',
'aliases' => array(),
Expand Down
51 changes: 49 additions & 2 deletions tools/.phpstan/vendor/ergebnis/phpstan-rules/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,37 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## Unreleased

For a full diff see [`2.14.2...main`][2.14.2...main].
For a full diff see [`2.16.0...main`][2.16.0...main].

## [`2.16.0`][2.16.0]

For a full diff see [`2.15.0...2.16.0`][2.15.0...2.16.0].

### Added

- Added `PropertyHooks\NoReturnByReferenceRule`, which reports an error when a property hook returns by reference ([#915]), by [@localheinz]
- Added `PropertyHooks\NoParameterWithNullableTypeDeclarationRule`, which reports an error when a property hook has a parameter with a nullable type declaration ([#1154]), by [@localheinz]
- Added documentation for every rule in `doc/rules/`, generated from the definitions of the rules ([#1156]), by [@localheinz]
- Added a rationale to the documentation of every rule and a tip with a link to the documentation to every error reported by a rule, which requires `composer-runtime-api:^2.0.0` ([#1158]), by [@localheinz]
- Added code samples to the documentation of every rule ([#1159]), by [@localheinz]
- Added an `ignoreDoctrineEntities` parameter to `Classes\FinalRule` and `Methods\FinalInAbstractClassRule`, which allow requiring Doctrine entities to be `final` when using native lazy objects ([#1162]), by [@localheinz]

### Fixed

- Adjusted `CallLikes\NoNamedArgumentRule` to report named arguments instead of causing an internal error when the invoked method cannot be resolved ([#959]), by [@localheinz]
- Adjusted the descriptions of rules for methods to match the descriptions of the corresponding rules for arrow functions, closures, and functions ([#1160]), by [@localheinz]
- Adjusted `Methods\FinalInAbstractClassRule` to no longer ignore Doctrine embeddables, which Doctrine does not extend ([#1163]), by [@localheinz]

## [`2.15.0`][2.15.0]

For a full diff see [`2.14.2...2.15.0`][2.14.2...2.15.0].

### Added

- Added `ArrowFunctions\NoNullableReturnTypeDeclarationRule`, which reports an error when an arrow function has a nullable return type declaration ([#1146]), by [@localheinz]
- Added `ArrowFunctions\NoParameterWithNullableTypeDeclarationRule`, which reports an error when an arrow function has a parameter with a nullable type declaration ([#1149]), by [@localheinz]
- Added `ArrowFunctions\NoParameterWithNullDefaultValueRule`, which reports an error when an arrow function has a parameter with `null` as default value ([#1150]), by [@localheinz]
- Added `ArrowFunctions\NoParameterPassedByReferenceRule`, which reports an error when an arrow function has a parameter that is passed by reference ([#1151]), by [@localheinz]

## [`2.14.2`][2.14.2]

Expand Down Expand Up @@ -696,7 +726,11 @@ For a full diff see [`362c7ea...0.1.0`][362c7ea...0.1.0].
[2.14.1]: https://github.com/ergebnis/phpstan-rules/releases/tag/2.14.1
[2.14.1...2.14.2]: https://github.com/ergebnis/phpstan-rules/compare/2.14.1...2.14.2
[2.14.2]: https://github.com/ergebnis/phpstan-rules/releases/tag/2.14.2
[2.14.2...main]: https://github.com/ergebnis/phpstan-rules/compare/2.14.2...main
[2.14.2...2.15.0]: https://github.com/ergebnis/phpstan-rules/compare/2.14.2...2.15.0
[2.15.0]: https://github.com/ergebnis/phpstan-rules/releases/tag/2.15.0
[2.15.0...2.16.0]: https://github.com/ergebnis/phpstan-rules/compare/2.15.0...2.16.0
[2.16.0]: https://github.com/ergebnis/phpstan-rules/releases/tag/2.16.0
[2.16.0...main]: https://github.com/ergebnis/phpstan-rules/compare/2.16.0...main

[#1]: https://github.com/ergebnis/phpstan-rules/pull/1
[#4]: https://github.com/ergebnis/phpstan-rules/pull/4
Expand Down Expand Up @@ -782,6 +816,7 @@ For a full diff see [`362c7ea...0.1.0`][362c7ea...0.1.0].
[#912]: https://github.com/ergebnis/phpstan-rules/pull/912
[#913]: https://github.com/ergebnis/phpstan-rules/pull/913
[#914]: https://github.com/ergebnis/phpstan-rules/pull/914
[#915]: https://github.com/ergebnis/phpstan-rules/pull/915
[#938]: https://github.com/ergebnis/phpstan-rules/pull/938
[#939]: https://github.com/ergebnis/phpstan-rules/pull/939
[#940]: https://github.com/ergebnis/phpstan-rules/pull/940
Expand All @@ -793,6 +828,7 @@ For a full diff see [`362c7ea...0.1.0`][362c7ea...0.1.0].
[#951]: https://github.com/ergebnis/phpstan-rules/pull/951
[#957]: https://github.com/ergebnis/phpstan-rules/pull/957
[#958]: https://github.com/ergebnis/phpstan-rules/pull/958
[#959]: https://github.com/ergebnis/phpstan-rules/pull/959
[#972]: https://github.com/ergebnis/phpstan-rules/pull/972
[#977]: https://github.com/ergebnis/phpstan-rules/pull/977
[#1009]: https://github.com/ergebnis/phpstan-rules/pull/1009
Expand All @@ -802,6 +838,17 @@ For a full diff see [`362c7ea...0.1.0`][362c7ea...0.1.0].
[#1101]: https://github.com/ergebnis/phpstan-rules/pull/1101
[#1139]: https://github.com/ergebnis/phpstan-rules/pull/1139
[#1140]: https://github.com/ergebnis/phpstan-rules/pull/1140
[#1146]: https://github.com/ergebnis/phpstan-rules/pull/1146
[#1149]: https://github.com/ergebnis/phpstan-rules/pull/1149
[#1150]: https://github.com/ergebnis/phpstan-rules/pull/1150
[#1151]: https://github.com/ergebnis/phpstan-rules/pull/1151
[#1154]: https://github.com/ergebnis/phpstan-rules/pull/1154
[#1156]: https://github.com/ergebnis/phpstan-rules/pull/1156
[#1158]: https://github.com/ergebnis/phpstan-rules/pull/1158
[#1159]: https://github.com/ergebnis/phpstan-rules/pull/1159
[#1160]: https://github.com/ergebnis/phpstan-rules/pull/1160
[#1162]: https://github.com/ergebnis/phpstan-rules/pull/1162
[#1163]: https://github.com/ergebnis/phpstan-rules/pull/1163

[@alfredbez]: https://github.com/alfredbez
[@cosmastech]: https://github.com/cosmastech
Expand Down
Loading
Loading