Commit Graph

17561 Commits

Author SHA1 Message Date
Tomas Votruba
dbbdf42842 Updated Rector to commit 2ed1e94d153b5e40803275a7c1394be234d0cfae
2ed1e94d15 Restore timeout to keep compatible with formater CI runs, based on community feedback (#5468)
2024-01-15 18:01:33 +00:00
Tomas Votruba
b13cc2ebb6 Updated Rector to commit e17f4526a7aa8344d0bfbf61d16d125970a3d31a
e17f4526a7 Fix RectorParser::parseString() parameter name (#5467)
2024-01-15 10:34:53 +00:00
Tomas Votruba
bc8f465840 Updated Rector to commit e17f4526a7aa8344d0bfbf61d16d125970a3d31a
e17f4526a7 Fix RectorParser::parseString() parameter name (#5467)
2024-01-14 17:53:17 +00:00
Tomas Votruba
02f3386770 Updated Rector to commit deb4daed28666606b032e3e0df1a50e01a5c2a72
deb4daed28 [automated] Apply Coding Standard (#5465)
2024-01-14 00:30:50 +00:00
Tomas Votruba
1cb0be7069 Updated Rector to commit b0f1e6354fed26a46ea5ebac73c6d688cc85068b
b0f1e6354f [Performance] Call UnchangedFilesFilter->filterFileInfos() only once on FilesFinder (#5464)
2024-01-13 20:47:59 +00:00
Tomas Votruba
275893fa25 Updated Rector to commit 38d716ecec295b96a94cc2db9b3091fc1ca0ea94
38d716ecec [Performance] Remove duplicate filter extension files on FilesFinder (#5463)
2024-01-13 20:25:30 +00:00
Tomas Votruba
35bb56366b Updated Rector to commit 38d716ecec295b96a94cc2db9b3091fc1ca0ea94
38d716ecec [Performance] Remove duplicate filter extension files on FilesFinder (#5463)
2024-01-13 19:16:19 +00:00
Tomas Votruba
455fba49f9 Updated Rector to commit 9d310ce5daca61f51f35e3c8755a442998f1c536
9d310ce5da Skip null type in ReturnTypeFromStrictScalarReturnExprRector as often not desired (#5462)
2024-01-13 09:43:24 +00:00
Tomas Votruba
6ab38a869f Updated Rector to commit 2ac26e77e63664f3e250af12f021696c60ca0df4
2ac26e77e6 Cache comment consistency (#5461)
2024-01-13 01:51:20 +00:00
Tomas Votruba
8b20f236c0 Updated Rector to commit 2ec55701f292770fc7be3ca6e434d437e59c333b
2ec55701f2 [Performance] Fix filter cache on SkippedClassResolver (#5460)
2024-01-13 01:44:47 +00:00
Tomas Votruba
bebd959a24 Updated Rector to commit ac072bc8af186b2c86256aa7d29e52bb608ece27
ac072bc8af feat: add an option to skip renaming promoted property (#5457)
2024-01-11 23:02:48 +00:00
Tomas Votruba
e61f4b3c7b Updated Rector to commit f24b01ae0af6cdf4517fee0d74d79cc39d31f602
f24b01ae0a Remove CI status for rector/phpstan-rules on Readme (#5456) (#5458)
2024-01-11 15:31:55 +00:00
Tomas Votruba
2b3879001d Updated Rector to commit 061ddc360ad8fcc5c237a77463d1d62a562c5d14
061ddc360a Remove CI status for rector/phpstan-rules on Readme (#5456)
2024-01-10 22:12:13 +00:00
Tomas Votruba
97a6bd58e9 Updated Rector to commit 54a11ee44ac367532d5acaaa462928742aa24177
54a11ee44a [chore] Make use of symplify/phpstan-rules (#5455)
2024-01-10 21:29:12 +00:00
Tomas Votruba
90cf83ccbe Updated Rector to commit d2818f6b229beca01ee602ad245426a12199baca
d2818f6b22 [Reflection] Remove unnecessary ReflectionClass object creation on create ReflectionMethod (#5454)
2024-01-10 20:27:28 +00:00
Tomas Votruba
969e0174a1 Updated Rector to commit c02e5294b647a2aa7d83c8b2381dffbc7768b428
c02e5294b6 [Performance] Using PathSkipper in FilesFinder (#5452)
2024-01-10 14:04:28 +00:00
Tomas Votruba
b68c88f0b4 Updated Rector to commit f68d9f89cece7c081c431ddeeafe2d317514a1cc
f68d9f89ce [Performance] Extract PathSkipVoter to dedicated service and call before Filesystem::read() (#5451)
2024-01-10 13:03:20 +00:00
Tomas Votruba
5a61fded6a Updated Rector to commit e231caaf0ad81f75b287fb7b2b47f720627a7ca4
e231caaf0a [Performance] Remove loop StmtsAwareInterface on PHPStanNodeScopeResolver (#5450)
2024-01-10 09:45:32 +00:00
Tomas Votruba
ca876bf90c Updated Rector to commit 9193b276de2d9e51e063740a9fea61a559750f19
9193b276de Clean up concat empty string on regex constant usage (#5449)
2024-01-10 05:55:03 +00:00
Tomas Votruba
cc3c45157f Updated Rector to commit 5a156bea4f702a08d45928c783daf3153c6bd2de
5a156bea4f [Php80] Handle NestedAnnotationToAttributeRector with empty new line (#5448)
2024-01-09 08:51:33 +00:00
Tomas Votruba
503f4ead06 Rector 0.19.0 2024-01-09 00:49:06 +00:00
Tomas Votruba
b911b341f7 Updated Rector to commit 32d5fce356ebe91267278ee8d3b574c928cf15d6
32d5fce356 add release notes generator dep
2024-01-09 00:19:58 +00:00
Tomas Votruba
0a2b185bda Updated Rector to commit 08ac19c956c2608188bca81044034bc2590a8d55
08ac19c956 [cs] Make use of new ECS config (#5445)
2024-01-08 15:17:51 +00:00
Tomas Votruba
f775017f74 Updated Rector to commit e3ccf175943f4b44c521029c090c6907b83d4a6c
e3ccf17594 Fix scoped e2e to load rector/rector:dev-main (#5447)
2024-01-08 13:55:32 +00:00
Tomas Votruba
911e446bd5 Updated Rector to commit 7e566722a08a546858fa67d73915c9dff9a0c018
7e566722a0 [Php80][CodeQuality] Handle crash on ChangeSwitchToMatchRector + TernaryFalseExpressionToIfRector on under if else (#5446)
2024-01-08 13:46:06 +00:00
Tomas Votruba
bddc91bccd Updated Rector to commit b71c3265d5f90745d52b081a1201e3d97617e14a
b71c3265d5 fix: RenameMethodRector should handle NullsafeMethodCall (#5444)
2024-01-07 16:56:38 +00:00
Tomas Votruba
2a79360f1b Updated Rector to commit 7f2155d5c0058a002790c05cae54b49405e154ac
7f2155d5c0 [DX] add RectorConfig::command() to ease external command registration (#5443)
2024-01-07 12:14:43 +00:00
Tomas Votruba
33f8d9f054 Updated Rector to commit 3751c94d26dc1bd8a7a1699f64d0c983dfd11a9f
3751c94d26 Revert "[DX] Make command default autotag" (#5442)
2024-01-07 12:07:05 +00:00
Tomas Votruba
816ddfc830 Updated Rector to commit 2f5a252ea9bac10994e08623e9371ec132045880
2f5a252ea9 [DX] Make command default autotag (#5441)
2024-01-07 12:05:03 +00:00
Tomas Votruba
dd2b386e30 Updated Rector to commit c9608a0f11d8a58224b33c8d2695f210a81816bc
c9608a0f11 [automated] Re-Generate preload.php (#5439)
2024-01-07 00:33:25 +00:00
Tomas Votruba
29eada363c Updated Rector to commit d3791938add9fe1faddfd404ab76183235c1df2f
d3791938ad [automated] Apply Coding Standard (#5440)
2024-01-07 00:31:04 +00:00
Tomas Votruba
1142f3d356 Updated Rector to commit 86e740248314edf23ef3307ac2a804a54c898282
86e7402483 Allows to convert Spatie enum names to snake upper case (#5435)
2024-01-06 13:17:15 +00:00
Tomas Votruba
22304be44f Updated Rector to commit a8cc19a3c0387f082fd432e04afce363a90ba5b0
a8cc19a3c0 [NodeTypeResolver] Handle crash PHPStan\File\CouldNotReadFileException: Could not read file on IntermediateSourceLocator (#5438)
2024-01-06 11:06:34 +00:00
Tomas Votruba
3c0a61462c Updated Rector to commit 9a794f4ac4a100c1bffbf6af5a0c15f9628f3b90
9a794f4ac4 [TypeDeclaration] Handle with default null on ParamTypeByMethodCallTypeRector (#5437)
2024-01-06 06:01:40 +00:00
Tomas Votruba
8728d93e41 Updated Rector to commit 55a787b9a2a18d7b131e74f0bc0d244989f6c92e
55a787b9a2 [CodeQuality] Handle crash with call inside loop on SimplifyForeachToCoalescingRector (#5436)
2024-01-06 05:25:58 +00:00
Tomas Votruba
2b45fbe814 Updated Rector to commit 3d71ae36b00e22fb5430e1812af95182c0e58904
3d71ae36b0 [TypeDeclaration] Skip re-assign with call and use as arg on StrictArrayParamDimFetchRector (#5434)
2024-01-05 13:43:19 +00:00
Tomas Votruba
b433dedda4 Updated Rector to commit d4f6b91f922bd52289d923aff07691d07e455cb1
d4f6b91f92 [TypeDeclaration] Allow both integer and string index array on StrictArrayParamDimFetchRector (#5433)
2024-01-05 13:13:40 +00:00
Tomas Votruba
feacfd524a Updated Rector to commit 971571be0cbcc21f1d6c7861c17423aef053b499
971571be0c [TypeDeclaration] Skip with empty() check on StrictArrayParamDimFetchRector (#5432)
2024-01-05 12:46:00 +00:00
Tomas Votruba
19374b3218 Updated Rector to commit 7654e2b720e0cfbefa663c009267a1f381661953
7654e2b720 Bump to phpstan 1.10.52 (#5431)
2024-01-05 10:41:41 +00:00
Tomas Votruba
9fc4d17470 Updated Rector to commit 0aecff4b07e3b70f792c6d5bec0fd103d0597de8
0aecff4b07 [dx] Remove extra phpstan-config job as already part of main phpstan run (#5430)
2024-01-05 10:33:26 +00:00
Tomas Votruba
87dbb8aa94 Updated Rector to commit 4480697a0acd8ee8fb3dd3f7fc4e6390d0d51d82
4480697a0a cs
2024-01-04 22:11:29 +00:00
Tomas Votruba
f8c73cea6c Updated Rector to commit a326b8504d37093f639245da0b283f588f954890
a326b8504d remove array spread from coding style, as often part of personal preference
2024-01-04 22:10:51 +00:00
Tomas Votruba
41a86add1d Updated Rector to commit b007a8bd11ea0451b50dbafbacd5450b295f6266
b007a8bd11 [Php83] Add implements interface support on AddOverrideAttributeToOverriddenMethodsRector (#5429)
2024-01-04 19:14:21 +00:00
Tomas Votruba
5457aea4e0 Updated Rector to commit 1f9829d2a3820f39fe0601b996c5cba71ffb42b0
1f9829d2a3 [Strict] Add StaticProperty supporton may be unitialized static property on DisallowedEmptyRuleFixerRector (#5428)
2024-01-04 15:49:28 +00:00
Tomas Votruba
da887b253b Updated Rector to commit f85e8c27b3932196d882c70b063f517a48b5aaac
f85e8c27b3 Decouple LongAndDependentComplexRectorRule to cognitive-complexity package (#5427)
2024-01-03 13:09:14 +00:00
Tomas Votruba
33de8c8a05 Updated Rector to commit 09c077e25801da58834be284a792c3987ea806ef
09c077e258 [TypeDeclaration] Add false and true in union support on ReturnUnionTypeRector (#5355)
2024-01-03 11:07:47 +00:00
Tomas Votruba
5c10ef9158 Updated Rector to commit 09c077e25801da58834be284a792c3987ea806ef
09c077e258 [TypeDeclaration] Add false and true in union support on ReturnUnionTypeRector (#5355)
2024-01-03 07:52:06 +00:00
Tomas Votruba
1daa932d00 Updated Rector to commit 5c0397910fbd9735c375c4632ec116ebe8609f25
5c0397910f Add missing rule doc (#5426)
2024-01-02 21:38:33 +00:00
Tomas Votruba
350042dba4 Updated Rector to commit 9144efc05cf4d084d4af69f4df0be9d7a66e5869
9144efc05c Keep called method in RemoveEmptyClassMethodRector (#5425)
2024-01-02 20:43:50 +00:00
Tomas Votruba
3a49fcd8d5 Updated Rector to commit 8724feefea91743e05006cb1329c5cd1675b5003
8724feefea Skip cond with side effect in RemoveDeadConditionAboveReturnRector (#5424)
2024-01-02 20:16:55 +00:00