Commit Graph

61 Commits

Author SHA1 Message Date
Tomas Votruba
7d4734bb64 Updated Rector to commit 86eb512e4f78f909856b90bc18e41704b48ee57a
86eb512e4f [automated] Apply Coding Standard (#5821)
2024-04-14 00:31:32 +00:00
Tomas Votruba
6059061e25 Updated Rector to commit ec59456217e4e2c212c0486cd0ee33221e5ab86c
ec59456217 [DeadCode] Skip $this in trait on RemoveDeadInstanceOfRector (#5818)
2024-04-12 09:47:55 +00:00
Tomas Votruba
c1338c4c07 Updated Rector to commit aaf006c8f534230b1bbc4c4fb3747cd660305718
aaf006c8f5 [DeadCode] Skip use docblock on BooleanAnd check on RemoveDeadInstanceOfRector (#5751)
2024-03-21 11:37:34 +00:00
Tomas Votruba
c950e4d97b Updated Rector to commit da67bb97a141fd0feb2ab90f5576138489f2f67d
da67bb97a1 Add boolean and support to RemoveDeadInstanceOfRector (#5748)
2024-03-21 11:05:56 +00:00
Tomas Votruba
7e7a2f067a Updated Rector to commit 476cfb00cb6a94cb64badf9472ee78f33bdf44b3
476cfb00cb disable fallback for now
2024-01-02 02:40:38 +00:00
Tomas Votruba
1095b54b14 Updated Rector to commit 005ccc330c3bb37f9faf0f5e2c319036f2d055b8
005ccc330c Rectify (#5324)
2023-12-04 14:56:20 +00:00
Tomas Votruba
d9834a6d69 Updated Rector to commit 8e6d46a58fff8e6bd5276b9ae473bfb91460b487
8e6d46a58f [Instanceof] Fix combination of dead instance and compare (#5319)
2023-12-03 20:12:56 +00:00
Tomas Votruba
f45714304b Updated Rector to commit a9efd7240e38596d09eedbea3670ee20e32e0d1f
a9efd7240e [DeadCode] Remove direct return STOP_TRAVERSAL on RemoveDeadInstanceOfRector (#4188)
2023-06-12 09:17:29 +00:00
Tomas Votruba
503a6059f8 Updated Rector to commit a8922f7431c9c9188be501107ee7819e0130da4c
a8922f7431 skip temporarily match + throws downagrade in symfony/console, very unlikely to run
2023-06-11 23:01:39 +00:00
Tomas Votruba
3313a231b7 Updated Rector to commit bb609b28e327ca1fb7827b6bc548013d19a2cf4e
bb609b28e3 [Core] Always reset stopTraversal to false on next Rector visit (#4182)
2023-06-11 14:17:34 +00:00
Tomas Votruba
99469d703d Updated Rector to commit a394e5ea44ef09812ec1224aa0f402a483400d73
a394e5ea44 Split instance of check to 2 rules (#4165)
2023-06-10 18:53:37 +00:00
Tomas Votruba
9d288b9b77 Updated Rector to commit 0fe5ee02fe3527bff3a1cd1c10508e2148ea8031
0fe5ee02fe Remove PARENT_NODE from ReadOnlyPropertyRector (#4150)
2023-06-10 07:01:52 +00:00
Tomas Votruba
ee021e37ea Updated Rector to commit 21d43cfb3d62563f3f73424d2bdf36136056617d
21d43cfb3d Add REMOVE_NODE support to refactor() direct call (#4073)
2023-06-05 08:01:06 +00:00
Tomas Votruba
a548d35868 Updated Rector to commit f846afc61bdd4839085f265b505b60cf1b866553
f846afc61b Fix type error on downgraded version. (#2946)
2022-09-22 15:56:27 +00:00
Tomas Votruba
967bbc6b59 Updated Rector to commit c0070b1d30a0040e3e58724ac1b3b339e168dcb5
c0070b1d30 [CodeQuality] Skip not ArrayType on ForeachItemsAssignToEmptyArrayToAssignRector (#2752)
2022-08-11 14:29:35 +00:00
Tomas Votruba
aa6004e082 Updated Rector to commit ae31fb60aeb3c49fb47b3fa12c792098e67831c5
ae31fb60ae [PHPStan] Resolve variable name casing (#2689)
2022-07-20 05:05:58 +00:00
Tomas Votruba
4522848db4 Updated Rector to commit 005ca33bcb
005ca33bcb [DowngradePhp80] Do not change correct Union array docblock to mixed[] on DowngradeUnionTypeDeclarationRector (#2555)
2022-06-22 22:21:39 +00:00
Tomas Votruba
bdec76e60e Updated Rector to commit 5ed173f14865e72ba7156645e2a79930152e1cc5
5ed173f148 skip RuleDefinition explicitly
2022-06-07 09:18:30 +00:00
Tomas Votruba
bdfd24339f Updated Rector to commit 2e977bd3aad21113e0bb7e2aa9b102f6f1e9246d
2e977bd3aa deploy to original repository
2022-06-07 08:22:29 +00:00
Tomas Votruba
aa2cb1b997 Updated Rector to commit 0eba231b07
0eba231b07 [PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444)
2022-06-06 17:12:56 +00:00
Tomas Votruba
a28f4b14a4 Updated Rector to commit 2022-06-06 16:43:29 +00:00
Tomas Votruba
7e46eb8267 Updated Rector to commit a2d6da8b4e
a2d6da8b4e Back to php-scoper 0.14 with scoping from php 8.0 (#2370)
2022-05-27 11:51:31 +00:00
Tomas Votruba
beba7d6efe Updated Rector to commit 1249d947f4
1249d947f4 Try php-scoper 0.17 (#2368)
2022-05-27 11:25:02 +00:00
Tomas Votruba
bca89e29da Updated Rector to commit 33cd52e703
33cd52e703 Fix position of class after non-reachable stmts (#2299)
2022-05-12 09:11:03 +00:00
Tomas Votruba
4b5a7031be Updated Rector to commit 3135f29362
3135f29362 [DeadCode] Ensure has stmts on RemoveDeadInstanceOfRector (#2252)
2022-05-07 10:26:06 +00:00
Tomas Votruba
fe23d4f8ca Updated Rector to commit c91f3ad629
c91f3ad629 refactor RemoveDeadInstanceOfRector to direct return (#2251)
2022-05-07 09:38:38 +00:00
Tomas Votruba
d59bf7cd51 Updated Rector to commit 561e3963e1
561e3963e1 Use refactorWithScope() in MakeInheritedMethodVisibilitySameAsParentRector (#2236)
2022-05-05 17:42:23 +00:00
Tomas Votruba
9dacdb4abb Updated Rector to commit 464b74c40d
464b74c40d [Core] Merge BetterNodeFinder findFirstPreviousOfNode() with findFirstPrevious() (#2213)
2022-05-02 12:45:52 +00:00
Tomas Votruba
79c940ac59 Updated Rector to commit 4fb405ed3a
4fb405ed3a [DeadCode][Strict] Handle RemoveDeadInstanceOfRector+BooleanInTernaryOperatorRuleFixerRector+DisallowedEmptyRuleFixerRector (#2028)
2022-04-08 08:59:08 +00:00
Tomas Votruba
3266f22182 Updated Rector to commit 1d409bc35b
1d409bc35b safe by default
2021-12-10 10:22:23 +00:00
Tomas Votruba
058d52567d Updated Rector to commit c621d7650d
c621d7650d [TypeDeclaration] Add void upper inner function has return on ReturnTypeDeclarationRector (#1447)
2021-12-10 09:57:54 +00:00
Tomas Votruba
c726969380 Updated Rector to commit fc10fce13d
fc10fce13d [Rectify] [Php81] Enable Rectify on Readonly Property only (#1384)
2021-12-04 12:47:17 +00:00
Tomas Votruba
a42ac7439f Updated Rector to commit c3b6efea7e
c3b6efea7e Move from CLASS_NODE attribute to more reliable parent node finder (#1162)
2021-11-06 12:10:48 +00:00
Tomas Votruba
070eedc010 Updated Rector to commit fd5edffa38
fd5edffa38 [TypeDeclaration] Add TypedPropertyFromStrictGetterMethodReturnTypeRector (#1048)
2021-10-23 21:09:26 +00:00
Tomas Votruba
9a92488e2c Updated Rector to commit 82b689d713
82b689d713 add trigger warning about deprecated resolve() and getStaticType() methods in NodeTypeResolver + update all packages (#976)
2021-10-07 19:40:12 +00:00
Tomas Votruba
19cabc37e2 Updated Rector to commit f8a31303f5
f8a31303f5 [DeadCode] Skip RemoveDeadInstanceOfRector on check variable from not typed param (#851)
2021-09-08 14:55:40 +00:00
Tomas Votruba
ec2e07443a Updated Rector to commit 49033cecc9
49033cecc9 [PostRector] Using NodesToAddCollector in Rector rules (#812)
2021-09-02 06:46:57 +00:00
Tomas Votruba
09d23c12db Updated Rector to commit 6ff9e780b9
6ff9e780b9 [Defluent] Skip Fluent in If_ cond on FluentChainMethodCallToNormalMethodCallRector (#673)
2021-08-13 20:58:51 +00:00
Tomas Votruba
b998a4feca Updated Rector to commit 31f88491b8
31f88491b8 [Defluent] Skip NewFluentChainMethodCallToNonFluentRector on inside If_ cond (#671)
2021-08-13 20:46:17 +00:00
Tomas Votruba
708bb6c44b Updated Rector to commit 6ff9e780b9
6ff9e780b9 [Defluent] Skip Fluent in If_ cond on FluentChainMethodCallToNormalMethodCallRector (#673)
2021-08-13 20:45:41 +00:00
Tomas Votruba
d1fc5bf0a7 Updated Rector to commit 2f6725acd4
2f6725acd4 [EarlyReturn] Handle Repetitive If_ on use ReturnBinaryAndToEarlyReturnRector (#669)
2021-08-13 20:44:01 +00:00
Tomas Votruba
aeb2451688 Updated Rector to commit c115811102
c115811102 [DeadCode] Skip Union Array without type on RemoveDeadInstanceOfRector (#672)
2021-08-13 20:43:09 +00:00
Tomas Votruba
b0f145ae07 Updated Rector to commit 205e7a5bd0
205e7a5bd0 [Core] Move isPropertyFetch() to PropertyFetchAnalyzer (#563)
2021-08-01 16:59:22 +00:00
Tomas Votruba
398f8f8197 Updated Rector to commit c93b40240f
c93b40240f [DeadCode] Skip InstanceOf class not a Name on RemoveDeadInstanceOfRector (#531)
2021-07-28 11:14:29 +00:00
Tomas Votruba
6c3196a2e7 Updated Rector to commit 8299b2db41
8299b2db41 [DeadCode] Skip direct method call / function call on RemoveDeadInstanceOfRector (#527)
2021-07-28 07:07:05 +00:00
Tomas Votruba
bb9a43a22d Updated Rector to commit 65eaecb4de
65eaecb4de [DeadCode] Skip Static Call fluent on RemoveEmptyMethodCallRector (#526)
2021-07-27 14:23:09 +00:00
Tomas Votruba
5394ed5dd5 Updated Rector to commit 4b5ac4d548
4b5ac4d548 [DeadCode] Skip Assign to PropertyFetch on RemoveAssignOfVoidReturnFunctionRector (#523)
2021-07-27 14:21:12 +00:00
Tomas Votruba
9b938c3aa8 Updated Rector to commit a8fd8a3315
a8fd8a3315 [DeadCode] Handle RemoveDeadInstanceOfRector on non typed property (#524)
2021-07-27 14:20:41 +00:00
Tomas Votruba
96112cb1f0 Updated Rector to commit 2da49992cc
2da49992cc [Downgrade] [PHP 7.2] Make DowngradeParameterTypeWideningRector always downgrade to phpdoc type (#390)
2021-07-05 22:50:18 +00:00
Tomas Votruba
a79e6f56df Updated Rector to commit ff1ad31d6a
ff1ad31d6a [PHP 7.2] Refactor DowngradeParameterTypeWideningRector to class method (#380)
2021-07-05 07:47:59 +00:00