Commit Graph

74 Commits

Author SHA1 Message Date
Tomas Votruba 7141ae6e56 Updated Rector to commit 8281a06bc8432d9d7f8e20842e3961df99a277bc
8281a06bc8 [PHP 7.2] Add error suppres support to each() rule (#5844)
2024-04-24 08:56:31 +00:00
Tomas Votruba a3b725126c Updated Rector to commit 775916c6416e68507e846421f04e2cabbfa2d737
775916c641 [Naming] Skip DateTime as individual in name resolver (#5842)
2024-04-23 09:06:40 +00:00
Tomas Votruba c041415e42 Updated Rector to commit 71c6dd929f07d6491847ee9004224441265d0197
71c6dd929f Support NullSafeProperty fetches in unused-code analysis (#5839)
2024-04-21 19:25:07 +00:00
Tomas Votruba 3e1d355024 Updated Rector to commit 4cd2622ccbe9989cdf76a16aa6d282b5ba73adb0
4cd2622ccb Support NullSafeMethod calls in unused-code analysis (#5838)
2024-04-21 19:23:11 +00:00
Tomas Votruba 3a03381bf8 Updated Rector to commit 3df5a626e5ae8e13aaef8abfc41a136dbf1f367e
3df5a626e5 Clean up SafeLeftTypeBooleanAndOrAnalyzer (#5819)
2024-04-12 09:51:06 +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 f2cac5e2a0 Updated Rector to commit 7d69fc226cab739ec6c47b09bfdd784a24445fe1
7d69fc226c [DeadCode] Skip $this instanceof in Trait on RemoveAlwaysTrueIfConditionRector (#5817)
2024-04-12 09:19:41 +00:00
Tomas Votruba be393d497b Updated Rector to commit fc250dd8da281cb79f5657d2f5d6c6c0053e54d1
fc250dd8da [DeadCode] Fix array callable with constructor args (#5770)
2024-03-24 14:10:21 +00:00
Tomas Votruba 9811962c70 Updated Rector to commit b4eb883e9110f50607ce2eed629c237b5e7e7356
b4eb883e91 [DeadCode] Skip isset() from property fetch from docblock on RemoveAlwaysTrueIfConditionRector (#5754)
2024-03-21 18:38:10 +00:00
Tomas Votruba 35d4ae5ad9 Updated Rector to commit d886cffeded58fb4b5a55182f4b98b796545c18e
d886cffede [build] Try removing scope aliases
2024-01-02 02:50:51 +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 66f7957611 Updated Rector to commit 130f07b3da5cd6024b1e03265f75e70666a95473
130f07b3da [DeadCode] Skip used by trait inside Closure on RemoveUnusedPrivateMethodRector (#4773)
2023-08-11 17:24:11 +00:00
Tomas Votruba e36ad5d27c Updated Rector to commit 6923113ff2994cfb0c76298c7dc7d038655fbc95
6923113ff2 [DeadCode] Skip used by trait on RemoveUnusedPrivateMethodRector (#4770)
2023-08-11 13:30:03 +00:00
Tomas Votruba fe7bab8799 Updated Rector to commit c0983f1000c1ca67b23d6da0c7f43eede90d14db
c0983f1000 Skip coalsce assign in RemoveUnusedPrivatePropertyRector (#4491)
2023-07-12 09:53:27 +00:00
Tomas Votruba 2d4dfa7604 Updated Rector to commit ce03029084e1d8c860de15ee6fcfef8f6f35dbdb
ce03029084 [DeadCode] Remove RemoveJustVariableAssignRector as often done on purpose or with side effect (#4450)
2023-07-09 10:36:52 +00:00
Tomas Votruba d16d5ab29c Updated Rector to commit 3bd0e9faa5e015df82ccf511e248b5ca3d168b33
3bd0e9faa5  [DeadCode] Skip used as closure on RemoveUnusedPrivateMethodRector  (#4413)
2023-07-03 16:48:28 +00:00
Tomas Votruba 127dce50b1 Updated Rector to commit 906a774db471fc98867c6e88a211386a829418ea
906a774db4 [DeadCode] Remove parent lookup on IsClassMethodUsedAnalyzer::isInArrayMap() (#4256)
2023-06-17 15:39:12 +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 9e103260ec Updated Rector to commit 2f3e9be0ae108c75f9de8fbf2ea92f0393ad9839
2f3e9be0ae [DX] Test BetterNodeFinder with Laravel container (#4106)
2023-06-08 14:23:03 +00:00
Tomas Votruba 687f5efeef Updated Rector to commit d9cf3d4b9f427691349d4c1fbe2160241c1585b8
d9cf3d4b9f Remove removeNode() from RemoveUnusedPrivatePropertyRector (#4092)
2023-06-06 11:55:37 +00:00
Tomas Votruba 45419321ce Updated Rector to commit 95d3dc93770718d2337a7addbfed021f6cad8072
95d3dc9377 [DeadCode] Remove parent lookup on RemoveUnusedPrivateMethodRector (#4005)
2023-05-28 21:02:39 +00:00
Tomas Votruba eb3e6c221d Updated Rector to commit ce12406878b202f9ceb1506a546e732ab1ca2716
ce12406878 Remove ChangeReadOnlyVariableWithDefaultValueToConstantRector overly complex and risky, better job for PHPStan (#3954)
2023-05-24 15:09:06 +00:00
Tomas Votruba 62ef1326dc Updated Rector to commit 8a74ea74d5501f5f850632c834878468eaa39b8e
8a74ea74d5 [DeadCode] Remove RemoveDuplicatedInstanceOfRector as hardly practical (#3936)
2023-05-23 13:59:54 +00:00
Tomas Votruba 89439d883f Updated Rector to commit 95b1789a871adeb6b6555949d3cf32b0b4060613
95b1789a87 Drop AttributeKey::SCOPE in ArrayCallableMethodMatcher (#3835)
2023-05-15 08:51:25 +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 46dd47dd4e Updated Rector to commit ac94ddd5bd269b17afc339f39af711c02d56b34a
ac94ddd5bd [PHPStan] Reduce PHPStan errors for narrow public - take 1 (#2672)
2022-07-16 14:24:54 +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 d755df61c1 Updated Rector to commit 36fe5d5d05
36fe5d5d05 [DeadCode] fix RemoveJustPropertyFetchForAssignRector for nested array dim fetch (#2427)
2022-06-04 09:21:35 +00:00
Tomas Votruba 9537927564 Updated Rector to commit c5f35e4a1d
c5f35e4a1d [DeadCode] Add RemoveJustPropertyFetchForAssignRector (#2423)
2022-06-03 10:11:45 +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 476869ebf4 Updated Rector to commit 129ce269d3
129ce269d3 [Core] Use ReflectionResolver to get ClassReflection when possible (#2226)
2022-05-04 10:46:11 +00:00
Tomas Votruba 5147929731 Updated Rector to commit 43aa4d91f7
43aa4d91f7 Add SameNamespacedTypeSpecifier (#2169)
2022-04-26 08:13:18 +00:00
Tomas Votruba 3a2aaafb14 Updated Rector to commit 3407066315
3407066315 [DX] Replace global BetterStandardPrinter from AbstractRector with autowired NodePrinterInterface for easier and specific re-use (#2036)
2022-04-09 22:42:24 +00:00
Tomas Votruba 5787368189 Updated Rector to commit 22f776aa17
22f776aa17 [DeadCode] Skip not identifier name on RemoveUnusedPrivateMethodRector (#2034)
2022-04-09 13:47:45 +00:00
Tomas Votruba 23019830ac Updated Rector to commit 99da81012c
99da81012c [Core] Refactor RectifiedAnalyzer to only exclude Class_ (#1681)
2022-01-15 17:05:09 +00:00
Tomas Votruba fd3e7425db Updated Rector to commit 4399f28ee1
4399f28ee1 [Core] Apply CREATED_BY_RULE attribute as array collection of applied Rector rule (#1600)
2021-12-31 10:33:05 +00:00
Tomas Votruba 1cfe2fe793 Updated Rector to commit c51fcbf5ba
c51fcbf5ba [Core] [DeadCode] Refactor RectifiedAnalyzer and ExprUsedInNextNodeAnalyzer (#1533)
2021-12-20 18:22:21 +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 2d7c98b0a1 Updated Rector to commit bc5462b8ae
bc5462b8ae [DeadCode][EarlyReturn] Handle RemoveUnusedVariableAssignRector + RemoveAlwaysElseRector (#1277)
2021-11-20 13:38:45 +00:00
Tomas Votruba 0fea0fdc92 Updated Rector to commit 08ce1d06ed
08ce1d06ed [Php70] Avoid error Undefined property: PhpParser\Node\Stmt\Class_:: on ThisCallOnStaticMethodToStaticCallRector (#1197)
2021-11-09 13:36:07 +00:00
Tomas Votruba 7f56f8ae35 Updated Rector to commit 66800f00f1
66800f00f1 [Scoped] Fixing Scoped build bin rector.php (#1174)
2021-11-07 04:15:35 +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 bf8d644cbf Updated Rector to commit c31cabf0b3
c31cabf0b3 [MYSQL_TO_MYSQLI] Restore Mysql to Mysqli Behaviour when used with Dead Code SetList (#1161)
2021-11-06 00:53:30 +00:00
Tomas Votruba 4743880dc6 Updated Rector to commit 23046668ed
23046668ed [PHPStan 1.0] Remove node naming visitors and re-use PHPStan ones (#1144)
2021-11-05 23:24:22 +00:00
Tomas Votruba a94a50e863 Updated Rector to commit e525dad6ab
e525dad6ab [PHPStan 1.0] Use Nette filesystem over phpstan filewriter (#1115)
2021-10-30 14:18:31 +00:00
Tomas Votruba 070eedc010 Updated Rector to commit fd5edffa38
fd5edffa38 [TypeDeclaration] Add TypedPropertyFromStrictGetterMethodReturnTypeRector (#1048)
2021-10-23 21:09:26 +00:00