Commit Graph

16129 Commits

Author SHA1 Message Date
Tomas Votruba
c3f48d13e3 Updated Rector to commit ca08d86e3900556b2f389e4d983489535c21fdd7
ca08d86e39 Make use of Class_, Interface_ (#4193)
2023-06-12 11:13:09 +00:00
Tomas Votruba
ff28aaca4c Updated Rector to commit 21f8014b30f4a4230f787ca1698a2c53d6d5f18a
21f8014b30 [DI] Autowire annotation to attribute mapper via tags (#4190)
2023-06-12 10:45:32 +00:00
Tomas Votruba
1b3ee4f289 Updated Rector to commit 7a61135453ff9fa595966f0265cb2a3c28c13656
7a61135453 [CodeQuality] Remove direct return STOP_TRAVERSAL on SetTypeToCastRector (#4187)
2023-06-12 10:13:36 +00:00
Tomas Votruba
f440a692d3 Updated Rector to commit 7a61135453ff9fa595966f0265cb2a3c28c13656
7a61135453 [CodeQuality] Remove direct return STOP_TRAVERSAL on SetTypeToCastRector (#4187)
2023-06-12 09:19:31 +00:00
Tomas Votruba
9434de01cc Updated Rector to commit 5612c7f86c18379ccd927bba33bca524f94f0759
5612c7f86c [Php71] Remove direct return STOP_TRAVERSAL on CountOnNullRector (#4189)
2023-06-12 09:19:13 +00:00
Tomas Votruba
f45714304b Updated Rector to commit a9efd7240e38596d09eedbea3670ee20e32e0d1f
a9efd7240e [DeadCode] Remove direct return STOP_TRAVERSAL on RemoveDeadInstanceOfRector (#4188)
2023-06-12 09:17:29 +00:00
Tomas Votruba
a6399d5acf Updated Rector to commit 914171511561fab6062f5df923b12c276725c0b5
9141715115 Add failing test case for STOP_TRAVERSAL directly on refactor (#4185)
2023-06-12 00:49:37 +00:00
Tomas Votruba
a10a55f5b9 Updated Rector to commit 69689c705ac2ae72961864a25332f213721983a4
69689c705a cs
2023-06-12 00:13:24 +00:00
Tomas Votruba
4f6d168ff6 Updated Rector to commit 556e2f2b2e7b7e8339e6bf8e40a81f2fee179c82
556e2f2b2e make scoper work with prefixed and instanceof classes in symfony di compiler
2023-06-12 00:02:46 +00:00
Tomas Votruba
f5d1aaae41 Updated Rector to commit d7344683b7e5f9000f175f023d1e5af85f6571b7
d7344683b7 remove AutowireArrayParameterCompilerPass
2023-06-11 23:45:23 +00:00
Tomas Votruba
57b6546504 Updated Rector to commit 4e02f78d6b8352fd24afc670f285453468742c3f
4e02f78d6b temporarily exclude autowire, to skip throws
2023-06-11 23:42:32 +00:00
Tomas Votruba
0bd97bc048 Updated Rector to commit 7f7ebef0b14bb356151c5a8ddffd30a0bcc6f9fd
7f7ebef0b1 analyze enum match again
2023-06-11 23:27:52 +00:00
Tomas Votruba
4ec7e4865b Updated Rector to commit a8922f7431c9c9188be501107ee7819e0130da4c
a8922f7431 skip temporarily match + throws downagrade in symfony/console, very unlikely to run
2023-06-11 23:26:00 +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
c718a1c775 Updated Rector to commit f7b43d4565fb27cf53c77a86bf7d4afd8f5a556f
f7b43d4565 Performance: Prevent sorting of files in PhpFilesFinder (#4164)
2023-06-11 09:36:14 +00:00
Tomas Votruba
665558472d Updated Rector to commit 3d31e31f3a4452a52a5b2bdd393d90e07b84e8a6
3d31e31f3a [NodeTypeResolver] Remove parent lookup on TypeComparator (#4179)
2023-06-11 08:57:05 +00:00
Tomas Votruba
5b748d4a6b Updated Rector to commit e6bdb8509da59e0c3f37a528c4e4ffedcf2dfc4c
e6bdb8509d Fix broken scoped build with "double quotes" in commit messages (#4178)
2023-06-11 08:39:42 +00:00
Tomas Votruba
1b9c15ef4c Updated Rector to commit 9dc237fff756c096ed67cf835ec1a7f07115e016
9dc237fff7 [NodeAnalyzer] Remove parent lookup on PropertyFetchAnalyzer (#4177)
2023-06-11 08:29:44 +00:00
Tomas Votruba
a3387ee9c4 Updated Rector to commit 8c1928bf9866774c5f8be94b88d10c75e31aacfb
8c1928bf98 Revert Fix broken scoped build with double quotes in commit messages (#4175) (#4176)
2023-06-11 07:57:14 +00:00
Tomas Votruba
f332c82cdd Updated Rector to commit 88d0f8c4ca8522e21489eb61952dfbe8aaa3f2ee
88d0f8c4ca [NodeFinder] Remove parent lookup on PropertyFetchFinder (#4174)
2023-06-11 06:51:34 +00:00
Tomas Votruba
cb5ccf435f Updated Rector to commit 72ac71bf586bb2aa23d723ae7c3df0f237fa553d
72ac71bf58 [TypeDeclaration] Remove parent lookup on AddMethodCallBasedStrictParamTypeRector (#4173)
2023-06-11 06:39:53 +00:00
Tomas Votruba
67f69787ca Updated Rector to commit 64156d1395bc8fe6985c8b75f6d3bc447776acdd
64156d1395 [TypeDeclaration] Remove parent lookup on ReturnTypeInferer (#4172)
2023-06-11 06:23:51 +00:00
Tomas Votruba
ca8754469c Updated Rector to commit 424b874e8cbfde95c46e1bba12ffe6931c375197
424b874e8c [NodeManipulator] Remove parent lookup on ClassMethodPropertyFetchManipulator (#4170)
2023-06-11 05:54:40 +00:00
Tomas Votruba
971a0d2b75 Updated Rector to commit ea2ee121e0b6388fdcda0125f7dca941a44edc3a
ea2ee121e0 [Reflection] Remove parent lookup on ReflectionResolver (#4169)
2023-06-11 05:45:51 +00:00
Tomas Votruba
01557664e6 Updated Rector to commit d541d1a77e5e140bf12d4b71c9c9f98a3852a366
d541d1a77e [Doc] Fix documentation code example of RemoveTypedPropertyDeadInstanceOfRector (#4168)
2023-06-11 00:39:52 +00:00
Tomas Votruba
c761279626 Updated Rector to commit 165376fce4e15d628f1fb08f201ef9758d1ef94f
165376fce4 [automated] Re-Generate Nodes/Rectors Documentation (#4167)
2023-06-11 00:36:16 +00:00
Tomas Votruba
cde74fdc1d Updated Rector to commit 65765cf54e851c4b768a9124a4abf2790d3037f8
65765cf54e Remove parent node look up from ReturnTypeFromStrictTypedCallRector (#4166)
2023-06-10 21:17:23 +00:00
Tomas Votruba
99469d703d Updated Rector to commit a394e5ea44ef09812ec1224aa0f402a483400d73
a394e5ea44 Split instance of check to 2 rules (#4165)
2023-06-10 18:53:37 +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
53778ac6ff Updated Rector to commit 77aeaa4dcc2fc99070999af7a28d17c4d078a4b5
77aeaa4dcc Remove RemoveEmptyMethodCallRector as better handled by PHPStan (#4161)
2023-06-10 13:02:37 +00:00
Tomas Votruba
5db0609ffa Updated Rector to commit 3bc82de4d5b27b2852e6a1ecbc68607cf4d000ce
3bc82de4d5 Increase kernel cache key (#4159)
2023-06-10 11:32:05 +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
1bbad017b4 Updated Rector to commit e955e567e0af973a69ca6263de8e29e1f2e55504
e955e567e0 [Php56] Move collect checked variables on Node not a Variable on UndefinedVariableResolver (#4156)
2023-06-10 10:28:03 +00:00
Tomas Votruba
118d807197 Updated Rector to commit c3189b160ec0c9dd094d123574b8302aa9e3deaf
c3189b160e [Php56] Remove parent lookup on UndefinedVariableResolver (#4155)
2023-06-10 10:17:09 +00:00
Tomas Votruba
f67dcbaeac Updated Rector to commit f8c6c5cb6a23ce48ddd576dffceff52d440c4a07
f8c6c5cb6a Remove parent node from RenameMethodRector (#4154)
2023-06-10 09:11:14 +00:00
Tomas Votruba
484965351d Updated Rector to commit 21a233dac32e82d493a60fad86d2eb72cd568838
21a233dac3 Skipping: Use plain string functions instead of regex matching (#4153)
2023-06-10 08:40:50 +00:00
Tomas Votruba
6377aa85c2 Updated Rector to commit 0a62001c3080c1d876729f2f30b72ede505215e4
0a62001c30 Reduce memory-consumption by simpler skip-patterns (#4152)
2023-06-10 08:40:20 +00:00
Tomas Votruba
9d288b9b77 Updated Rector to commit 0fe5ee02fe3527bff3a1cd1c10508e2148ea8031
0fe5ee02fe Remove PARENT_NODE from ReadOnlyPropertyRector (#4150)
2023-06-10 07:01:52 +00:00
Tomas Votruba
0222a6ac50 Updated Rector to commit c6a5b762dea6a71041b413554baa26f4b2400a11
c6a5b762de StringClassNameToClassConstantRector: cheap checks first (#4151)
2023-06-10 06:56:35 +00:00
Tomas Votruba
276b450e8a Updated Rector to commit bc61ac2b0a95c93a557ccfe4f371f361ec09ab2c
bc61ac2b0a Remove parent node from StringClassNameToClassConstantRector (#4145)
2023-06-10 06:35:34 +00:00
Tomas Votruba
f7beb310fa Updated Rector to commit b92e3788e665f9a260ca8d74fde6e8c574d17456
b92e3788e6 [Php56] Skip variable variable on AddDefaultValueForUndefinedVariableRector (#4148)
2023-06-10 03:17:59 +00:00
Tomas Votruba
04e769bf65 Updated Rector to commit 6758a5e892acaf241b1c2afaea117a6c69df15f0
6758a5e892 [Php56] Remove parent attribute usage on UndefinedVariableResolver (#4147)
2023-06-10 02:55:01 +00:00
Tomas Votruba
2886ec2c81 Updated Rector to commit 5ba083c88dc02a30a03ecb2fc5925caa2d2f88c0
5ba083c88d Remove parent node fetch (#4143)
2023-06-09 17:42:49 +00:00
Tomas Votruba
a48c21e135 Updated Rector to commit ebfe96b4e08b26439c2341cd45e87a7bc5f314fb
ebfe96b4e0 Drop AttributeKey::SCOPE in ClassMethodReturnTypeOverrideGuard (#4144)
2023-06-09 17:30:44 +00:00
Tomas Votruba
945b0d7947 Updated Rector to commit ea26fd7427e4c1d0a4032a9c86410ef41c32569b
ea26fd7427 Drop AttributeKey::SCOPE in AlwaysStrictScalarExprAnalyzer (#4139)
2023-06-09 17:07:32 +00:00
Tomas Votruba
74feb951d2 Updated Rector to commit 7740446b9569f8e03f64dedf4e1330fe52b98b3e
7740446b95 Drop AttributeKey::SCOPE in RemoveUnusedVariableAssignRector (#4141)
2023-06-09 17:06:55 +00:00
Tomas Votruba
bc14b9b983 Updated Rector to commit 0f100f0ec5c9f54afa8eafda0e7f2ce78c738529
0f100f0ec5 Drop AttributeKey::SCOPE in PrivatizeFinalClassMethodRector (#4140)
2023-06-09 17:06:47 +00:00
Tomas Votruba
17487f2df7 Updated Rector to commit 22f121a671b2c779e8e3ec6471c14d4a3321631d
22f121a671 [Php56] Handle infinite loop on big array method call on AddDefaultValueForUndefinedVariableRector (#4142)
2023-06-09 17:04:50 +00:00