rector/rules-tests
Abdul Malik Ikhsan ef4267ebf0
[PSR4] Handle invalid missing ; on NormalizeNamespaceByPSR4ComposerAutoloadRector with GroupUse (#2485)
* [PSR4] Handle invalid missing ; on NormalizeNamespaceByPSR4ComposerAutoloadRector with GroupUse and alias

* Fixed 🎉

* [ci-review] Rector Rectify

* more example

* fixture update

* final touch: add example for normal use

Co-authored-by: GitHub Action <action@github.com>
2022-06-13 13:47:04 +02:00
..
Arguments/Rector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
CodeQuality/Rector [CodeQuality] Add empty array support to InlineArrayReturnAssignRector (#2397) 2022-05-31 07:42:03 +00:00
CodingStyle [CodingStyle] Skip non-empty-string on VarConstantCommentRector (#2451) 2022-06-09 08:09:34 +02:00
Compatibility/Rector/Class_/AttributeCompatibleAnnotationRector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
Composer/Rector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
DeadCode/Rector [DeadCode] Skip has return reassign Coalesce Op on RemoveUnusedPrivatePropertyRector (#2477) 2022-06-11 15:58:17 +02:00
DependencyInjection/Rector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
DogFood/Rector/Closure/UpgradeRectorConfigRector [DogFood] Skip call(configure) on UpgradeRectorConfigRector (#2119) 2022-04-22 00:43:09 +02:00
DowngradePhp53/Rector/Dir/DirConstToFileConstRector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
DowngradePhp54/Rector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
DowngradePhp55/Rector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
DowngradePhp56/Rector Decouple aliased object type specifier + updgrade to PHPStan 1.6 (#2170) 2022-04-26 11:42:01 +02:00
DowngradePhp70/Rector Remove requires from tests, as all tests run on PHP 8.1 (#2293) 2022-05-12 00:15:54 +02:00
DowngradePhp71/Rector Remove requires from tests, as all tests run on PHP 8.1 (#2293) 2022-05-12 00:15:54 +02:00
DowngradePhp72/Rector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
DowngradePhp73/Rector Remove requires from tests, as all tests run on PHP 8.1 (#2293) 2022-05-12 00:15:54 +02:00
DowngradePhp74/Rector Use php-parser to work with literal _ number separator (#2321) 2022-05-31 21:09:06 +00:00
DowngradePhp80/Rector [Downgrade] Add class method param to DowngradeEnumToConstantListClassRector (#2417) 2022-06-02 15:08:06 +02:00
DowngradePhp81/Rector [DowngradePhp81] Handle crash parent Arg is missing scope on DowngradeFirstClassCallableSyntaxRector (#2386) 2022-05-29 18:06:08 +02:00
DowngradePhp82/Rector/Class_/DowngradeReadonlyClassRector [DowngradePhp82] Add DowngradeReadonlyClassRector to downgrade readonly class (#2322) 2022-05-31 23:20:12 +02:00
EarlyReturn/Rector Add Scope refresh for changed or new nodes (#2292) 2022-05-12 08:33:27 +02:00
MysqlToMysqli [PHPStan] Update to PHPStan ^1.7.0 (#2354) 2022-05-24 19:55:12 +07:00
Naming [Experiment][Naming] Keep GroupUse Stmt on UseImportsResolver::resolveForNode() (#2349) 2022-05-22 22:57:59 +02:00
Php52/Rector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
Php53/Rector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
Php54/Rector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
Php55/Rector [Php55] Handle crash on concat variable single quote on PregReplaceEModifierRector (#2483) 2022-06-13 08:53:39 +02:00
Php56/Rector Remove requires from tests, as all tests run on PHP 8.1 (#2293) 2022-05-12 00:15:54 +02:00
Php70 [Php70] Handle crash on EregToPregMatchRector (#2460) 2022-06-09 11:41:42 +02:00
Php71/Rector [Core] Use PropertyFetchAnalyzer::isFilledViaMethodCallInConstructStmts() in ConstructorAssignDetector::isPropertyAssigned() (#2351) 2022-05-23 21:06:50 +07:00
Php72/Rector [Php72] Handle crash on PreInc usage on CreateFunctionToAnonymousFunctionRector (#2456) 2022-06-09 07:52:34 +00:00
Php73/Rector [Php73] Skip Encapsed on StringifyStrNeedlesRector + Temporary Pin PHPStan 1.6.9 (#2352) 2022-05-24 15:29:10 +07:00
Php74/Rector [Php74] Remove ReservedFnFunctionRector (#2447) 2022-06-07 08:34:00 +02:00
Php80/Rector [PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444) 2022-06-06 15:48:45 +00:00
Php81/Rector fix casing of enums 2022-06-13 11:04:14 +02:00
Php82/Rector/Class_/ReadOnlyClassRector [PHP 8.2] Skip readonly class on property without type in ReadOnlyClassRector (#2398) 2022-05-31 11:35:03 +00:00
Privatization Decouple aliased object type specifier + updgrade to PHPStan 1.6 (#2170) 2022-04-26 11:42:01 +02:00
PSR4 [PSR4] Handle invalid missing ; on NormalizeNamespaceByPSR4ComposerAutoloadRector with GroupUse (#2485) 2022-06-13 13:47:04 +02:00
Removing/Rector Revert adding RemoveNamespaceRector (#2133) 2022-04-23 12:05:46 +02:00
RemovingStatic/Rector/ClassMethod/LocallyCalledStaticMethodToNonStaticRector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00
Renaming/Rector [Renaming] Do not rename docblock same name not found in use inside namespace (#2471) 2022-06-11 13:54:13 +02:00
Restoration/Rector Remove requires from tests, as all tests run on PHP 8.1 (#2293) 2022-05-12 00:15:54 +02:00
Strict/Rector Decouple aliased object type specifier + updgrade to PHPStan 1.6 (#2170) 2022-04-26 11:42:01 +02:00
Transform/Rector [Transform] Skip different method on CallableInMethodCallToVariableRector (#2395) 2022-05-30 16:06:38 +02:00
TypeDeclaration [TypeDeclaration] Skip generic on ReturnTypeDeclarationRector (#2469) 2022-06-11 13:54:48 +02:00
Visibility/Rector [DX] Update to use Method Call from RectorConfig on rector configs ( rules-tests/ dir) (#2106) 2022-04-21 00:36:08 +07:00