174 Commits

Author SHA1 Message Date
Tomas Votruba
080ee3ab60 Updated Rector to commit b53d44daeee982fd1d7a0711b86258e3d6ef70fe
b53d44daee [CodeQuality] Skip Closure call on CompleteDynamicPropertiesRector (#668)
2021-08-13 20:42:40 +00:00
Tomas Votruba
12a282027a Updated Rector to commit e6100c9d542f3e83da64734ab5c565c915dee660
e6100c9d54 [DeadCode] Skip RemoveUselessReturnTagRector on typed closure (#662)
2021-08-13 12:04:16 +00:00
Tomas Votruba
a7f6c29b52 Updated Rector to commit 5e16b6bab731d037893d7a24d4b5896dd405d152
5e16b6bab7 [CodeQuality] Handle IssetOnPropertyObjectToPropertyExistsRector on built in class (#659)
2021-08-13 11:59:25 +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
0310ca6e8d Updated Rector to commit d5d727776332bc6314e07d01ded03c1577c15eec
d5d7277763 [TypeDeclaration] Skip null only type on AddMethodCallBasedStrictParamTypeRector (#637)
2021-08-10 11:20:38 +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
5690256c72 Updated Rector to commit 6182d69dc532340002a64c589a6b43b82541ae4a
6182d69dc5 [CodeQuality][Naming] Handle both RenamePropertyToMatchTypeRector and CompleteDynamicPropertiesRector (#633)
2021-08-09 21:55:37 +00:00
Tomas Votruba
4cda207f19 Updated Rector to commit c3e0ff311d85a62c22bd9220564e7283d74211bc
c3e0ff311d [CodeQuality] Skip static variable on SimplifyUselessVariableRector (#630)
2021-08-09 13:33:35 +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
54d8b7a970 Updated Rector to commit 0a51a73ad61b0ec2f9195ead66880e71a0e6779b
0a51a73ad6 [CodeQuality] Remove MoveVariableDeclarationNearReferenceRector for too wide domain, not capable on most of real projects (#587)
2021-08-03 18:06:18 +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
1452c5d9ff Updated Rector to commit b3480900f3da86846dfabdfcd7e12f07b16a3f78
b3480900f3 [CodingStyle] Remove YieldClassMethodToArrayClassMethodRector, rather PHPStorm job (#576)
2021-08-02 17:48:07 +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
f41cfb1de8 Updated Rector to commit b4392749f4ab12077b8cadc6cc8745ad79dcdea8
b4392749f4 Fix some code samples (#535)
2021-07-28 12:55:48 +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
dfa7a8133f Updated Rector to commit 923bb729839db311cdc77f3105164949a9da61a7
923bb72983 [Naming] Remove MakeBoolPropertyRespectIsHasWasMethodNamingRector, not reliable and rather PHPStan scope (#511)
2021-07-25 16:57:05 +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
1127b0c4e2 Updated Rector to commit bc9d2d48d5c7bd9fe011377e46b0dca464c8dceb
bc9d2d48d5 [DX] Add MissedRectorDueVersionChecker (#465)
2021-07-21 09:35:57 +00:00
Tomas Votruba
843b27c4dc Updated Rector to commit 83419c4376e36680d869e5569482127662372250
83419c4376 [CodeQuality] Handle both ExplicitBoolCompareRector + CountArrayToEmptyArrayComparisonRector usage (#474)
2021-07-21 08:48:08 +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
81db79d69e Updated Rector to commit b2c0a05d56fafa8c2690261e28aa515163f5c7eb
b2c0a05d56 [DeadCode] Skip RemoveAssignOfVoidReturnFunctionRector on used in next statement (#434)
2021-07-15 23:10:57 +00:00
Tomas Votruba
65a21970aa Updated Rector to commit f7ba2752e3c9731621d9b81e535dc7d998c4aa1d
f7ba2752e3 Cleanup (#438)
2021-07-15 10:36:02 +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
c99d08eab4 Updated Rector to commit a9ed924cdbc4cdd53b563a678248519a7e3b6c15
a9ed924cdb [CodeQuality] Fix array_keys on object in UnusedForeachValueToArrayKeysRector (#411)
2021-07-09 23:57:04 +00:00