Commit Graph

495 Commits

Author SHA1 Message Date
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
bc5f802deb Updated Rector to commit d3e37c45f144a5a100c94847cd1324f972f05089
d3e37c45f1 [NodeTypeResolver] Reduce getAttribute call on PHPStanNodeScopeResolver (#4162)
2023-06-10 13:04:39 +00:00
Tomas Votruba
f82e30a026 Updated Rector to commit ae874efa148e6d5a031503892a6307824b4d7003
ae874efa14 Remove SourceLocatorProviderInterface as unused (#4126)
2023-06-08 22:00:17 +00:00
Tomas Votruba
78750eb011 Updated Rector to commit a43321f493fe7772a427402c8bb15959fc24ca8b
a43321f493 [NodeTraverser] Traverse fill stmt_key after FileWithoutNamespaceNodeTraverser on PHPStanNodeScopeResolver (#4103)
2023-06-07 08:03:23 +00:00
Tomas Votruba
69b9b53c58 Updated Rector to commit aa0c9af2cc7f25d44f38c206da114268f0a397af
aa0c9af2cc Reduce count() usage on PHPStanNodeScopeResolver (#4102)
2023-06-07 07:52:19 +00:00
Tomas Votruba
348aef8907 Updated Rector to commit f4f94bcd4bb9fd9819ae11b1d2b06b74a078c205
f4f94bcd4b [NodeTraverser] Remove double apply FileWithoutNamespace, remove recursive lookup stmts on BetterStandardPrinter (#4097)
2023-06-07 02:01:28 +00:00
Tomas Votruba
b6483cd8b4 Updated Rector to commit dab448289eef1d79fe75e61f8fda1da1b7f9eaab
dab448289e [NodeTypeResolver] Handle crash after next exit() on no namespaced code after removal next attribute (#4074)
2023-06-05 09:55:14 +00:00
Tomas Votruba
9a2931cbe4 Updated Rector to commit bdc2fc99631f67eeb2d96e2cf0906279c2561c9a
bdc2fc9963 [NodeManipulator] Remove parent lookup on PropertyFetchAssignManipulator (#4037)
2023-06-01 08:56:46 +00:00
Tomas Votruba
d8c877db45 Updated Rector to commit 33d05d3b9ee7838d254edf58dbd05a355891b48b
33d05d3b9e Refactor RenameVariableToMatchMethodCallReturnTypeRector to StmtsAwareInterface (#3977)
2023-05-26 14:00:49 +00:00
Tomas Votruba
f3a4204585 Updated Rector to commit 6c78d67c41b6445159db4d1c0841d1690d4ac2fe
6c78d67c41 Revert [NodeTypeResolver] Remove parent attribute usage on PHPStanNodeScopeResolver for next UnreachableStatementNode detection (#3970) (#3971)
2023-05-26 10:03:50 +00:00
Tomas Votruba
a32354e5eb Updated Rector to commit 3eadce164860c1d4465e40fd5e07fb11d3aa1b99
3eadce1648 [NodeTypeResolver] Reduce parent attribute usage on PHPStanNodeScopeResolver (#3943)
2023-05-24 04:20:01 +00:00
Tomas Votruba
11f05b657f Updated Rector to commit 24f8610224663ef71ca2e4007ef89997303f53b9
24f8610224 [NodeTypeResolver] Remove next node on PHPStanNodeScopeResolver (#3888)
2023-05-18 18:55:12 +00:00
Tomas Votruba
b381887836 Updated Rector to commit ad7012054f92137311b202c0322a62dd480fe3bb
ad7012054f [Traverser] Add ScopeResolverNodeVisitorInterface (#3831)
2023-05-14 10:54:13 +00:00
Tomas Votruba
722cf05380 Updated Rector to commit 2406dc813a3eba3e25522fcb69af879fbc4a60cd
2406dc813a [Traverser] Add ByRefReturnNodeVisitor (#3826)
2023-05-13 18:07:42 +00:00
Tomas Votruba
6eead6b8f7 Updated Rector to commit a74c640bc1043f19006c7403461108f61d8bf2a5
a74c640bc1 [Traverser] Add ByRefVariableNodeVisitor (#3821)
2023-05-13 17:37:31 +00:00
Tomas Votruba
cd43839d2e Updated Rector to commit 1828db5f0f3b8424ac0183a5672f58c6689d3233
1828db5f0f [Traverser] Add StaticVariableNodeVisitor (#3817)
2023-05-13 10:37:59 +00:00
Tomas Votruba
41a479f910 Updated Rector to commit 0d3a9a263b6649548270dd503b8ac3bb0df107c4
0d3a9a263b [Traverser] Add GlobalVariableNodeVisitor (#3816)
2023-05-13 10:12:10 +00:00
Tomas Votruba
bf29cbeb9e Updated Rector to commit 376f6cbd4a51290c63a42d77ac9fc9a3a5d0ab67
376f6cbd4a De-duplicate isAnonymous check (#3782)
2023-05-09 19:13:23 +00:00
Tomas Votruba
17b11d7934 Updated Rector to commit f6972de10fb2cee85fe3559c58f71b5e9fe4811e
f6972de10f Cache on successful file processing (#3614)
2023-05-01 21:32:35 +00:00
Tomas Votruba
65abab80de Updated Rector to commit 5c1be93b80c3f7bfd8bd158ba0a55501a7acaefc
5c1be93b80 PHP 8.2 is supported (#3717)
2023-05-01 01:36:32 +00:00
Tomas Votruba
6773471488 Updated Rector to commit f19c86c993bb1fe1b487fce587d6582ef9f29a6a
f19c86c993 [NodeTypeResolver] Add AssignedToNodeVisitor (#3694)
2023-04-27 18:21:20 +00:00
Tomas Votruba
9b243e6539 Updated Rector to commit 3a9bebf657bfdf7cb5b3ab59b3471987dd6a35f6
3a9bebf657 [CodeQuality] Handle crash on BinaryOp/Mul and variable variable: 9364name on IntvalToTypeCastRector (#3608)
2023-04-12 13:24:05 +00:00
Tomas Votruba
1144dcd388 Updated Rector to commit 54a340ce750f48aa3e09f65e02df9dc6fa2206a0
54a340ce75 Revert Cache on successful file processing (#3604) (#3607)
2023-04-11 08:29:27 +00:00
Tomas Votruba
87f8efd4a8 Updated Rector to commit 4c56874ee79f5dd3ea2e97ea12e13335ebd6765b
4c56874ee7 Cache on successful file processing (#3604)
2023-04-11 06:22:54 +00:00
Tomas Votruba
9038a0d99c Updated Rector to commit 1a91d04c5256e451c744eeb848aaa0182dd227c5
1a91d04c52 [CodeQuality] Add cast scalar support on ReturnTypeFromStrictScalarRector (#3544)
2023-04-01 10:14:17 +00:00
Tomas Votruba
dc695d1925 Updated Rector to commit d0d87702a7b9a8140575d4bee3e9695199bb6338
d0d87702a7 [NodeTypeResolver] Make NodeTraverser as property on PHPStanNodeScopeResolver (#3533)
2023-03-28 19:22:16 +00:00
Tomas Votruba
0b3c5d9bcc Updated Rector to commit f22ddc8f18ef345d5e9c99cbb667548c3c854d7d
f22ddc8f18 Add not null compare to FlipTypeControlToUseExclusiveTypeRector (#3513)
2023-03-23 23:21:34 +00:00
Tomas Votruba
6fea23a820 Updated Rector to commit d9dc05621793de2fa23815b73e8db94c8f56b30d
d9dc056217 [Core] Remove RenamedClassesSourceLocator (#3454)
2023-03-04 09:04:54 +00:00
Tomas Votruba
57f48de22e Updated Rector to commit ed16cab5a2fa6982539e06ad70ac9c119c7dc346
ed16cab5a2 [Php80] Add typed property Closure support on ClassPropertyAssignToConstructorPromotionRector (#3453)
2023-03-04 08:55:37 +00:00
Tomas Votruba
b66a82808b Updated Rector to commit d9dc05621793de2fa23815b73e8db94c8f56b30d
d9dc056217 [Core] Remove RenamedClassesSourceLocator (#3454)
2023-03-04 08:55:31 +00:00
Tomas Votruba
7d0f151a40 Updated Rector to commit a2cd7283fbf2d6b2904016c51e3f4a545caa0256
a2cd7283fb Typo fix comment php 7.3 compat on rector workflow (#3432)
2023-03-01 13:00:30 +00:00
Tomas Votruba
f913db6069 Updated Rector to commit 62d8685ce5b653a71014231d6a7dbf6934c30e60
62d8685ce5 Reuse anonymous class detection via ClassAnalyzer on PHPStanNodeScopeResolver (#3393)
2023-02-19 17:53:18 +00:00
Tomas Votruba
c97a6c91a3 Updated Rector to commit c65e60f70b628fd0602a9107189a1e9b6f0d3adf
c65e60f70b [Php56] Skip after infinite loop on AddDefaultValueForUndefinedVariableRector (#3390)
2023-02-19 14:50:05 +00:00
Tomas Votruba
66cc09e8b6 Updated Rector to commit d118ae38e265476684bcf566b87301cca5716ed9
d118ae38e2 Use phpstan-deprecation-rules (#3330)
2023-02-02 09:24:12 +00:00
Tomas Votruba
764b0a2692 Updated Rector to commit cb5b01223d46272004e947f122ae1e36d516f83a
cb5b01223d [automated] Re-Generate Nodes/Rectors Documentation (#3259)
2023-01-01 00:36:31 +00:00
Tomas Votruba
1ccd0845db Updated Rector to commit eadd54081521c7d426a8d4249157f6239dd2bc8a
eadd540815 [Core] Remove ParentAttributeSourceLocator (#3257)
2022-12-31 10:11:25 +00:00
Tomas Votruba
ff75474d25 Updated Rector to commit 39f43c01cbc34a8bb064f056d39f1b8d2bd7a152
39f43c01cb Use Symfony ~6.1.x to avoid crash on update vendor-patch (#3134)
2022-12-01 14:10:32 +00:00
Tomas Votruba
18779fffd6 Updated Rector to commit 4140e7807611cb29cfcdd768e86a9203b0c69b9b
4140e78076 [Core] Handle no scope crash on foreach value with array item variable (#3068)
2022-11-16 14:19:15 +00:00
Tomas Votruba
73bd079d75 Updated Rector to commit 21ead88cdeef5013e635c9e4eb2a22456d6e93e9
21ead88cde [Core] Improve performance: remove unnecessary loop StmtsAwareInterface to fill Scope on PHPStanNodeScopeResolver (#3048)
2022-11-11 13:35:09 +00:00
Tomas Votruba
f9414241aa Updated Rector to commit 64d0a8375814c9da2fe93036e4c0fa5fbf06aa25
64d0a83758 [Php80][CodeQuality] Handle crash on ExplicitMethodCallOverMagicGetSetRector+ChangeSwitchToMatchRector (#3034)
2022-11-05 11:18:42 +00:00
Tomas Votruba
ddc864eff4 Updated Rector to commit 7b7d5a4b8bb61b52a298cbf941b7df131897f55b
7b7d5a4b8b Revert string specific identifier values on Type Mappers (#3024)
2022-11-01 14:15:38 +00:00
Tomas Votruba
e87c848801 Updated Rector to commit ff4d797c73a51a3fb12cb644c6911ecd7313ec1b
ff4d797c73 [DeadCode][EarlyReturn] Handle RemoveUnusedVariableAssignRector+RemoveAlwaysElseRector (#2964)
2022-10-02 20:24:31 +00:00
Tomas Votruba
28c719d1fb Updated Rector to commit 8961d20f56fa4b39bb21feec1f24422398f13dba
8961d20f56 [DX] Localize multi instance checker and privates accessor from Symplify + bump to PHPStan 1.8.3 (#2883)
2022-09-01 19:30:48 +00:00
Tomas Votruba
6c20d257e3 Updated Rector to commit d3d18d442c8f2ca64f5ebef5c7a7541938fa1e2a
d3d18d442c keep relative paths
2022-09-01 09:30:44 +00:00
Tomas Votruba
dbb408c5c9 Updated Rector to commit c579c2873c4511eb29e337a12b62cadd3978f1e7
c579c2873c [scoper] unprefix SmartFileInfo
2022-08-29 14:03:46 +00:00
Tomas Votruba
36d955f51d Updated Rector to commit cb7a84c8bb0343205b7c9ce5d6442187dd089b28
cb7a84c8bb [Naming] Add ArrowFunction support on RenameParamToMatchTypeRector (#2818)
2022-08-23 16:16:02 +00:00
Tomas Votruba
5b360ddf1d Updated Rector to commit f936077f5fd5428f97d49e58f1e2a22db2c78978
f936077f5f Fix performance issue (#2774)
2022-08-18 09:32:38 +00:00
Tomas Votruba
f7bb838601 Updated Rector to commit f0425bc3cb3d5855da1bff9c38b872a9003e357b
f0425bc3cb Improve scope, PHPStan extension types (#2747)
2022-08-09 13:39:17 +00:00
Tomas Votruba
1d28ca109c Updated Rector to commit 5ec4cff203f68d9578719b54ce3a145efb32bc79
5ec4cff203 [Php56] Handle jump not Expression stmt next initialized on AddDefaultValueForUndefinedVariableRector (#2725)
2022-08-02 06:46:18 +00:00