Commit Graph

71 Commits

Author SHA1 Message Date
Tomas Votruba
6fc08102f7 Updated Rector to commit b4212ed99d3aadc3ce6371c984b644b54252752e
b4212ed99d [Performance] Combine repetitive find() usage on RemoveUnusedVariableAssignRector (#5686)
2024-03-04 14:03:11 +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
4f6134d1be Updated Rector to commit 5647e1b818482552a447d7f79392c7e2f0dce86e
5647e1b818 [Naming] Fix dotted name on generics bug in RenameVariableToMatchMethodCallReturnTypeRector (#5250)
2023-11-15 07:40:24 +00:00
Tomas Votruba
9aef117ab1 Updated Rector to commit 7ec1be6b828042b27e3f40ed41b3285a6fe78502
7ec1be6b82 [DeadCode]: Support functions in RemoveUnusedVariableAssignRector (#5249)
2023-11-14 21:18:19 +00:00
Tomas Votruba
ff69243060 Updated Rector to commit f2c8967abf004558bf92c86840d57eb7f0221f9c
f2c8967abf [DeadCode] Mirror comment on assign method call on RemoveUnusedVariableAssignRector (#5195)
2023-10-24 06:21:04 +00:00
Tomas Votruba
4b8fc3fb05 Updated Rector to commit e698133cad1a85f2384a6cf450d66c54df1876a2
e698133cad [DX] Make ValueResolver explicitly required in Rector rules constructor if needed (#5053)
2023-09-20 12:55:35 +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
a48c21e135 Updated Rector to commit ebfe96b4e08b26439c2341cd45e87a7bc5f314fb
ebfe96b4e0 Drop AttributeKey::SCOPE in ClassMethodReturnTypeOverrideGuard (#4144)
2023-06-09 17:30:44 +00:00
Tomas Votruba
945b0d7947 Updated Rector to commit ea26fd7427e4c1d0a4032a9c86410ef41c32569b
ea26fd7427 Drop AttributeKey::SCOPE in AlwaysStrictScalarExprAnalyzer (#4139)
2023-06-09 17:07:32 +00:00
Tomas Votruba
74feb951d2 Updated Rector to commit 7740446b9569f8e03f64dedf4e1330fe52b98b3e
7740446b95 Drop AttributeKey::SCOPE in RemoveUnusedVariableAssignRector (#4141)
2023-06-09 17:06:55 +00:00
Tomas Votruba
5f32b6989a Updated Rector to commit 62ecc9028796457cc58e717ac50c9d2cc5339b17
62ecc90287 [DeadCode] Skip assign closure bind by reference on RemoveUnusedVariableAssignRector (#3942)
2023-05-24 02:50:28 +00:00
Tomas Votruba
f7fccae5ba Updated Rector to commit e04e51c25d95e3b2133adca5f01f8e7e002534af
e04e51c25d [DeadCode][Php56] Handle infinite loop on RemoveUnusedVariableAssignRector+AddDefaultValueForUndefinedVariableRector (#3940)
2023-05-23 22:15:37 +00:00
Tomas Votruba
ee06436c96 Updated Rector to commit d603b00818cfabc8aa1699b1154145e68bdb60a0
d603b00818 Remove PARENT_NODE from RemoveUnusedVariableAssignRector (#3935)
2023-05-23 13:36:55 +00:00
Tomas Votruba
bd8dcc9cae Updated Rector to commit 33c04c5c90725b36c864cfc86c5491f8d6912396
33c04c5c90 [DeadCode] Remove next attribute on RemoveUnusedVariableAssignRector (#3917)
2023-05-21 22:39:40 +00:00
Tomas Votruba
f613b7a98a Updated Rector to commit 499fdbc3af1779929444c170a778678e28be957a
499fdbc3af Drop AttributeKey::SCOPE in various classes (#3836)
2023-05-14 10:01:33 +00:00
Tomas Votruba
039864701c Updated Rector to commit 764ef74406bf794b30f64d6c5a94e6abfebc4833
764ef74406 [DeadCode] Reduce findFirstPrevious() on RemoveUnusedvariableAssignRector (#3789)
2023-05-10 14:43:48 +00:00
Tomas Votruba
f5640c1359 Updated Rector to commit 5e5681d9edbb438b5782b45fde6e88650aa3843f
5e5681d9ed [NodeRemover] Use return null after ->removeNode() (#3558)
2023-04-03 17:20:08 +00:00
Tomas Votruba
bba6495f7d Updated Rector to commit 10346eea20d2222819f59b2ae994acc0948352e4
10346eea20 Apply node->isFirstCallable() check early before ->getArgs() when possible on CallLike (#3038)
2022-11-07 17:28:06 +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
138ae66a5b Updated Rector to commit 83f2b16f0c
83f2b16f0c [cs] add static lambda rule [closes #2514]
2022-06-21 15:38:46 +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
9dacdb4abb Updated Rector to commit 464b74c40d
464b74c40d [Core] Merge BetterNodeFinder findFirstPreviousOfNode() with findFirstPrevious() (#2213)
2022-05-02 12:45:52 +00:00
Tomas Votruba
5147929731 Updated Rector to commit 43aa4d91f7
43aa4d91f7 Add SameNamespacedTypeSpecifier (#2169)
2022-04-26 08:13:18 +00:00
Tomas Votruba
99d2e969d8 Updated Rector to commit 9d5ea4c3e6
9d5ea4c3e6 [CodeQuality][CodingStyle][DeadCode] Handle SimplifyIfElseToTernaryRector+InlineSimplePropertyAnnotationRector+RemoveUnusedVariableAssignRector (#2074)
2022-04-14 17:41:58 +00:00
Tomas Votruba
5224477400 Updated Rector to commit 1b717dc74e
1b717dc74e [DeadCode] Ensure parent assign is Expression Stmt for RemoveUnusedVariableAssignRector (#1893)
2022-03-03 04:28:33 +00:00
Tomas Votruba
59c4f05339 Updated Rector to commit 18f306ec61
18f306ec61 [DeadCode] Handle variable reference on openssl_sign() on RemoveUnusedVariableAssignRector (#1892)
2022-03-02 16:49:04 +00:00
Tomas Votruba
dd64fa545d Updated Rector to commit 0cac723079
0cac723079 [DeadCode] Clean casted CallLike in Assign Expr on RemoveUnusedVariableAssignRector (#1889)
2022-03-02 10:10:00 +00:00
Tomas Votruba
09bf6a0592 Updated Rector to commit 10de06f33f
10de06f33f [DeadCode] Skip RemoveUnusedVariableAssignRector on assign to dynamic variable (#1884)
2022-03-01 10:08:14 +00:00
Tomas Votruba
c5291aef7a Updated Rector to commit ecce9b3709
ecce9b3709 [DeadCode] Keep assign expr when Assign Expr has CallLike on RemoveUnusedVariableAssignRector (#1825)
2022-02-17 10:40:48 +00:00
Tomas Votruba
d86e5d640a Updated Rector to commit dae413184b
dae413184b [static] Fix mixed type on property fetches and method calls (#1769)
2022-02-05 11:57:25 +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
b426e4ba33 Updated Rector to commit 6340d263f4
6340d263f4 [DX] Add strict PHPStan rules - step #3 (#1331)
2021-11-28 17:35:55 +00:00
Tomas Votruba
b5ad3a2e08 Updated Rector to commit 824df97e93
824df97e93 [DX] Move from CLASS_METHOD node attribute to parent finder (#1167)
2021-11-06 14:25:01 +00:00
Tomas Votruba
73d7212e05 Updated Rector to commit 17cfa9f376
17cfa9f376 Update to nikic/php-parser 4.13.0 (#904)
2021-09-27 15:43:15 +00:00
Tomas Votruba
ba205b46bb Updated Rector to commit 68d410ef00
68d410ef00 Trigger notification (#741)
2021-08-23 00:20:32 +00:00
Tomas Votruba
674f76ced2 Updated Rector to commit 877cbb2de8
877cbb2de8 fix(scoper): prefix vendor classes from PHPDoc, close #6614 (#739)
2021-08-22 23:17:31 +00:00
Tomas Votruba
9b371536e4 Updated Rector to commit 9dd6d63e14
9dd6d63e14 [Defluent] Skip on return and on cast for InArgFluentChainMethodCallToStandaloneMethodCallRector (#680)
2021-08-14 22:35:40 +00:00
Tomas Votruba
c3bc0fc47d Updated Rector to commit d9f47f8572
d9f47f8572 [DeadCode] Using SideEffectNodeDetector::detectCallExpr() on RemoveOverriddenValuesRector (#554)
2021-07-31 11:34:50 +00:00
Tomas Votruba
dfa7a8133f Updated Rector to commit 923bb72983
923bb72983 [Naming] Remove MakeBoolPropertyRespectIsHasWasMethodNamingRector, not reliable and rather PHPStan scope (#511)
2021-07-25 16:57:05 +00:00
Tomas Votruba
d77b300a95 Updated Rector to commit 2fc18bd2c0
2fc18bd2c0 [Rectify] Manual twice run rector against rules directory (#448)
2021-07-18 02:11:18 +00:00
Tomas Votruba
81db79d69e Updated Rector to commit b2c0a05d56
b2c0a05d56 [DeadCode] Skip RemoveAssignOfVoidReturnFunctionRector on used in next statement (#434)
2021-07-15 23:10:57 +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