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
d3dfbb4638
Updated Rector to commit 2f84187dc1d6db09788adf8346339d6854902db5
...
2f84187dc1
Remove RenameNamespaceRector, better handle by IDE or explicit RenameClassRector (#3979 )
2023-05-26 21:28:23 +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
e74948ca4a
Updated Rector to commit 69220a7b2d424babad1a6560dc546295d4e9ebe5
...
69220a7b2d
[Traverser] Remove beforeTraverse() in StmtKeyNodeVisitor (#3955 )
2023-05-24 15:18:00 +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
b1c6bc3189
Updated Rector to commit 3f0b5649057005937557917b39212c3a6ac4343d
...
3f0b564905
[Traverser] Refactor set stmt_key set 0 for Else_, ElseIf, Catch_, Finally_, removing tweak start token pos on BetterNodeFinder (#3934 )
2023-05-23 16:30:10 +00:00
Tomas Votruba
215231b596
Updated Rector to commit 112e490e3ca0d5949c97189c31fd4aef8833cfc1
...
112e490e3c
Remove PARENT_NODE from CatchExceptionNameMatchingTypeRector (#3929 )
2023-05-22 14:09:12 +00:00
Tomas Votruba
7eb9eec801
Updated Rector to commit 6c3f2cdf953587cdf0945c7fb6c05fd0083c25fc
...
6c3f2cdf95
[DX] Deprecate parent node attribute, allow return of NodeTraverser::* in refactor() method (#3922 )
2023-05-22 10:21:31 +00:00
Tomas Votruba
88a767b244
Updated Rector to commit 71f00d95fc16f31f7af4a524d5e179f467089e16
...
71f00d95fc
[1.0] Replace NodeConnectingVisitor with ParentConnectingVisitor (#3900 )
2023-05-22 08:41:41 +00:00
Tomas Votruba
f6d5507bbf
Updated Rector to commit d90c645a1fbe976efee82c32fd6a5a021c33645a
...
d90c645a1f
[DX] Try removing resolved name attribute, as namespacedName is already part of named nodes (#3921 )
2023-05-22 08:26:02 +00:00
Tomas Votruba
060e167ec1
Updated Rector to commit edc60fc2e9b431a69b66eac9318e9af3eb340d84
...
edc60fc2e9
[Traverser] Using bool value for assigned_to attribute on variable assign (#3918 )
2023-05-22 07:35:57 +00:00
Tomas Votruba
c1ef3ac6b3
Updated Rector to commit 974a1bed608c4dedb4190e5fae4760c0d9bdfc72
...
974a1bed60
[Traverser] Clean up nullable stmt_key check on BetterNodeFinder::resolveNeighborNextStmt() take 2 (#3904 )
2023-05-20 19:24:20 +00:00
Tomas Votruba
d597a0e3f6
Updated Rector to commit 6b20ed1b7507740b9568ef1b6cec125849172f9e
...
6b20ed1b75
[Traverser] Clean up: Remove afterTraverse() on StmtKeyNodeVisitor (#3903 )
2023-05-20 17:12:03 +00:00
Tomas Votruba
cb0cb645f5
Updated Rector to commit e26c80b297515d924f61ed8518a42cdcbe666e19
...
e26c80b297
[Traverser] Clean up FileWithoutNamespace check on StmtKeyNodeVisitor.php (#3901 )
2023-05-20 15:16:20 +00:00
Tomas Votruba
51a6ca5220
Updated Rector to commit aef093ee8a5a19bb1351345770ac761ae9e0f655
...
aef093ee8a
[Traverser] Remove next attribute in BetterNodeFinder (#3887 )
2023-05-19 11:20:36 +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
ab605a51c8
Updated Rector to commit 1c2865afd4556f1dc27b94e5d18145680c8e7497
...
1c2865afd4
[Performance] Remove parent lookup on StmtKeyNodeVisitor (#3886 )
2023-05-18 15:38:11 +00:00
Tomas Votruba
765b0f35a3
Updated Rector to commit 9e8880bc4acd34095b0879dbcb514133f1f9a01e
...
9e8880bc4a
Cherry-pick StmtKeyNodeVisitor check not Node (#3883 )
2023-05-17 19:54:55 +00:00
Tomas Votruba
95d72b47e8
Updated Rector to commit c018b8b71b32e9654f7e884a20573a741184572e
...
c018b8b71b
[Traverser] Add StmtKeyNodeVisitor to remove next and prev attribute on BetterNodeFinder (#3870 )
2023-05-17 13:57:56 +00:00
Tomas Votruba
3f89b13d0e
Updated Rector to commit 16f3c961ead671df489ff9217d61cdfe40e09ec0
...
16f3c961ea
[CodeQuality] Add typed property support to IssetOnPropertyObjectToPropertyExistsRector (#3876 )
2023-05-17 08:38:16 +00:00
Tomas Votruba
ae79c1dc04
Updated Rector to commit 83a4a60b4c48d017694f2a0867f821c33ff5b27c
...
83a4a60b4c
Drop AttributeKey::SCOPE in MethodParameterTypeResolver (#3873 )
2023-05-16 17:11:44 +00:00
Tomas Votruba
f844a1b873
Updated Rector to commit 8be7ac6830f0f7191af7118814c779da3ebd9b56
...
8be7ac6830
Remove unused offset correction (#3843 )
2023-05-14 15:14:10 +00:00
Tomas Votruba
29b68cfe1e
Updated Rector to commit 25d01632e1b6a3fd0b1b1e86c232079118828983
...
25d01632e1
Remove unused narrowArrayKeysUnionType() patch for PHPStan types (#3840 )
2023-05-14 14:05:31 +00:00
Tomas Votruba
33a05b3e73
Updated Rector to commit 07a7876d8a4c93097c966730acbc4aeb7d9e1765
...
07a7876d8a
[CodingStyle] Remove OrderAttributesRector, as rather coding standard and does not have specific PSR example (#3838 )
2023-05-14 13:22:44 +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
6a4afec13c
Updated Rector to commit 7b3612414201f08bb451d15ea3e1b94e4b61a0a8
...
7b36124142
Fix ChangeReadOnlyVariableWithDefaultValueToConstantRector for dupicated variable override (#3830 )
2023-05-14 00:09:02 +00:00
Tomas Votruba
2ef8a4b237
Updated Rector to commit 39ae81f5b6477247c4345d8496ef368ff359aaa2
...
39ae81f5b6
Fix instanceof check (#3829 )
2023-05-13 20:26:08 +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
c27fd387f2
Updated Rector to commit 623a0770e9f64738b6e88eb02691fc954b1e230b
...
623a0770e9
Fix integer range phpdoc types being treated as useless (#3825 )
2023-05-13 17:31:00 +00:00
Tomas Votruba
42ce080a7a
Updated Rector to commit 156d28cc16a35822d6739d8c5337efa6fddda1dc
...
156d28cc16
Remove unused PregMatchTypeCorrector, the 3rd param in preg_match_* is now handled natively by PHPStan (#3824 )
2023-05-13 17:27:05 +00:00
Tomas Votruba
da149bb5b0
Updated Rector to commit 645071a650fc50d7e084378facaebcc868a52ba1
...
645071a650
Add test fixture for sprintf number + make use of getArgs() to get always an Arg type (#3822 )
2023-05-13 17:20:02 +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
6da6d1d775
Updated Rector to commit 89bc4d80f5dd4c7e81a616c8b58a921a1470a47b
...
89bc4d80f5
Make use of StmtsAwareInterface (#3781 )
2023-05-10 05:18:05 +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
b61a41bf01
Updated Rector to commit d13351c5b5800fdd9a25f1d8d9198749898ff2f6
...
d13351c5b5
Apply Rector + coding standard (#3745 )
2023-05-06 18:23:35 +00:00
Tomas Votruba
1e2a0a6217
Updated Rector to commit 8b48059c347d98d191478504da236c4c2ba1e667
...
8b48059c34
[NodeTypeResolver] Simplify NodeTypeResolver: remove IdentifierTypeResolver dependency (#3733 )
2023-05-05 08:16:16 +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
b2bc547d46
Updated Rector to commit 0451834fd58ba9a7fddde47f47a60c4911388738
...
0451834fd5
[NodeTypeResolver] Improve ParametersAcceptorSelectorVariantsWrapper by directly use ParametersAcceptorSelector::combineAcceptors() (#3706 )
2023-04-29 07:20:27 +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
7662f7e333
Updated Rector to commit 0a086a89cde5f219a5cfabcb34a6e5598a2e6e18
...
0a086a89cd
NodeTypeResolver: prevent unncessary reflection calls (#3647 )
2023-04-22 08:05:51 +00:00
Tomas Votruba
72d660b556
Updated Rector to commit 20a586577e11b0fca6dc41ee9c7979f5d10725d1
...
20a586577e
Regenerate preload (#3641 )
2023-04-20 16:02:06 +00:00
Tomas Votruba
ef3f017e7b
Updated Rector to commit fff22320cedf04f5aa2449592f1924bc5ebc5551
...
fff22320ce
Simplify AccessoryNonEmptyStringTypeCorrector (#3636 )
2023-04-20 13:44:42 +00:00
Tomas Votruba
91a5e19669
Updated Rector to commit ff899747379670edd250e653764e51ae592aac16
...
ff89974737
NodeTypeResolver: remove unnecessary check (#3626 )
2023-04-20 12:15:14 +00:00
Tomas Votruba
cee0e8f32f
Updated Rector to commit 9f5d6b9c9ab814382bacc1c127e1807ecc7aaec0
...
9f5d6b9c9a
Remove runtime autoloading from NodeTypeResolver (#3627 )
2023-04-20 10:43:06 +00:00
Tomas Votruba
c333025ba2
Updated Rector to commit 34e1cf13fdd613cb732d082cfcfa86bbdb7db5dc
...
34e1cf13fd
NodeTypeResolver: cheap checks first in isObjectTypeOfObjectType() (#3621 )
2023-04-16 15:11:00 +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