17952 Commits

Author SHA1 Message Date
Tomas Votruba
df92a40a00 Updated Rector to commit 756a45aa1a456e28af0b7ae2b78fecc6f6fee6b1
756a45aa1a [DeadCode] Add RemoveUnusedPublicMethodParameterRector (#5925)
2024-05-30 07:40:25 +00:00
Tomas Votruba
ad8eee4201 Updated Rector to commit 66e57260e66e32c78fac0738d69b49e009b348d6
66e57260e6 [Set] Add new rector-preset set to have opiniated rector rules that can be enabled in rector-src and its extension (#5924)
2024-05-30 07:30:01 +00:00
Tomas Votruba
c9f15d2f2a Updated Rector to commit 30669553df27580da9d1f1367580b784a989808b
30669553df [CI] No need to split into multiple jobs for Rector CI (#5922)
2024-05-29 14:30:34 +00:00
Tomas Votruba
f07c3528a8 Updated Rector to commit eb8a76d2d1a19364f29e0f04b4d635ef751759c8
eb8a76d2d1 [AutoImport] No need RenamedClassesDataCollector usage on UsesClassNameImportSkipVoter (#5921)
2024-05-29 10:02:24 +00:00
Tomas Votruba
2065cb44be Updated Rector to commit f987c4df60c792fabd875cdccd678a5ce2a4eda5
f987c4df60 [DX] Remove UseIncrementAssignRector from coding-style set, as often ignored (#5920)
2024-05-29 07:36:01 +00:00
Tomas Votruba
21e5977c28 Updated Rector to commit 79d1b25263ff589d0eab6751c94234f78fb6d3d4
79d1b25263 [DX] Report rules that registered in withSkip() but never registered in withRules() (#5919)
2024-05-29 07:04:39 +00:00
Tomas Votruba
cf6f6c099f Updated Rector to commit 8470e7dd2de8c3499bb0b72a031d650b57ace06b
8470e7dd2d add note about finalize replacement
2024-05-29 05:38:35 +00:00
Tomas Votruba
2b945fac7b Updated Rector to commit 8c51074a9a121fff732471541b005df99dd71873
8c51074a9a [DX] Soft-deprecate CallableThisArrayToAnonymousFunctionRector, as FirstClassCallableRector  handles the same case better (#5918)
2024-05-29 01:38:37 +00:00
Tomas Votruba
354aa8fd07 Updated Rector to commit 6ad571fc10dfb53adbb5137220dbf2e11fa4d1bb
6ad571fc10 [DX] Ommit post-inc to pre-inc rule from coding-style as too opinionated (#5917)
2024-05-29 01:05:19 +00:00
Tomas Votruba
6fa5131124 Updated Rector to commit 1e88bcf62dec93dca5077b8aefebf7c976fbed52
1e88bcf62d [TypeDeclaration] Add AddTypeFromResourceDocblockRector (#5915)
2024-05-29 00:53:21 +00:00
Tomas Votruba
8a83c1053a Updated Rector to commit 303a1d72497e92464f3cf6f4914f82f4aec8f6a5
303a1d7249 [DX] Ommit static functions/closure from coding-style, as often ignored and depends on personal preference (#5916)
2024-05-29 00:44:25 +00:00
Tomas Votruba
8be3783a6a Updated Rector to commit c625b4cd7feda6cc9e51499d5fcdcd19141227ad
c625b4cd7f [CodingStyle] Use specific mapper FullyQualifiedNodeMapper on NameImporter to get PHPStan type of FullyQualifiedNode (#5914)
2024-05-27 18:32:58 +00:00
Tomas Votruba
b6e05a08f9 Updated Rector to commit c625b4cd7feda6cc9e51499d5fcdcd19141227ad
c625b4cd7f [CodingStyle] Use specific mapper FullyQualifiedNodeMapper on NameImporter to get PHPStan type of FullyQualifiedNode (#5914)
2024-05-26 16:28:54 +00:00
Tomas Votruba
216442a257 Updated Rector to commit 157fe350c770262636872c18fbf5c0a61c6fb126
157fe350c7 Bump phpstan-rules (#5913)
2024-05-26 07:13:37 +00:00
Tomas Votruba
6b071141dc Updated Rector to commit c431eae446a25d1b64573500f40139b20aba2c3a
c431eae446 [PostRector][AutoImport] Handle remove unused import with auto import  enabled on conflict with existing use statement (#5912)
2024-05-25 12:40:53 +00:00
Tomas Votruba
b153174db5 Updated Rector to commit 650ae6a730554c4b7472280e86edbf1b704cce25
650ae6a730 Code quality levels (#5910)
2024-05-25 10:48:12 +00:00
Tomas Votruba
74ec7b2331 Updated Rector to commit 0466bac822c4f35530f75f2081e1955bf06825c7
0466bac822 [PostRector][AutoImport] Allow sub namespace docblock imported on NameImportingPhpDocNodeVisitor (#5911)
2024-05-24 15:09:44 +00:00
Tomas Votruba
5d71d0b09c Updated Rector to commit d6fc9012918faf26cfae30aaad329b8a3c65be75
d6fc901291 [TypeDeclaration] Add TypedPropertyFromJMSSerializerAttributeTypeRector (#5909)
2024-05-24 13:06:38 +00:00
Tomas Votruba
81725974a0 Updated Rector to commit 22d6fc2789f575fff16e76e7c7f963793e11f53b
22d6fc2789 [TypeDeclaration] Add ReturnTypeFromSymfonySerializerRector (#5908)
2024-05-23 13:35:45 +00:00
Tomas Votruba
43c823a1fe Updated Rector to commit b2c9e52bf0776d2475e4d0533267cd11299826f6
b2c9e52bf0 [PostRector] Move instanceof check early before SimpleParameterProvider static call check (#5907)
2024-05-22 02:15:37 +00:00
Tomas Votruba
670c768551 Updated Rector to commit 0621d672f946aabc8bd6c9f70feae32d6a390b9f
0621d672f9  [Php80] Skip mixed doc with description and valid doc on MixedTypeRector  (#5906)
2024-05-21 09:36:37 +00:00
Tomas Votruba
cee60661e8 Updated Rector to commit b8847be9d485ec1b3cde5ee5e099ab3626479eb7
b8847be9d4 [TypeDeclaration] Add ReturnTypeFromReturnCastRector (#5905)
2024-05-20 11:36:06 +00:00
Tomas Votruba
83b82dd7bb Updated Rector to commit d1eb62e703651ec14712439700d6e9b2a60c0763
d1eb62e703 [config] Disable parallel on --debug (#5904)
2024-05-20 06:49:34 +00:00
Tomas Votruba
7a1293fda7 Updated Rector to commit 09d2a599613ac2e174e9d0b825c9da1b8c93b0e4
09d2a59961 few static fixes (#5902)
2024-05-20 02:37:37 +00:00
Tomas Votruba
39908b6b4e Updated Rector to commit f30405751176cf6504a86a8f9e6661c55806b38e
f304057511 Convert time() to Carbon::now()->timestamp (#5901)
2024-05-20 00:15:21 +00:00
Tomas Votruba
fce5bf1293 Updated Rector to commit 0e5343cb24ce394701c5321eb5976573dd8c0afe
0e5343cb24 Few PHPStan fixes (#5900)
2024-05-19 17:46:36 +00:00
Tomas Votruba
9a455bf300 Updated Rector to commit 7d65537690d8d788b595b46f026920b4b17eaaf5
7d65537690 Fix few static errors (#5899)
2024-05-19 17:16:04 +00:00
Tomas Votruba
2210bace5e Updated Rector to commit 196b2d0947a0dbec176209113f52e82ac5673e2b
196b2d0947 Cleanup fixed phpstan errors (#5898)
2024-05-19 16:10:19 +00:00
Tomas Votruba
9f86c20c73 Updated Rector to commit b2613baaf6dbf85c9a784b3baf652925c2f480d2
b2613baaf6 make refactorWithClass() private as it should be
2024-05-19 08:27:29 +00:00
Tomas Votruba
f7ce209bd1 Updated Rector to commit fe31e195e3797b13d296899dda27f30e4980b079
fe31e195e3 [Carbon] Add immutable support to other rules (#5896)
2024-05-19 02:29:27 +00:00
Tomas Votruba
4cadabfe9a Updated Rector to commit 1fd156bddbfece24ad48f83e2a65fb44ccb5392d
1fd156bddb Convert DateTimeImmutable to CarbonImmutable (#5895)
2024-05-19 02:09:52 +00:00
Tomas Votruba
3f56884569 Updated Rector to commit b2ec1f0b413e16760c41707b74c936f7445e13ab
b2ec1f0b41 [Carbon] Skip first class callable on DateTimeMethodCallToCarbonRector (#5893)
2024-05-18 14:48:45 +00:00
Tomas Votruba
22d3d1949d Updated Rector to commit 6ebfa15e733ac340249418057ed3f7615e717ac1
6ebfa15e73 Bump to react/promise 3.1 (#5892)
2024-05-18 13:49:01 +00:00
Tomas Votruba
62a900a1c0 Updated Rector to commit 56d55d0d1e7c064f0859c54d5afc05b5d15d6e9a
56d55d0d1e cs
2024-05-18 13:31:16 +00:00
Tomas Votruba
b98d0a8754 Updated Rector to commit 575921d2bca4a0ef36d55c6fa4ebf1ea01bacc4d
575921d2bc [Carbon] Init set to migrate DateTime to Carbon (#5868)
2024-05-18 13:30:48 +00:00
Tomas Votruba
7ac6f7bf7e Updated Rector to commit 5df95d9a955523a1737442a26f4a412cafc41226
5df95d9a95 Update unit test config to avoid using TypeCombinator::addNull() (#5891)
2024-05-18 12:49:12 +00:00
Tomas Votruba
556509e2dc Rector 1.1.0 1.1.0 2024-05-18 09:40:27 +00:00
Tomas Votruba
dfaafdbd3a Updated Rector to commit 8e4e8823f227290fb6b014c79b48ce211c2376b5
8e4e8823f2 Bump to PHPStan 1.11 (#5883)
2024-05-18 08:00:27 +00:00
Tomas Votruba
dd1dd510f5 Updated Rector to commit 4f301f2335b0fef2934ddaf53471ebd961de1f71
4f301f2335 [Configuration] Add missing LevelSetList::UP_TO_PHP_84 on PhpLevelSetResolver::resolveFromPhpVersion() (#5890)
2024-05-18 07:39:08 +00:00
Tomas Votruba
c6998bfca9 Updated Rector to commit 19863767c63503e19aed359d849fa55bbf3a1df9
19863767c6 [TypeDeclaration] Skip unitialized property on EmptyOnNullableObjectToInstanceOfRector (#5889)
2024-05-17 02:56:57 +00:00
Tomas Votruba
264e16fdae Updated Rector to commit 2deccac9b501bc1aa09ba7e8bfe6271b73e5b8dc
2deccac9b5 [PHPStan] Fix missingType.generics notice on phpstan.neon on PHPStan 1.11 (#5888)
2024-05-16 14:47:37 +00:00
Tomas Votruba
1931c635c0 Updated Rector to commit b938e0797f8c3e30f527d1dabad384e4623140de
b938e0797f [TypeDeclaration] Add test for nullable object usage on AddReturnTypeDeclarationRector (#5887)
2024-05-16 14:03:35 +00:00
Tomas Votruba
df8a377557 Updated Rector to commit 16d1df9be8cdbdf6e5b67f97fa225731ac0c9675
16d1df9be8 [NodeTypeResolver] No need to resolve class name on anonymous classes (#5886)
2024-05-16 13:22:30 +00:00
Tomas Votruba
6372b90b19 Updated Rector to commit db213ee986c942d58e397b3713564349541e8de5
db213ee986 [PHPStan] Handle PHPStan internal ShouldNotHappenException on FamilyRelationsAnalyzer and PHPStanNodeScopeResolver (#5885)
2024-05-16 12:51:40 +00:00
Tomas Votruba
6cf705918e Updated Rector to commit 6a5f6c53f3637b23b4488cab81ec90a0d1bef053
6a5f6c53f3 [TypeDeclaration] Handle crash on interface Mixin on ReturnTypeFromStrictConstantReturnRector (#5884)
2024-05-16 11:45:24 +00:00
Tomas Votruba
3c1e41f006 Updated Rector to commit 6bd2b871c4e9741928fb48df3ca8e899be42be81
6bd2b871c4 [NodeTypeResolver] No need json_decode/json_encode for cache class name collection (#5881)
2024-05-15 02:19:05 +00:00
Tomas Votruba
7d70c5853e Updated Rector to commit 3cf5b1a2b89979dc375701d88608bc03d6a4a7dd
3cf5b1a2b8 [NodeTypeResolver] Clean up resolve cache class name key (#5880)
2024-05-15 02:04:07 +00:00
Tomas Votruba
049336a81a Updated Rector to commit 8ab5e979db19845b9dd3c39bec566830870845dc
8ab5e979db [Performance] Call cached class names collection on FamilyRelationsAnalyzer (#5879)
2024-05-15 01:48:39 +00:00
Tomas Votruba
efe89cff77 Updated Rector to commit 50407e2f2d1c2eb7f67c1f59e8db777e6f0bd081
50407e2f2d [Performance] Ensure call $reflector->reflectAllClasses() once on Worker take 3 (#5878)
2024-05-14 19:26:23 +00:00
Tomas Votruba
89f91b63be Updated Rector to commit a5bf80cb2fdd49d64777cf13250e7205ddd0a3be
a5bf80cb2f [TypeDeclaration] Skip possible array on StrictStringParamConcatRector (#5876)
2024-05-14 13:50:22 +00:00