352 Commits

Author SHA1 Message Date
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
cd8b211b7b Updated Rector to commit bb384013c3f04d9ae1471fdfa50fbff943b7821c
bb384013c3 [CodeQuality] CodeQuality config set list clean up (#606)
2021-08-06 20:12:05 +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
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
70059f5751 Updated Rector to commit 7a3a2dc12bb2bc75a04643198c9eeaad84516030
7a3a2dc12b Add Symfony's bootstrap80 files to the list for namespace removal (#537)
2021-07-29 14:28:33 +00:00
Tomas Votruba
d162a45f40 Updated Rector to commit 6e73a1f069afe9609437b2d4848ab323f03d0d20
6e73a1f069 [DowngradePhp70] Allow property fetch and static property fetch on DowngradeNullCoalesceRector (#540)
2021-07-29 07:26:45 +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
9d2869edb7 Updated Rector to commit e5d95bda102dc870e822f2ba7b97f95ec54e62c1
e5d95bda10 [TypeDeclaration] Handle Recursive multiple class string array on CompleteVarDocTypePropertyRector (#520)
2021-07-26 23:57:06 +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
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
9ffc8ec64a Updated Rector to commit 3d1ec1d85daa2f63e80a8189d3a70c236a159e73
3d1ec1d85d bump docs
2021-07-23 16:35:16 +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
e3f99041de Updated Rector to commit 24a32dfefb21f925bbf48ad58b3d834d7988ca40
24a32dfefb Fix docs double import (#478)
2021-07-21 13:46:30 +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
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
cad500c817 Updated Rector to commit 0d3e54357f39cef2be8581d78596be1a9e252313
0d3e54357f extract VendorLocationDetector (#462)
2021-07-19 20:57:26 +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
cae21ff247 Updated Rector to commit acabcfc4565c3691eb1f2076db85524edc583a9b
acabcfc456 [TypeDeclaration] Do not add return type on parent Closure for deep closure has return type on ReturnTypeFromStrictTypedCallRector (#439)
2021-07-15 22:20: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
25ec6cc541 Updated Rector to commit b6039d71e8f7277eff140f286392eec6551860bd
b6039d71e8 Update TokenGetAllToObjectRector to use the correct method name (#431)
2021-07-13 11:12:27 +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
877bf53643 Updated Rector to commit 82aac93545c59a8cc526fb4ac235a132485480a8
82aac93545 [Defluent] Skip ReturnFluentChainMethodCallToNormalMethodCallRector on last call not return current object (#413)
2021-07-10 11:50:43 +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
4f5c3f4a02 Updated Rector to commit 0c709dfac727d7ea9b8d121a20daec17ebc0b1cb
0c709dfac7 Refactor node removing to phpdoc node traverser (#405)
2021-07-08 15:36:45 +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
8055248d54 Updated Rector to commit 246de784d7f87b910607316d1c81f9538a440fa4
246de784d7 [Downgrade 7.2] Allow to exclude method names
2021-07-06 13:47:20 +00:00
Tomas Votruba
927967a6ab Updated Rector to commit ba9579a262d8ad7d7412ae30b9b5e485c24d8365
ba9579a262 [Downgrade 7.2] Make DowngradeParameterTypeWideningRector skip autowired methods (#392)
2021-07-06 13:09:53 +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
5226bdf528 Updated Rector to commit a9130e1825ebcfec42fd516fa2797f4fbe3b2352
a9130e1825 skip output interface too
2021-07-05 23:34:08 +00:00
Tomas Votruba
712ba426cb Updated Rector to commit c002efe1d9c1fe206c03f745047e6ce6248e1b83
c002efe1d9 skip self type
2021-07-05 23:20:51 +00:00