637 Commits

Author SHA1 Message Date
Tomas Votruba
3c6c1c03f8 Updated Rector to commit a2f70054a7d976acd2c73b06789095b998829be6
a2f70054a7 [DocBlock] Update docblock contents right in the rule (#4999)
2023-09-11 21:30:42 +00:00
Tomas Votruba
f73bcd4ef8 Updated Rector to commit c97e4ffb0534d388b5f51508491916f54d3f342a
c97e4ffb05 [Naming] Remove matchesStringName() check completely from NodeNameResolver, including endsWith() method - use getName() and compare directly instead (#4954)
2023-09-09 22:49:40 +00:00
Tomas Votruba
326e84f967 Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
7078b51a7c [TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890)
2023-09-01 11:10:35 +00:00
Tomas Votruba
73a1ef4a72 Updated Rector to commit d8d31debc51ab5df1d30655846bb0fbd9f76039b
d8d31debc5 [Performance] Use more performance spl_object_id() (#4876)
2023-08-28 17:41:52 +00:00
Tomas Votruba
8d42e37dfd Updated Rector to commit 00f736f054372cca311469fec02b46edd5159b9a
00f736f054 Fix RenamePropertyToMatchTypeRector to skip Laravel collections and avoid accident rename (#4811)
2023-08-18 09:06:56 +00:00
Tomas Votruba
93ce3c4606 Updated Rector to commit ef35a4957b1afbede20679d94529393f4e6d1286
ef35a4957b [DX] Cleanup few dev dependencies to lower dependency-tree load (#4650)
2023-08-04 17:51:05 +00:00
Tomas Votruba
1814d573d8 Updated Rector to commit e380cf8fdb65fe9929ed047dafdd49fadb00e01c
e380cf8fdb [DX] Make MoneyFormatToNumberFormatRector wrap func call directly to keep simple (#4653)
2023-08-04 17:46:10 +00:00
Tomas Votruba
92b9fdfd95 Updated Rector to commit fbcd7cf7e6c61be3ad014eebe50ff6c83e8a202e
fbcd7cf7e6 Remove resolveFromNodeWithScopeCountAndFallbackName() as unused (#4652)
2023-08-04 17:28:42 +00:00
Tomas Votruba
81777836bc Updated Rector to commit cbc026e3245d744eea5cf1fc48f3722f67b62173
cbc026e324 [DX] Cleanup ForRepeatedCountToOwnVariableRector counter (#4651)
2023-08-04 17:15:45 +00:00
Tomas Votruba
aae549741f Updated Rector to commit 0cb3fd0feb464b4568e07607a05c794637aa2862
0cb3fd0feb [Php73] Handle crash Type Error on JsonThrowOnErrorRector (#4626)
2023-08-01 10:55:14 +00:00
Tomas Votruba
174847774d Updated Rector to commit c94645b3ab7debe9c00531597c1b896080a2cf9d
c94645b3ab [Performance] [PostRector] Reduce repetitive resolve uses statements on NameImportingPostRector (#4579)
2023-07-22 10:56:32 +00:00
Tomas Votruba
474e8a76ec Updated Rector to commit 28412a49f7bd52094196e659ec0c68f9642c08b1
28412a49f7 [Naming] Skip used on next foreach on RenameForeachValueVariableToMatchExprVariableRector (#4469)
2023-07-10 10:56:25 +00:00
Tomas Votruba
994045415a Updated Rector to commit ad7d9b12ea0fa8bba78be8d0348daa6ecffe3abe
ad7d9b12ea [DX] Always init $this->hasChanged on Rector rule to ensure the flag is reset on same call on different file (#4454)
2023-07-09 11:49:50 +00:00
Tomas Votruba
50857a197a Updated Rector to commit 5ed67fb6cfd7bdb79ac993797123f25e78d61d11
5ed67fb6cf Cleanup RenameForeachValueVariableToMatchExprVariableRector (#4453)
2023-07-09 11:25:27 +00:00
Tomas Votruba
6981c70c9a Updated Rector to commit 9ed8c21b127cdd45a28307d5fc41668f867f4ef4
9ed8c21b12 [DeadCode] Remove findFirstPrevious() usage on UselessIfCondBeforeForeachDetector (#4388)
2023-07-01 09:41:56 +00:00
Tomas Votruba
6e8d9f01fe Updated Rector to commit 9ff238819b2cfed103b30766d2c0e33135abed38
9ff238819b apply cs
2023-06-29 10:02:47 +00:00
Tomas Votruba
bbcd259217 Updated Rector to commit 6947eb7c4cf8cefe0e7a4cb95bbae23ab64362bd
6947eb7c4c [NodeTypeResolver] Only use FileWithoutNamespaceNodeTraverser once on NodeScopeAndMetadataDecorator (#4369)
2023-06-27 20:26:20 +00:00
Tomas Votruba
a3231bb81d Updated Rector to commit 40a1f34b12c548f7be05f02a084be54e8374a58a
40a1f34b12 [Naming] Remove parent lookup on UseImportsResolver (#4367)
2023-06-27 17:32:34 +00:00
Tomas Votruba
4c49964fc9 Updated Rector to commit 5c1fd4e0e38ad79fa64669ae8ba3ba6fb64cf051
5c1fd4e0e3 [Naming] Remove BreakingVariableRenameGuard::isUsedInIfAndOtherBranches() to remove previous by types (#4319)
2023-06-22 18:08:32 +00:00
Tomas Votruba
577f0343f5 Updated Rector to commit 57e2712bd04d491826cc60afa9e003c54e8add96
57e2712bd0 Move AddMethodParentCallRector to Symfony Rector (#4301)
2023-06-20 08:35:19 +00:00
Tomas Votruba
81bbd7dc72 Updated Rector to commit 9e3849f2260a0072f9427cd314db2c276c461ce2
9e3849f226 [Naming] Remove parent lookup on VariableAndCallAssignMatcher (#4294)
2023-06-19 19:54:45 +00:00
Tomas Votruba
296985db95 Updated Rector to commit 70287f1c96f3814ceb544491d03baae3c03f8d65
70287f1c96 [Naming] Remove parent lookup on ForeachMatcher (#4293)
2023-06-19 19:32:10 +00:00
Tomas Votruba
4d62037b71 Updated Rector to commit 0893df020e01529a72933efee0c085752e24c4d2
0893df020e Skip rewindable generator (#4282)
2023-06-19 11:00:56 +00:00
Tomas Votruba
fba1230ae5 Updated Rector to commit 0d9828f9d90ee0dd4b50f759c150575785cce6b8
0d9828f9d9 [automated] Apply Coding Standard (#4265)
2023-06-18 00:34:36 +00:00
Tomas Votruba
03abca7861 Updated Rector to commit 37b10c6db20c61c11f8d6e17933aaff378b9344d
37b10c6db2 [TypeDeclaration] Remove parent lookup on ParamTypeByMethodCallTypeRector (#4243)
2023-06-16 14:35:33 +00:00
Tomas Votruba
8ae00bd588 Updated Rector to commit a8339a34c179105fe8073266998abdc5479486dd
a8339a34c1 Use `FunctionLike` contract instead of union of function-like concrete implementations (#4241)
2023-06-16 14:04:59 +00:00
Tomas Votruba
12ed8d9e0a Updated Rector to commit 7753562da21cfa9e31560aedfd94f108fdbae673
7753562da2 [Naming] Remove parent lookup on PropertyRenameFactory (#4232)
2023-06-14 15:26:13 +00:00
Tomas Votruba
914f995971 Updated Rector to commit fd3c90cb6434670821709fb556f42d55247c3024
fd3c90cb64 [Naming] Remove parent lookup on ParamRenameFactory (#4212)
2023-06-13 13:52:47 +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
8ea0fec420 Updated Rector to commit 405d9f8f9ccee80ee0d2d9c0704ef028238b38cd
405d9f8f9c [Naming] Remove parent attribute usage on ExpectedNameResolver (#4180)
2023-06-11 10:16:46 +00:00
Tomas Votruba
44769c45f9 Updated Rector to commit bedb794b6f7db4f1609059b2380201738f8867c7
bedb794b6f [Naming] Remove parent lookup on VariableRenamer (#4157)
2023-06-10 10:43:26 +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
8b89240eee Updated Rector to commit ade49b3e9088c027b4a1a35d2e4228ae3375a00d
ade49b3e90 Various cleanups (#4125)
2023-06-08 21:35:09 +00:00
Tomas Votruba
04c348a97e Updated Rector to commit e012a3eb766f41016090dfa0aa982d9abd74a1e4
e012a3eb76 Make use of RenameClassNonPhpRector (#4124)
2023-06-08 21:03:14 +00:00
Tomas Votruba
4f94034308 Updated Rector to commit d003424800ab2b06eae432679cda73ee959cbad1
d003424800 From magic array autowire to explicit autowire (#4122)
2023-06-08 20:31:22 +00:00
Tomas Votruba
7f654942fd Updated Rector to commit 18a2a0f37852ed6f5fb52c07e2c1137cf556f5b4
18a2a0f378 Add STRICT_BOOLEANS set (#4116)
2023-06-08 16:22:20 +00:00
Tomas Votruba
1f621e91a4 Updated Rector to commit 88eed987cc361166359c158ffd22d264d165aa8b
88eed987cc Ensure check isFirstClassCallable() before node->getArgs() on CallLike (#4049)
2023-06-02 12:32:12 +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
82f764337c Updated Rector to commit ec2893301809a41a4629aabc3888b968a9613f5e
ec28933018 [Naming] Remove parent attribute on VariableRenamer (#4000)
2023-05-28 14:39:57 +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
6f986503de Updated Rector to commit 5b990ff50f851726e5d3a28590572c8e3f99bb04
5b990ff50f Bump symplify/phpstan-rules deps (#3894)
2023-05-19 13:30:27 +00:00
Tomas Votruba
a2c39b778e Updated Rector to commit 13d81f90894396f7e443cb5cb9198aeacb6bc05a
13d81f9089 [Cleanup] Make use of getArgs() directly (#3766)
2023-05-08 07:37:37 +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
4ba18f5a6a Updated Rector to commit 28712b9f9c756a69fec7ca52f53a5549a55a5113
28712b9f9c [Naming] Improve performance by using findFirst() for casted to (bool) on BreakingVariableRenameGuard (#3703)
2023-04-29 04:13:11 +00:00
Tomas Votruba
6becad5a83 Updated Rector to commit 26bd7485f3168e92e8e4dd7c7d81d816241454bf
26bd7485f3 [Test] Remove PropertyRenameFactoryTest.php (#3679)
2023-04-24 09:28:11 +00:00
Tomas Votruba
8f2079c8ca Updated Rector to commit 10c36b08fa0c980bd31b3059cafa12610852ebdd
10c36b08fa [Test] Rename fixture and refactor to solve random error (#3677)
2023-04-24 03:09:16 +00:00
Tomas Votruba
75f99e1dc0 Updated Rector to commit a36a4d9fcb244d5d49a45255d9581a16410dff7a
a36a4d9fcb Remove unused imports (#3567)
2023-04-05 19:01:37 +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