18599 Commits

Author SHA1 Message Date
Tomas Votruba
1a957f8b19 Updated Rector to commit 61016bf5307b804df5babb81db27cacbccb12efa
61016bf530 [CodeQuality] Use existing PhpAttributeAnalyzer service instead of AttributeFinder from Doctrine package on DynamicDocBlockPropertyToNativePropertyRector (#6382)
2024-10-12 16:35:17 +00:00
Tomas Votruba
80d5259a88 Updated Rector to commit 385d423d4f2b5577bfb5d70f6e41e09f3460a057
385d423d4f [CodeQuality] Handle with other attributes on DynamicDocBlockPropertyToNativePropertyRector (#6381)
2024-10-12 16:26:30 +00:00
Tomas Votruba
254c38f757 Updated Rector to commit d180b8d7363f508a4e9c6931c327c65aed5ff6ee
d180b8d736 [CodeQuality] Skip no @property doc on DynamicDocBlockPropertyToNativePropertyRector (#6380)
2024-10-12 16:15:59 +00:00
Tomas Votruba
8388edb5ee Updated Rector to commit 684f23d165407e0461a48d2c1fd289834a492876
684f23d165 [DX] [Experimental] Add withPhpLevel() to raise PHP level one rule at a time (#6261)
2024-10-12 15:55:54 +00:00
Tomas Votruba
8defa24cad Updated Rector to commit d7bfc24bedc11374868f5a7ff3066eb847e80a8c
d7bfc24bed [CodeQuality] Add DynamicDocBlockPropertyToNativePropertyRector (#5691)
2024-10-12 15:40:38 +00:00
Tomas Votruba
b862c5cd40 Updated Rector to commit 6f863d1552d270c2df41742ffcd87e2168d135b5
6f863d1552 [PostRector] Reduce repetitive toString() on loop on UnusedImportRemovingPostRector (#6379)
2024-10-12 13:48:02 +00:00
Tomas Votruba
6ba528b6cb Updated Rector to commit 6e936f73472d31e5d93da3b3a4fbe2c78b4fbf5a
6e936f7347 [PostRector] Clean up variables and conditional usage on UnusedImportRemovingPostRector (#6378)
2024-10-12 13:35:42 +00:00
Tomas Votruba
020433daa7 Updated Rector to commit b902afca1acb0a65d589709f0201e5edb984bacb
b902afca1a [UnusedImport] Fix removing multiple uses (#6376)
2024-10-12 13:01:45 +00:00
Tomas Votruba
5b33bdd871 Rector 1.2.7 1.2.7 2024-10-12 11:12:46 +00:00
Tomas Votruba
318d8c984e Updated Rector to commit e37a659d4bbcdb540157a3034e8abef30e5f77bf
e37a659d4b [DX] Add links to open the editor to the names of processed files and the names of rules applied (#6272)
2024-10-11 16:25:41 +00:00
Tomas Votruba
24d2df832d Updated Rector to commit 2b8cf93121045df5548684660ce7ae06b23b0e50
2b8cf93121 [EarlyReturn] Skip nested with OR in root if statement condition on ChangeNestedForeachIfsToEarlyContinueRector (#6375)
2024-10-11 15:13:17 +00:00
Tomas Votruba
d633e95ab1 Updated Rector to commit 1fcd876367b12e6857552c593799d7f0eb0a8145
1fcd876367 register RemoveTypedPropertyNonMockDocblockRector rule in dead-code set
2024-10-11 11:59:27 +00:00
Tomas Votruba
7f5124447e Updated Rector to commit d8f31e7559c9e3e288f2f58228120c71986a80e9
d8f31e7559 Add RemoveTypedPropertyNonMockDocblockRector (#6306)
2024-10-11 11:22:44 +00:00
Tomas Votruba
4dd8bdd757 Updated Rector to commit d553e84b406dbea66f4ca1dcca58f6405147c2c5
d553e84b40 [StaticTypeMapper] Register non-empty-array to ScalarStringToTypeMapper::SCALAR_NAME_BY_TYPE constant (#6374)
2024-10-11 08:48:10 +00:00
Tomas Votruba
c5229331d4 Updated Rector to commit 28ba716ca753c2a2a1a0d22ef7aec12af2d81ba0
28ba716ca7 [Transform] MethodCall to New (#6352)
2024-10-11 08:44:48 +00:00
Tomas Votruba
7595ee2334 Updated Rector to commit 52e3fdfb48a507be997bd0f47256ad14854be844
52e3fdfb48 [TypeDeclaration] Fix deep nested array docblock with \ prefix on ReturnTypeFromStrictNewArrayRector (#6373)
2024-10-11 08:35:30 +00:00
Tomas Votruba
103280d1fa Updated Rector to commit 16f939995e159c934f0dcd1179a26a56fe64b65b
16f939995e [CodeQuality] Clean up else check on SimplifyIfReturnBoolRector (#6372)
2024-10-11 06:54:59 +00:00
Tomas Votruba
1f93d1a53a Updated Rector to commit 203651aaf1c615c345620c5069c15755bde08227
203651aaf1 [CodeQuality] Skip else indirect return on SimplifyIfReturnBoolRector (#6371)
2024-10-11 06:21:10 +00:00
Tomas Votruba
43ea81221f Updated Rector to commit cb4ccd650eba6b43ac07da13e53b816a4119fad1
cb4ccd650e [UnusedImport] Different letter case for classes + optimization (#6362)
2024-10-11 01:59:43 +00:00
Tomas Votruba
c8ccd4898f Updated Rector to commit 6dee862408c55479969b4bc0ba28a1d50d5d2e44
6dee862408 [DeadCode] Skip union docblock param with is_object() native type check on RemoveAlwaysTrueIfConditionRector (#6370)
2024-10-10 08:06:20 +00:00
Tomas Votruba
ab28bdf746 Updated Rector to commit fbe17776a98d7364df027debe22a97526595a129
fbe17776a9 [Php70] Handle empty branch crash on unprintable char \x0C on EregToPregMatchRector (#6368)
2024-10-09 11:48:29 +00:00
Tomas Votruba
737dedb866 Updated Rector to commit 6b72288b6f0170c4ee06a11588be83f711557528
6b72288b6f Apply AddOverrideAttributeToOverriddenMethodsRector to traits (#6367)
2024-10-09 06:01:15 +00:00
Tomas Votruba
5204cbee25 Updated Rector to commit 8ff0cdb8fc3126614ff9f039387218b75dc4733d
8ff0cdb8fc [DeadCode] Skip with Else and ElseIf on SimplifyIfNotNullReturnRector (#6365)
2024-10-09 04:03:40 +00:00
Tomas Votruba
40e206a694 Updated Rector to commit f6858b86e32291df09751597abc8164fdd5a81c9
f6858b86e3 [DeadCode] Clean up double private method filtering on RemoveUnusedPrivateMethodRector (#6364)
2024-10-08 12:45:03 +00:00
Tomas Votruba
504b14ba36 Updated Rector to commit 645aaa93cfa86b06db8de8d8671da91d81b4bddf
645aaa93cf [DeadCode] Skip RemoveUnusedPrivatePropertyRector in middle assign (#6363)
2024-10-08 10:46:29 +00:00
Tomas Votruba
842acb42c9 Updated Rector to commit a44e8351e20e9ad994cd0ff130575b9c3def45c5
a44e8351e2 [Privatization] Allow privatize protected promoted property on PrivatizeFinalClassPropertyRector (#6360)
2024-10-08 08:58:13 +00:00
Tomas Votruba
91ba9919c7 Updated Rector to commit 4c84d6c8fc7e8e2ceece04be14e196816b0ed99b
4c84d6c8fc [TypeDeclaration] Closure Param Types from Iterator Source (#6345)
2024-10-07 19:57:11 +00:00
Tomas Votruba
68910d28af Updated Rector to commit 8e96b1b9dbd4a5fdf8da8d863aa9e153298d7427
8e96b1b9db [DeadCode] Skip from call with return docblock on ReduceAlwaysFalseIfOrRector (#6361)
2024-10-07 18:58:59 +00:00
Tomas Votruba
782255339e Updated Rector to commit 748330a01994017fded43807745d77366fe3bff9
748330a019 [Php80] Cast string/int for int vs string condition and case condition on ChangeSwitchToMatchRector (#6359)
2024-10-06 12:27:29 +00:00
Tomas Votruba
79a3e89cb2 Updated Rector to commit 0446e6f86d4766748a8012a5087f878c25d647f4
0446e6f86d [automated] Apply Coding Standard (#6358)
2024-10-06 08:08:44 +00:00
Tomas Votruba
b60054665d Updated Rector to commit 0446e6f86d4766748a8012a5087f878c25d647f4
0446e6f86d [automated] Apply Coding Standard (#6358)
2024-10-06 00:36:51 +00:00
Tomas Votruba
0e95783298 Updated Rector to commit cff2ed2c163411da65e896f050ebc8c3a5444bd1
cff2ed2c16 [Php70] More delimiter case in the middle fix on EregToPregMatchRector (#6357)
2024-10-05 18:18:41 +00:00
Tomas Votruba
88855ff38b Updated Rector to commit 3d76a1a73bfd7220b23d2beaa5c1e4d94c0fea7b
3d76a1a73b [Php70] Fix delimiter in the middle on EregToPregMatchRector (#6356)
2024-10-05 18:04:52 +00:00
Tomas Votruba
979aeca65b Updated Rector to commit 7752ca8c9fdbd39569cedc6398f13b4f9a6feae7
7752ca8c9f Add test case for different case for constant use removal (#6355)
2024-10-05 11:21:07 +00:00
Tomas Votruba
0988f712e7 Updated Rector to commit 330fda96903afbf8aafca7482c5f1c80abf13b95
330fda9690 Revert "Fix UnusedImportRemovingPostRector for different letter case (#6350)" (#6354)
2024-10-05 11:14:54 +00:00
Tomas Votruba
392ee2dc20 Updated Rector to commit 5fc55cea9208fbc22b4b39c2ab1bd45e1aa41911
5fc55cea92 [NodeAnalyzer] Remove unused AstResolver on VariadicAnalyzer (#6353)
2024-10-05 10:08:37 +00:00
Tomas Votruba
cd210ca06f Updated Rector to commit 45be85a432a0f3fe9c4f7aa7ca0610ff86dc8afa
45be85a432 [NodeAnalyzer] Remove ClassAnalyzer::isAnonymousClassName() (#6351)
2024-10-04 21:10:30 +00:00
Tomas Votruba
7b857f10d6 Updated Rector to commit 447afc1b482cfa80e455d723dd1cf687d0b4c8a1
447afc1b48 Fix UnusedImportRemovingPostRector for different letter case (#6350)
2024-10-04 08:12:38 +00:00
Tomas Votruba
6ab0f47ee0 Updated Rector to commit 374bca25dd7de527bd7904e8e714b9f264ce1c25
374bca25dd Fixed --memory-limit=-1 option handling when used in parallel (#6349)
2024-10-03 11:35:56 +00:00
Tomas Votruba
6ca85da281 Rector 1.2.6 1.2.6 2024-10-03 08:56:44 +00:00
Tomas Votruba
c15442414c Updated Rector to commit c0c7502f55a3884f67a5885ed05ae2443ff53802
c0c7502f55 [DeadCode] Skip indirect next line definition of @var on RemoveNonExistingVarAnnotationRector (#6348)
2024-10-03 08:21:08 +00:00
Tomas Votruba
68c7b4d151 Updated Rector to commit b88e910957a85adafd6fb75fbe50991b9ec871d1
b88e910957 [Performance] Reduce alias lookup on UnusedImportRemovingPostRector (#6346)
2024-10-02 09:59:12 +00:00
Tomas Votruba
a3f6293c8b Updated Rector to commit 0c9edebe4e1ca753d5bbe99e5109378155e87dde
0c9edebe4e [TypeDeclaration] Add NativeMethodReflection support on ReturnStrictTypeAnalyzer (#6344)
2024-10-01 13:54:55 +00:00
Tomas Votruba
b555bd2c5e Updated Rector to commit d17d3e814eada2fa3ada3601034407df01d84568
d17d3e814e [TypeDeclaration] Better approach for native type check on ReturnStrictTypeAnalyzer (#6343)
2024-10-01 13:05:02 +00:00
Tomas Votruba
cdbdb1bd14 Updated Rector to commit 697b37b340c3b4c73ad6f8e4cea26b7bf60ddf62
697b37b340 Around PHPStan 1.12.4 handling on ParametersAcceptors with non-native return type (by docblock) (#6341)
2024-10-01 11:13:08 +00:00
Tomas Votruba
b86f33859b Updated Rector to commit a11fc615d18396cef284c18de269711114630676
a11fc615d1 [TypeDeclaration] Remove only void type on ReturnedNodesReturnTypeInfererTypeInferer (#6340)
2024-10-01 09:55:40 +00:00
Tomas Votruba
a5a5200e52 Updated Rector to commit 54a66206986e685787d7e038929618a66e98ec42
54a6620698 [TypeDeclaration] Add isset(), empty(), and negation support on BoolReturnTypeFromBooleanStrictReturnsRector (#6339)
2024-10-01 05:27:50 +00:00
Tomas Votruba
32c2df7fcb Updated Rector to commit 6b065efef08c34f6e3f69ebd24e24f2418f93007
6b065efef0 Bump php-parser to ^4.19.4 (#6338)
2024-09-30 08:25:23 +00:00
Tomas Votruba
3df699e80d Updated Rector to commit 6b065efef08c34f6e3f69ebd24e24f2418f93007
6b065efef0 Bump php-parser to ^4.19.4 (#6338)
2024-09-29 22:47:07 +00:00
Tomas Votruba
2301ae1068 Updated Rector to commit 6b065efef08c34f6e3f69ebd24e24f2418f93007
6b065efef0 Bump php-parser to ^4.19.4 (#6338)
2024-09-29 21:18:26 +00:00