Commit Graph

487 Commits

Author SHA1 Message Date
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
Tomas Votruba a9e67f6f71 Updated Rector to commit a01813086429b7548a4ef015cc874471c169da65
a018130864 [DowngradePhp81] Handle no scope on DowngradeFirstClassCallableSyntaxRector inside ArrayItem (#2709)
2022-07-27 08:02:59 +00:00
Tomas Votruba e87c453b7e Updated Rector to commit a66e6530decedb25b89c0049da402ec5828034b3
a66e6530de [Transform] Handle crash string in EnumCase on StringToClassConstantRector (#2680)
2022-07-18 23:37:02 +00:00
Tomas Votruba b8d580b548 Updated Rector to commit d1f91502773e1cc2de6fc5c7ee7b2077165f6762
d1f9150277 [CodeQuality] Handle crash attribute used on trait on CallableThisArrayToAnonymousFunctionRector (#2675)
2022-07-18 14:32:34 +00:00
Tomas Votruba 606cd7be37 Updated Rector to commit 8eedf1878f6882c8cba5b696613828a6ae15790d
8eedf1878f [Php71] Skip First Class Callable on RemoveExtraParametersRector (#2622)
2022-07-03 17:06:40 +00:00
Tomas Votruba fbc13bfea3 Updated Rector to commit e6e5895517eb301f3fa3b00759b06876cacde836
e6e5895517 [Naming] Skip used in arrow function args on RenameVariableToMatchMethodCallReturnTypeRector (#2599)
2022-07-01 07:39:49 +00:00
Tomas Votruba a0705ea3d6 Updated Rector to commit 6845975035
6845975035 [Core] Replace deprecated ->enterCatch() with enterCatchType() (#2548)
2022-06-25 16:12:40 +00:00
Tomas Votruba 1c6f1d1b92 Updated Rector to commit 4eeadae7bf
4eeadae7bf [Php56] Skip multiple catch with same variable on AddDefaultValueForUndefinedVariableRector (#2533)
2022-06-20 07:09:14 +00:00
Tomas Votruba 36fef87f0f Updated Rector to commit 372e030523
372e030523 [Core] Handle parent return/assign from FuncCall with No Scope (#2525)
2022-06-19 08:24:30 +00:00