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.2.14",
"phpstan/phpstan": "^2.2.16",
"phpstan/extension-installer": "^1.4.3",
"phpstan/phpstan-strict-rules": "^2.0.12",
"ergebnis/phpstan-rules": "^2.13.1"
"ergebnis/phpstan-rules": "^2.14.0"
},
"config": {
"allow-plugins": {
Expand Down
43 changes: 24 additions & 19 deletions tools/.phpstan/composer.lock

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

45 changes: 25 additions & 20 deletions tools/.phpstan/vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,48 +2,53 @@
"packages": [
{
"name": "ergebnis/phpstan-rules",
"version": "2.13.1",
"version_normalized": "2.13.1.0",
"version": "2.14.0",
"version_normalized": "2.14.0.0",
"source": {
"type": "git",
"url": "https://github.com/ergebnis/phpstan-rules.git",
"reference": "f69db86b98595c34fc1f61c89fe3b380141aa519"
"reference": "04fac7195113fd33d35c01060cc09e03542494d5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/ergebnis/phpstan-rules/zipball/f69db86b98595c34fc1f61c89fe3b380141aa519",
"reference": "f69db86b98595c34fc1f61c89fe3b380141aa519",
"url": "https://api.github.com/repos/ergebnis/phpstan-rules/zipball/04fac7195113fd33d35c01060cc09e03542494d5",
"reference": "04fac7195113fd33d35c01060cc09e03542494d5",
"shasum": ""
},
"require": {
"ext-mbstring": "*",
"php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
"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"
},
"require-dev": {
"codeception/codeception": "^4.0.0 || ^5.0.0",
"doctrine/orm": "^2.20.0 || ^3.3.0",
"ergebnis/composer-normalize": "^2.49.0",
"ergebnis/composer-normalize": "^2.53.0",
"ergebnis/license": "^2.7.0",
"ergebnis/php-cs-fixer-config": "^6.59.0",
"ergebnis/phpunit-slow-test-detector": "^2.20.0",
"ergebnis/php-cs-fixer-config": "^6.63.2",
"ergebnis/phpunit-slow-test-detector": "^2.25.0",
"ergebnis/rector-rules": "^1.18.3",
"fakerphp/faker": "^1.24.1",
"phpstan/extension-installer": "^1.4.3",
"phpstan/phpstan-deprecation-rules": "^2.0.3",
"phpstan/phpstan-phpunit": "^2.0.12",
"phpstan/phpstan-strict-rules": "^2.0.8",
"phpunit/phpunit": "^9.6.21",
"phpstan/phpstan-deprecation-rules": "^2.0.5",
"phpstan/phpstan-phpunit": "^2.0.18",
"phpstan/phpstan-strict-rules": "^2.0.12",
"phpunit/phpunit": "^9.6.33",
"psr/container": "^2.0.2",
"rector/rector": "^2.3.8",
"symfony/finder": "^5.4.45",
"symfony/process": "^5.4.47"
"symfony/process": "^5.4.51"
},
"time": "2026-01-27T17:13:06+00:00",
"time": "2026-09-24T19:43:19+00:00",
"type": "phpstan-extension",
"extra": {
"phpstan": {
"includes": [
"rules.neon"
]
},
"branch-alias": {
"dev-main": "2.14-dev"
}
},
"installation-source": "dist",
Expand Down Expand Up @@ -129,12 +134,12 @@
},
{
"name": "phpstan/phpstan",
"version": "2.2.14",
"version_normalized": "2.2.14.0",
"version": "2.2.16",
"version_normalized": "2.2.16.0",
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/9c672e7a8e791dfc3d30e55f683e73fc0b63a3ac",
"reference": "9c672e7a8e791dfc3d30e55f683e73fc0b63a3ac",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/46a6d9060e5a7763adfcc21ebcb8b504ebdbcb92",
"reference": "46a6d9060e5a7763adfcc21ebcb8b504ebdbcb92",
"shasum": ""
},
"require": {
Expand All @@ -143,7 +148,7 @@
"conflict": {
"phpstan/phpstan-shim": "*"
},
"time": "2026-09-12T21:39:33+00:00",
"time": "2026-09-25T09:31:51+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' => '7.0.x-dev',
'version' => '7.0.9999999.9999999-dev',
'reference' => 'd64689464707761cc64e7480a524885659d7028e',
'reference' => '34425ebbdcb714e35201869ba5b04333cad6a55d',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand All @@ -13,16 +13,16 @@
'__root__' => array(
'pretty_version' => '7.0.x-dev',
'version' => '7.0.9999999.9999999-dev',
'reference' => 'd64689464707761cc64e7480a524885659d7028e',
'reference' => '34425ebbdcb714e35201869ba5b04333cad6a55d',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'dev_requirement' => false,
),
'ergebnis/phpstan-rules' => array(
'pretty_version' => '2.13.1',
'version' => '2.13.1.0',
'reference' => 'f69db86b98595c34fc1f61c89fe3b380141aa519',
'pretty_version' => '2.14.0',
'version' => '2.14.0.0',
'reference' => '04fac7195113fd33d35c01060cc09e03542494d5',
'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.2.14',
'version' => '2.2.14.0',
'reference' => '9c672e7a8e791dfc3d30e55f683e73fc0b63a3ac',
'pretty_version' => '2.2.16',
'version' => '2.2.16.0',
'reference' => '46a6d9060e5a7763adfcc21ebcb8b504ebdbcb92',
'type' => 'library',
'install_path' => __DIR__ . '/../phpstan/phpstan',
'aliases' => array(),
Expand Down
33 changes: 26 additions & 7 deletions tools/.phpstan/vendor/ergebnis/phpstan-rules/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## Unreleased

For a full diff see [`2.13.1...main`][2.13.1...main].
For a full diff see [`2.14.0...main`][2.14.0...main].

## [`2.14.0`][2.14.0]

For a full diff see [`2.13.1...2.14.0`][2.13.1...2.14.0].

### Changed

- Allowed installation on PHP 8.6 ([#1101]), by [@localheinz]

### Fixed

- Adjusted `Functions\NoParameterPassedByReferenceRule` to use the appropriate error identifier ([#1036]), by [@Legend999]

## [`2.13.1`][2.13.1]

Expand Down Expand Up @@ -217,9 +229,9 @@ For a full diff see [`1.0.0...2.0.0`][1.0.0...2.0.0].

### Added

- Added `methodsAllowedToUseContainerTypeDeclarations` parameter to allow configuring a list of method names that are allowed to have container parameter type declarations ([#541), by [@localheinz]
- Allowed disabling rules ([#542), by [@localheinz]
- Added support for nullable union types ([#543), by [@localheinz]
- Added `methodsAllowedToUseContainerTypeDeclarations` parameter to allow configuring a list of method names that are allowed to have container parameter type declarations ([#541]), by [@localheinz]
- Allowed disabling rules ([#542]), by [@localheinz]
- Added support for nullable union types ([#543]), by [@localheinz]

### Changed

Expand Down Expand Up @@ -420,7 +432,7 @@ For a full diff see [`0.10.0...0.11.0`][0.10.0...0.11.0].

### Added

- Added `Files\DeclareStrictTypesRule`, which reports an error when a PHP file does not have a `declare(strict_types=1)` declaration ([#79]
- Added `Files\DeclareStrictTypesRule`, which reports an error when a PHP file does not have a `declare(strict_types=1)` declaration ([#79]), by [@dmecke]
- Added `Expressions\NoEmptyRule`, which reports an error when the language construct `empty()` is used ([#110]), by [@localheinz]
- Added `Expressions\NoEvalRule`, which reports an error when the language construct `eval()` is used ([#112]), by [@localheinz]
- Added `Expressions\NoErrorSuppressionRule`, which reports an error when `@` is used to suppress errors ([#113]), by [@localheinz]
Expand Down Expand Up @@ -662,7 +674,9 @@ For a full diff see [`362c7ea...0.1.0`][362c7ea...0.1.0].
[2.11.0...2.12.0]: https://github.com/ergebnis/phpstan-rules/compare/2.11.0...2.12.0
[2.12.0...2.13.0]: https://github.com/ergebnis/phpstan-rules/compare/2.12.0...2.13.0
[2.13.0...2.13.1]: https://github.com/ergebnis/phpstan-rules/compare/2.13.0...2.13.1
[2.13.1...main]: https://github.com/ergebnis/phpstan-rules/compare/2.13.1...main
[2.13.1...2.14.0]: https://github.com/ergebnis/phpstan-rules/compare/2.13.1...2.14.0
[2.14.0]: https://github.com/ergebnis/phpstan-rules/releases/tag/2.14.0
[2.14.0...main]: https://github.com/ergebnis/phpstan-rules/compare/2.14.0...main

[#1]: https://github.com/ergebnis/phpstan-rules/pull/1
[#4]: https://github.com/ergebnis/phpstan-rules/pull/4
Expand Down Expand Up @@ -720,13 +734,14 @@ For a full diff see [`362c7ea...0.1.0`][362c7ea...0.1.0].
[#396]: https://github.com/ergebnis/phpstan-rules/pull/396
[#496]: https://github.com/ergebnis/phpstan-rules/pull/496
[#498]: https://github.com/ergebnis/phpstan-rules/pull/498
[#499]: https://github.com/ergebnis/phpstan-rules/pull/498
[#499]: https://github.com/ergebnis/phpstan-rules/pull/499
[#525]: https://github.com/ergebnis/phpstan-rules/pull/525
[#540]: https://github.com/ergebnis/phpstan-rules/pull/540
[#541]: https://github.com/ergebnis/phpstan-rules/pull/541
[#542]: https://github.com/ergebnis/phpstan-rules/pull/542
[#543]: https://github.com/ergebnis/phpstan-rules/pull/543
[#567]: https://github.com/ergebnis/phpstan-rules/pull/567
[#604]: https://github.com/ergebnis/phpstan-rules/pull/604
[#735]: https://github.com/ergebnis/phpstan-rules/pull/735
[#862]: https://github.com/ergebnis/phpstan-rules/pull/862
[#863]: https://github.com/ergebnis/phpstan-rules/pull/863
Expand Down Expand Up @@ -763,11 +778,15 @@ For a full diff see [`362c7ea...0.1.0`][362c7ea...0.1.0].
[#1009]: https://github.com/ergebnis/phpstan-rules/pull/1009
[#1010]: https://github.com/ergebnis/phpstan-rules/pull/1010
[#1011]: https://github.com/ergebnis/phpstan-rules/pull/1011
[#1036]: https://github.com/ergebnis/phpstan-rules/pull/1036
[#1101]: https://github.com/ergebnis/phpstan-rules/pull/1101

[@cosmastech]: https://github.com/cosmastech
[@dmecke]: https://github.com/dmecke
[@enumag]: https://github.com/enumag
[@ergebnis]: https://github.com/ergebnis
[@Great-Antique]: https://github.com/Great-Antique
[@Legend999]: https://github.com/Legend999
[@localheinz]: https://github.com/localheinz
[@manuelkiessling]: https://github.com/manuelkiessling
[@nunomaduro]: https://github.com/nunomaduro
Expand Down
22 changes: 15 additions & 7 deletions tools/.phpstan/vendor/ergebnis/phpstan-rules/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# phpstan-rules

[![Integrate](https://github.com/ergebnis/phpstan-rules/workflows/Integrate/badge.svg)](https://github.com/ergebnis/phpstan-rules/actions)
[![Merge](https://github.com/ergebnis/phpstan-rules/workflows/Merge/badge.svg)](https://github.com/ergebnis/phpstan-rules/actions)
[![Release](https://github.com/ergebnis/phpstan-rules/workflows/Release/badge.svg)](https://github.com/ergebnis/phpstan-rules/actions)
[![Renew](https://github.com/ergebnis/phpstan-rules/workflows/Renew/badge.svg)](https://github.com/ergebnis/phpstan-rules/actions)
[![Integrate](https://github.com/ergebnis/phpstan-rules/actions/workflows/integrate.yaml/badge.svg?branch=main)](https://github.com/ergebnis/phpstan-rules/actions/workflows/integrate.yaml)
[![Merge](https://github.com/ergebnis/phpstan-rules/actions/workflows/merge.yaml/badge.svg)](https://github.com/ergebnis/phpstan-rules/actions/workflows/merge.yaml)
[![Release](https://github.com/ergebnis/phpstan-rules/actions/workflows/release.yaml/badge.svg)](https://github.com/ergebnis/phpstan-rules/actions/workflows/release.yaml)
[![Renew](https://github.com/ergebnis/phpstan-rules/actions/workflows/renew.yaml/badge.svg)](https://github.com/ergebnis/phpstan-rules/actions/workflows/renew.yaml)

[![Code Coverage](https://codecov.io/gh/ergebnis/phpstan-rules/branch/main/graph/badge.svg)](https://codecov.io/gh/ergebnis/phpstan-rules)

[![Latest Stable Version](https://poser.pugx.org/ergebnis/phpstan-rules/v/stable)](https://packagist.org/packages/ergebnis/phpstan-rules)
[![Total Downloads](https://poser.pugx.org/ergebnis/phpstan-rules/downloads)](https://packagist.org/packages/ergebnis/phpstan-rules)
[![Monthly Downloads](http://poser.pugx.org/ergebnis/phpstan-rules/d/monthly)](https://packagist.org/packages/ergebnis/phpstan-rules)
[![Monthly Downloads](https://poser.pugx.org/ergebnis/phpstan-rules/d/monthly)](https://packagist.org/packages/ergebnis/phpstan-rules)

This project provides a [`composer`](https://getcomposer.org) package with rules for [`phpstan/phpstan`](https://github.com/phpstan/phpstan).

Expand Down Expand Up @@ -755,9 +755,17 @@ You can support the maintenance of this project by [sponsoring @ergebnis](https:

## PHP Version Support Policy

This project supports PHP versions with [active and security support](https://www.php.net/supported-versions.php).
This project currently supports the following PHP versions:

The maintainers of this project add support for a PHP version following its initial release and drop support for a PHP version when it has reached the end of security support.
- [PHP 7.4](https://www.php.net/releases/#7.4.0) (has reached its end of life on November 28, 2022)
- [PHP 8.0](https://www.php.net/releases/#8.0.0) (has reached its end of life on November 26, 2023)
- [PHP 8.1](https://www.php.net/releases/#8.1.0) (has reached its end of life on December 31, 2025)
- [PHP 8.2](https://www.php.net/releases/#8.2.0)
- [PHP 8.3](https://www.php.net/releases/#8.3.0)
- [PHP 8.4](https://www.php.net/releases/#8.4.0)
- [PHP 8.5](https://www.php.net/releases/#8.5.0)

The maintainers of this project add support for a PHP version following its initial release and _may_ drop support for a PHP version when it has reached its [end of life](https://www.php.net/supported-versions.php).

## Security Policy

Expand Down
Loading
Loading