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
c1e94593a2
Updated Rector to commit a87a9d8e026c3499c980facf1bf24bd51b69c924
...
a87a9d8e02
Remove NEXT_NODE from ChangeIfElseValueAssignToEarlyReturnRector (#3914 )
2023-05-21 15:17:01 +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
219ab6ff69
Updated Rector to commit ae78ef15d1d27bd5f9df02457d02a0fb7d7c3c20
...
ae78ef15d1
Remove tweak require symplify/smart-file-system (#3882 )
2023-05-17 15:38:16 +00:00
Tomas Votruba
569c7dc229
Updated Rector to commit 5e3afcbdafde000f950ee844f22a2b020216cd82
...
5e3afcbdaf
Revert Cleanup CachedContainer invalidation (#3867 ) (#3880 )
2023-05-17 15:07:40 +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
c7f7b9b6bb
Updated Rector to commit f0141afbc14283e1d7b2f40b5d30e42ab0045623
...
f0141afbc1
Cleanup CachedContainer invalidation (#3867 )
2023-05-17 13:02:11 +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
9ae4a949d6
Updated Rector to commit cc3354aa8e764fd028f5de5ac1fb76e9304bdbbd
...
cc3354aa8e
[Parser] Remove next attribute usage on InlineCodeParser (#3864 )
2023-05-15 17:50:04 +00:00
Tomas Votruba
bd630a0db2
Updated Rector to commit 3bdd519e03e957461a48105820c20b35706f036e
...
3bdd519e03
Dump dependency container and re-use it - 35% faster test-suite (#3809 )
2023-05-15 15:58:52 +00:00
Tomas Votruba
8dce3beed1
Updated Rector to commit c4bab4a7778e11715d720391c5daaa7a89e975ce
...
c4bab4a777
Remove next from ExplicitBoolCompareRector (#3857 )
2023-05-15 12:33:28 +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
281f59d306
Updated Rector to commit 7f49261e293df93ac9a81dd49e59ad4abed9ed41
...
7f49261e29
Make ReturnNeverTypeRector work with type declaration, add it to PHP 8.1 set (#3852 )
2023-05-14 22:40:25 +00:00
Tomas Votruba
9496663b9b
Updated Rector to commit 7a32610a70a03adf6824fec5f055a63b6355f56b
...
7a32610a70
[Util] Introduce FileHasher (#3833 )
2023-05-14 18:24:01 +00:00
Tomas Votruba
e02a2a45af
Updated Rector to commit 33e59eeadf3da67db8dcdebfc8bef3701a17592a
...
33e59eeadf
Remove UpdateFileNameByClassNameFileSystemRector niche rule that was added just for example sake (#3849 )
2023-05-14 16:07:53 +00:00
Tomas Votruba
18b46b9b72
Updated Rector to commit 656836093ea0abd96860af062fdf6f67afe1f504
...
656836093e
[CodeQuality] Deprecate NarrowUnionTypeDocRector as focused on docblocks, and moving to type declarations (#3848 )
2023-05-14 15:57:29 +00:00
Tomas Votruba
98e78b2b7c
Updated Rector to commit ec61753f20dbabd4b4b350f9d7a994ac61315e82
...
ec61753f20
[PHP 8.0] Deprecate old UnionTypesRector that is dangerously moving docblocks, use type declaration rules instead (#3846 )
2023-05-14 15:41:53 +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
f613b7a98a
Updated Rector to commit 499fdbc3af1779929444c170a778678e28be957a
...
499fdbc3af
Drop AttributeKey::SCOPE in various classes (#3836 )
2023-05-14 10:01:33 +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
c8378bb7c9
Updated Rector to commit ed494161ee091037ea7cb791e569abb1bf2ff990
...
ed494161ee
Drop AttributeKey::SCOPE in ClassRenamer (#3806 )
2023-05-13 13:41: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
588cf413f9
Updated Rector to commit 55410904edd98b4a243c12b140cfda9ce171f919
...
55410904ed
Prevent unnecessary IO in tests (#3814 )
2023-05-12 11:55:32 +00:00
Tomas Votruba
b98616208b
Updated Rector to commit 257395af44e623a0f3a8827ebab4c7d9afbeef36
...
257395af44
[Testing] Remove unnecessary iterator_to_array() on FixtureFileFinder (#3800 )
2023-05-11 16:55: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
7ec53f4a70
Updated Rector to commit e6fd26353fa114ac92ba4b0c9b572f508b850e7f
...
e6fd26353f
Get rid of in the (#3780 )
2023-05-09 16:39:58 +00:00
Tomas Votruba
3f1ac1628e
Updated Rector to commit 6655c2c4e3d72d513c38162da5087bbc2df25b83
...
6655c2c4e3
[PHPStanStaticTypeMapper] Reduce bool check on UnionTypeMapper (#3778 )
2023-05-09 07:42:34 +00:00
Tomas Votruba
4bf474e653
Updated Rector to commit be53013ca3dff5b3eca8cdb3e688d744585e2557
...
be53013ca3
[CodeQuality] Remove SimplifyIfExactValueReturnValueRector, as overly defensive + InlineSimplePropertyAnnotationRector as purely coding standard area (#3764 )
2023-05-07 19:35:01 +00:00