rector/tests
Abdul Malik Ikhsan b48271e18f
[DowngradePhp82] Add DowngradeReadonlyClassRector to downgrade readonly class (#2322)
* [DowngradePhp82] Add DowngradeReadonlyClassRector to downgrade final readonly class

* apply readonly property promotion

* fixture

* phpstan

* [ci-review] Rector Rectify

* add DowngradeLevelSetList::DOWN_TO_PHP_81

* add test to ensure no flip-flop between add and removing readonly when downgrade to php 8.0

* more test

* more test

* combination test

* final touch: typo fix

* not property promotion

* static properties cannot be readonly

* static properties cannot be readonly

* note

* note

* note

* test

Co-authored-by: GitHub Action <action@github.com>
2022-05-31 23:20:12 +02:00
..
Application fix static 2022-05-29 20:49:14 +02:00
config [DX] Update to use Method Call from RectorConfig on rector configs (tests/ dir) (#2105) 2022-04-20 17:08:51 +00:00
Configuration/ValueObjectInliner [DX] Update to use Method Call from RectorConfig on rector configs (tests/ dir) (#2105) 2022-04-20 17:08:51 +00:00
DependencyInjection [DX] Update super old configure to RectorConfig (#2121) 2022-04-22 00:38:19 +02:00
Exclusion [DX] Update to use Method Call from RectorConfig on rector configs (tests/ dir) (#2105) 2022-04-20 17:08:51 +00:00
FileSystem/FilesFinder [DX] Add phpVersion() method to RectorConfig + make use of new config class in test configs (#2065) 2022-04-12 16:33:33 +02:00
Issues [DowngradePhp82] Add DowngradeReadonlyClassRector to downgrade readonly class (#2322) 2022-05-31 23:20:12 +02:00
Naming/ExpectedNameResolver fix: ignore specified words while making it singularized (#1222) 2021-11-13 09:12:27 +01:00
NonPhpFile/Rector/RenameClassNonPhpRector [DX] Update to use Method Call from RectorConfig on rector configs (tests/ dir) (#2105) 2022-04-20 17:08:51 +00:00
Php [DX] Add phpVersion() method to RectorConfig + make use of new config class in test configs (#2065) 2022-04-12 16:33:33 +02:00
PhpParser [DX] Update to use Method Call from RectorConfig on rector configs (tests/ dir) (#2105) 2022-04-20 17:08:51 +00:00
PhpUnit/MultipleFilesChangedTrait [DX] Update to use Method Call from RectorConfig on rector configs (tests/ dir) (#2105) 2022-04-20 17:08:51 +00:00
Validation [DX] Update to use Method Call from RectorConfig on rector configs (tests/ dir) (#2105) 2022-04-20 17:08:51 +00:00
bootstrap.php [Test] Remove PHPStanStubLoader::loadStubs() and require constants in tests bootstrap (#2228) 2022-05-04 20:43:35 +07:00