132 Commits

Author SHA1 Message Date
Tomas Votruba
65ad60c6e9 Updated Rector to commit 2623e6773c8e2f6dccb963caa794e23f56d0b3a3
2623e6773c Bump branch-alias from 0.10 to 0.11 (#723)
2021-08-20 10:06:28 +00:00
Tomas Votruba
c81e0916bc Updated Rector to commit 9f311dca009b4bd6ef7fbc3e57500197db41e50a
9f311dca00 Add failing test fixture for RemoveParentCallWithoutParentRector (#711)
2021-08-19 04:03:26 +00:00
Tomas Votruba
dd5ada968f Updated Rector to commit 582d1d385179c553375b679035602f9a84cebef7
582d1d3851 [Exclusion] Check Parent attribute is Node on ExclusionManager::isNodeSkippedByRector() (#712)
2021-08-18 09:22:43 +00:00
Tomas Votruba
898f0a5dac Updated Rector to commit c1b7a97ee115899e8805178e5f3c2ef8729b251f
c1b7a97ee1 [CodeQuality] Skip Child class of \DateTime on DateTimeToDateTimeInterfaceRector (#703)
2021-08-17 07:07:19 +00:00
Tomas Votruba
4d052b08f9 Updated Rector to commit 6cdfebe40c879a70173ff34e147553cf285db883
6cdfebe40c [Windows] Add platform agnostic asserts (#461)
2021-08-16 07:19:49 +00:00
Tomas Votruba
dc5c5507e9 Updated Rector to commit e9d11727179a04a8614b4c6370b22fa6d4c98da9
e9d1172717 [automated] Re-Generate Nodes/Rectors Documentation (#683)
2021-08-15 00:30:09 +00:00
Tomas Votruba
f353893d6d Updated Rector to commit bf038c60bdbccbac2582ac826466fb745249246a
bf038c60bd [Defluent] Fix test namespace for InArgFluentChainMethodCallToStandaloneMethodCallRector (#676)
2021-08-14 11:18:07 +00:00
Tomas Votruba
55cb627074 Updated Rector to commit 7b8f4deae245e3921afdaf2f7bf4a1927da311b4
7b8f4deae2 [CodeQuality] Skip FixClassCaseSensitivityNameRector on function name exists (#660)
2021-08-13 11:57:49 +00:00
Tomas Votruba
93cc8dacbc Updated Rector to commit 906bb39c8df09c9a7c554dd97a2fde070b076861
906bb39c8d [EarlyReturn] Handle Repetitive create If_ statement on use ChangeOrIfReturnToEarlyReturnRector+RemoveAlwaysElseRector (#651)
2021-08-12 09:54:28 +00:00
Tomas Votruba
a75504cb47 Updated Rector to commit 3a76077bfe5ba553bf59f7ea269b7d594f715ecb
3a76077bfe [Defluent] Handle casted return value on FluentChainMethodCallToNormalMethodCallRector (#643)
2021-08-11 06:38:05 +00:00
Tomas Votruba
3395b050ee Updated Rector to commit 028dcb15e4ce3af9a1651b25a9d945ba962907f1
028dcb15e4 [CodingStyle] Skip RemoveUnusedAliasRector on alias used as namespace (#634)
2021-08-10 07:12:30 +00:00
Tomas Votruba
bd98852bcd Updated Rector to commit db637973d0b5be0817eb28be4d191920a572d4a2
db637973d0 [DeadCode] Do not remove assign on RemoveUnusedVariableAssignRector on New_ usage (#625)
2021-08-09 07:40:23 +00:00
Tomas Votruba
e9e85a1300 Updated Rector to commit a8b01f217b9702f7dd6e485f84fe46a6dabe0d86
a8b01f217b [automated] Re-Generate Nodes/Rectors Documentation (#619)
2021-08-08 00:26:40 +00:00
Tomas Votruba
b5290c94c5 Updated Rector to commit 2d22795af1549dfbe40e3b8cf1c71cf88af7d3b1
2d22795af1 [DeadCode] Skip RemoveDeadConstructorRector on empty constructor with class extends (#611)
2021-08-07 11:33:39 +00:00
Tomas Votruba
ed866c99db Updated Rector to commit 7398a6637c49cd6f329d27a37f5006a69c219924
7398a6637c Add failing test fixture for RemoveUnusedPrivateMethodRector (#604)
2021-08-06 06:45:08 +00:00
Tomas Votruba
fa67d66a44 Updated Rector to commit 3eb503653fc1240a10c8be730f1ecfd45c47396c
3eb503653f [BetterStandardPrinter] Using Expr_ArrowFunction->returnType with print return type double colon right after the bracket (#596)
2021-08-05 05:49:38 +00:00
Tomas Votruba
fcfef6acab Updated Rector to commit 529eb40360f0a40a03bdaeb0e657fbaaec2a1c02
529eb40360 [DowngradePhp80] Handle both DowngradeTypedPropertyRector and DowngradeMixedTypeDeclarationRector Name parameter (#591)
2021-08-04 07:34:48 +00:00
Tomas Votruba
46cf4c1774 Updated Rector to commit 0888a92985f8018f486798af0f33928f221e7f0f
0888a92985 [CodeQuality] Skip class with constructor parameter for ClassConstFetch on CallableThisArraToAnonymousFunctionRector (#581)
2021-08-03 10:22:54 +00:00
Tomas Votruba
6d9e1da1ac Updated Rector to commit f515dd655ea406522c2e2e6adbbb9cf93c72a4b7
f515dd655e typos in docs
2021-08-02 14:58:30 +00:00
Tomas Votruba
ebc595cbb2 Updated Rector to commit e3ce3201512eb23ba2b195265dc63c671893c43a
e3ce320151 [Transform] Remove specific custom Rector without generic usage (#573)
2021-08-02 12:03:27 +00:00
Tomas Votruba
bfa1433bd5 Updated Rector to commit 2c71aa697612bf1e90a7be545f31c338278b0579
2c71aa6976 [VersionBonding] Update rector warning message for min PHP version project (#572)
2021-08-02 09:39:41 +00:00
Tomas Votruba
d0e5aaee2f Updated Rector to commit 645b7a8e8ff13fd4bbefaee6a874d49c744e8b29
645b7a8e8f [automated] Re-Generate Nodes/Rectors Documentation (#562)
2021-08-01 00:25:55 +00:00
Tomas Votruba
c3bc0fc47d Updated Rector to commit d9f47f85729740fe2108d8b0e92e9c97403b6849
d9f47f8572 [DeadCode] Using SideEffectNodeDetector::detectCallExpr() on RemoveOverriddenValuesRector (#554)
2021-07-31 11:34:50 +00:00
Tomas Votruba
406cb3c9f8 Updated Rector to commit a152283fd7c858f74110d9d220e322bc0e256a67
a152283fd7 cleanup (#547)
2021-07-30 07:40:46 +00:00
Tomas Votruba
ff5108a964 Updated Rector to commit cdad000d81c83a9f828281ff85fa67f0adfeee24
cdad000d81 [DowngradePhp80] Register DowngradeThrowExprRector to downgrade-php80 config set (#538)
2021-07-29 00:44:05 +00:00
Tomas Votruba
b8d4e57170 Updated Rector to commit a7f111e201b95271acfdd090d017e3d112c5d1dd
a7f111e201 [PHPStan] Clean up PHPStan ignore error messages (#530)
2021-07-28 04:37:30 +00:00
Tomas Votruba
a23b777a9a Updated Rector to commit 3a96b9097d6fbc29085210f2d85dd5d95755ef31
3a96b9097d [DeadCode] Skip fluent return  on RemoveEmptyMethodCallRector (#521)
2021-07-27 11:16:44 +00:00
Tomas Votruba
c231e32779 Updated Rector to commit eb91c61b9537167d6e07a08eae8874ad2c294f5d
eb91c61b95 [Config] Clean up rector.php config (#514)
2021-07-26 09:06:10 +00:00
Tomas Votruba
c4c84e0db7 Updated Rector to commit 34fff11f804db752790ca22c7fd5e69bbf51f037
34fff11f80 Remove deprecated addConstructorDependencyToClass() from AbstractRector class, use PropertyToAddCollector directly instaed (#506)
2021-07-25 11:42:11 +00:00
Tomas Votruba
4a70b89e41 Updated Rector to commit 4456c4690bbe679448a02e20ebc521b1fa9b6b48
4456c4690b extend AutowiredClassMethodAnalyzer with property
2021-07-25 07:47:04 +00:00
Tomas Votruba
4c03335bdf Updated Rector to commit 771a3390b05887e1ff9443cb8b697b3a7455b4ca
771a3390b0 [TypeDeclaration] Handle simple class name as string for non-native class (#501)
2021-07-24 11:53:32 +00:00
Tomas Votruba
27e4e06416 Updated Rector to commit 5967ffa2674cda52c5487be141a0b5297e913035
5967ffa267 Fix along other packages gha (#492)
2021-07-23 06:16:10 +00:00
Tomas Votruba
29db7ec980 Updated Rector to commit 1747d9899af2115e6aa0af488a106b3abc8ea413
1747d9899a [DeadCode] Skip next used as variable variable on RemoveUnusedVariableAssignRector (#486)
2021-07-22 14:50:45 +00:00
Tomas Votruba
7483b5a016 Updated Rector to commit 692e9e3db43bf4786fcd8fd7980ff6b239344620
692e9e3db4 Rector 7.0 Native init steps (#475)
2021-07-21 08:41:12 +00:00
Tomas Votruba
9e4b848150 Updated Rector to commit 48ccb539d49aede106e02c5a855b51f8548f3c07
48ccb539d4 [DeadCode] Handle null start token position attribute in NodeByTypeAndPositionCollector (#469)
2021-07-20 14:23:43 +00:00
Tomas Votruba
0ead874fad Updated Rector to commit 75c06eab69f50725add0c315bc6dfaf4a7b2f5c5
75c06eab69 Fix match static method name in annotation (#446)
2021-07-19 05:06:26 +00:00
Tomas Votruba
d77b300a95 Updated Rector to commit 2fc18bd2c0f1a0f5a3183e9115abd597e87f2241
2fc18bd2c0 [Rectify] Manual twice run rector against rules directory (#448)
2021-07-18 02:11:18 +00:00
Tomas Votruba
e3f781999f Updated Rector to commit 2a28758894a0a5668f6d369714c5d731737ec6fd
2a28758894 [Core] Fix --no-progress-bar option not applied (#447)
2021-07-17 03:01:09 +00:00
Tomas Votruba
cc15e42d73 Updated Rector to commit a0f2ad97896e7b0afc830e0f51c89679948dd2be
a0f2ad9789 [Privatization] Skip ChangeGlobalVariablesToPropertiesRector on read only global variable (#442)
2021-07-16 09:16:38 +00:00
Tomas Votruba
816016aac7 Updated Rector to commit 294bea2d1850fb65aca43119b7692932846f2d86
294bea2d18 [FileProcessor] Run untill the file is fixed completelly (#432)
2021-07-15 03:40:51 +00:00
Tomas Votruba
68e641029b Updated Rector to commit 4f2d2d12ddfc2cebe4511c7de381bfb861afdc4a
4f2d2d12dd [DeadCode] Skip RemoveUnusedNonEmptyArrayBeforeForeachRector on array param has default null (#433)
2021-07-14 07:23:54 +00:00
Tomas Votruba
adc6b8148a Updated Rector to commit f7eeebaa7bdb96a6bc7311b1fa4a4e8a19789b35
f7eeebaa7b [DeadCode] Fix non-null type check on RemoveUnusedNonEmptyArrayBeforeForeachRector (#430)
2021-07-13 05:50:47 +00:00
Tomas Votruba
55c47b9663 Updated Rector to commit d08a87f692fcea45633084a12889324a19da49d8
d08a87f692 added promoted property test for annotation to attribute rule (#425)
2021-07-12 08:28:11 +00:00
Tomas Votruba
f3645ab6a9 Updated Rector to commit fb9ad83c32770022a3816ee06c88d92cd84dc322
fb9ad83c32 [CodeQuality] Skip InlineIfToExplicitIfRector on constant definition (#422)
2021-07-11 15:30:37 +00:00
Tomas Votruba
54dcc7b361 Updated Rector to commit a49c8612af4d99e6ab0b41db60d3829c81110b54
a49c8612af [Downgrade PHP 8.0] Fix DowngradeNullsafeToTernaryOperatorRector for trait (#412)
2021-07-10 00:43:27 +00:00
Tomas Votruba
8883574049 Updated Rector to commit 6f1f047087a496a41745c1ea994273e3bc8dcdb4
6f1f047087 add RenameParamValueObjectInterface to trusted downgrade widening types
2021-07-09 23:00:32 +00:00
Tomas Votruba
207c620c29 Updated Rector to commit 311a96fbf8a6f71faee4620db786669c76bbf015
311a96fbf8 bump php-parser to 4.11, phpstan to 0.12.91 (#402)
2021-07-08 00:06:13 +00:00
Tomas Votruba
09e84aa431 Updated Rector to commit 20153a915bbbbd665084f44f725a10fc8c6b778f
20153a915b [TypeDeclaration] Skip mixed union return on ReturnTypeDeclarationRector (#393)
2021-07-07 00:20:29 +00:00
Tomas Votruba
8a32b5f563 Updated Rector to commit 150da023db4a54a72f1a8225dba52754c5295cf3
150da023db include standalone traits in downgrade too
2021-07-06 08:19:07 +00:00
Tomas Votruba
96112cb1f0 Updated Rector to commit 2da49992ccc8e6d4b20e92a5833316d381921391
2da49992cc [Downgrade] [PHP 7.2] Make DowngradeParameterTypeWideningRector always downgrade to phpdoc type (#390)
2021-07-05 22:50:18 +00:00