5023 Commits

Author SHA1 Message Date
Tomas Votruba
4b78498132 Updated Rector to commit 328c43713e7b7ec77675637582117619af012985
328c43713e static fixes (#2661)
2022-07-14 22:29:28 +00:00
Tomas Votruba
ff718bc107 Updated Rector to commit 329b4f2e6f13394b56eb4ad01e020fc651fc83d5
329b4f2e6f [NodeTypeResolver] Refactor ParametersAcceptorSelectorVariantsWrapper to pass CallLike instead of Arg (#2632)
2022-07-05 07:33:24 +00:00
Tomas Votruba
0e7a81986d Updated Rector to commit 931c1472c6676e224979d3910552a3025c4903e9
bcc6764002 add preload for split package 931c1472c6 cs
2022-07-03 21:50:48 +00:00
Tomas Votruba
606cd7be37 Updated Rector to commit 8eedf1878f6882c8cba5b696613828a6ae15790d
8eedf1878f [Php71] Skip First Class Callable on RemoveExtraParametersRector (#2622)
2022-07-03 17:06:40 +00:00
Tomas Votruba
80dae040ce Updated Rector to commit 39a6ed5d83fcb4d96adb9112e2332081b8a6bec6
39a6ed5d83 Enable rule (#2619)
2022-07-03 12:51:23 +00:00
Tomas Votruba
8c06162529 Updated Rector to commit f608461e44c6a4008a2bff6c603ba9d52d3ffacf
f608461e44 Remove RemoveOverriddenValuesRector as flow of control is not reliable and could cause invalid removal (#2614)
2022-07-03 08:06:08 +00:00
Tomas Votruba
3ebe5dd36e Updated Rector to commit 7222eccac1827abdb9ce1565ea18d2de0c98f743
7222eccac1 [TypeDeclaration] Skip AddArrayReturnDocTypeRector on custom phpstan type (#2608)
2022-07-02 21:29:13 +00:00
Tomas Votruba
b50d03dfc6 Updated Rector to commit 87799d5f1d70d6399ed9e72c4ffa8b421c671527
87799d5f1d Add ParametersAcceptorSelectorVariantsWrapper to handle selectFromArgs() on multi variants, fallback to selectSingle (#2607)
2022-07-02 21:18:00 +00:00
Tomas Votruba
8c4e269a9d Updated Rector to commit 6be87763cbe27e0c20d3923df0efe629e5cae6f8
6be87763cb [CodeQuality] Remove DateTimeToDateTimeInterfaceRector as mostly opinionated and way too much generics (#2598)
2022-07-01 07:42:17 +00:00
Tomas Votruba
fbc13bfea3 Updated Rector to commit e6e5895517eb301f3fa3b00759b06876cacde836
e6e5895517 [Naming] Skip used in arrow function args on RenameVariableToMatchMethodCallReturnTypeRector (#2599)
2022-07-01 07:39:49 +00:00
Tomas Votruba
8582284513 Updated Rector to commit ed92724c846790f1bab66cd81b3e20a6561694ed
ed92724c84 [DX] Try unused public const PHPStan rule (#2595)
2022-06-30 13:57:27 +00:00
Tomas Votruba
4f6ff772bb Updated Rector to commit 82b24679cd1763f610b5356684766658ab9a80fa
82b24679cd [DeadCode] Handle anonymous and arrow function uses in RemoveJustPropertyFetchRector (#2592)
2022-06-30 13:32:41 +00:00
Tomas Votruba
26c0e5c79b Updated Rector to commit 143f743d4ffb63b8fa6649841782d6d48735d472
143f743d4f [DX] Add MissingInSetCommand, to verify what rules are not part of their sets (#2594)
2022-06-30 13:31:25 +00:00
Tomas Votruba
846aa2b4c2 Updated Rector to commit e97dd8f3607c8f0d038ef630f6e4bc5bccf58a89
e97dd8f360 Use rector downgrade php (#2582)
2022-06-28 12:42:29 +00:00
Tomas Votruba
bebb65659c Updated Rector to commit 92621698c22c5ea04799c1233f9522cdf7ac651d
92621698c2 [DX] Move UnionTypeFactory to NodeTypeResolver packages (#2581)
2022-06-27 20:29:12 +00:00
Tomas Votruba
a0705ea3d6 Updated Rector to commit 6845975035289df55f72cc710101fc9ae5d4ae1b
6845975035 [Core] Replace deprecated ->enterCatch() with enterCatchType() (#2548)
2022-06-25 16:12:40 +00:00
Tomas Votruba
582aecc7dd Updated Rector to commit 237f603c81d4bbbd0de22e5eebdf32f53902ee15
237f603c81 Skip all but exactly one return (#2565)
2022-06-25 16:12:31 +00:00
Tomas Votruba
f8d669f3e6 Updated Rector to commit dcad222eb70b83ce46d2d639393ca42aeaadd11a
dcad222eb7 [Core] Handle Scope not available on DowngradeArrayIsListRector+DowngradePregUnmatchedAsNullConstantRector (#2556)
2022-06-25 16:11:22 +00:00
Tomas Votruba
4682eeff15 Updated Rector to commit 24d2250c592ca4f443e256e5841ddba03f8c82ae
24d2250c59 [Parallel] Display stack trace on --debug on parallel (#2561)
2022-06-25 06:53:01 +00:00
Tomas Votruba
baf7c2cd12 Updated Rector to commit 9a683effa916e5b0550ed4e26a399e6501959f03
9a683effa9 Fix @return on StaticDoctrineAnnotationParser and PlainValueParser (#2560)
2022-06-24 05:46:03 +00:00
Tomas Votruba
a74b851a08 Updated Rector to commit 29076877929c70a4f9b14e0a786b7be25af3a591
2907687792 Fix @return on StaticDoctrineAnnotationParser::resolveAnnotationValue() (#2558)
2022-06-23 20:27:42 +00:00
Tomas Votruba
4522848db4 Updated Rector to commit 005ca33bcbc23aa83608e0e4c01b16f745a35eea
005ca33bcb [DowngradePhp80] Do not change correct Union array docblock to mixed[] on DowngradeUnionTypeDeclarationRector (#2555)
2022-06-22 22:21:39 +00:00
Tomas Votruba
138ae66a5b Updated Rector to commit 83f2b16f0cb02afa836e1509200a81ddadcf02e0
83f2b16f0c [cs] add static lambda rule [closes #2514]
2022-06-21 15:38:46 +00:00
Tomas Votruba
c9b4c3f38d Updated Rector to commit 0fb4f5bfbbf4460ddb40b168cf40555f089d3a45
0fb4f5bfbb [Core] Apply Scope Refresh on Enum_ (#2549)
2022-06-21 14:59:06 +00:00
Tomas Votruba
f638f7a12a Updated Rector to commit fe88fbb6306cec3728b9158fd13b1cfd23b9f0f6
fe88fbb630 [PHP 8.1] Add FirstClassCallableRector (#2544)
2022-06-21 07:39:15 +00:00
Tomas Votruba
1c6f1d1b92 Updated Rector to commit 4eeadae7bfd4b31666f35f9401a7d84f3a886b52
4eeadae7bf [Php56] Skip multiple catch with same variable on AddDefaultValueForUndefinedVariableRector (#2533)
2022-06-20 07:09:14 +00:00
Tomas Votruba
667b378a17 Updated Rector to commit 88e17ecb1031251d6f67628263fcb87ecc7b67b8
88e17ecb10 [PHP 7.0] skip non-existing method in StaticCallOnNonStaticToInstanceCallRector (#2532)
2022-06-19 08:57:14 +00:00
Tomas Votruba
36fef87f0f Updated Rector to commit 372e03052339acef62730736d0e2378fb63b4c70
372e030523 [Core] Handle parent return/assign from FuncCall with No Scope (#2525)
2022-06-19 08:24:30 +00:00
Tomas Votruba
18b4fe7497 Updated Rector to commit 3e6c9cf5af1c619d022f40d531dc73492eef1756
3e6c9cf5af Add DISABLE_AUTO_IMPORT_DOC_BLOCK_NAMES option (#2526)
2022-06-18 22:29:58 +00:00
Tomas Votruba
f788998a40 Updated Rector to commit 9aec92a559715fdb13c8ff283d6f7b27e7cc659d
9aec92a559 rollback guard (#2524)
2022-06-17 06:22:21 +00:00
Tomas Votruba
dd31e833a9 Updated Rector to commit ce1c29184d943c5626b4461b6314f18701898b82
ce1c29184d [scoped] change only year and month, to make diff esaier to see; autoload is handled already
2022-06-11 12:27:46 +00:00
Tomas Votruba
9cf6755b1b Updated Rector to commit 9679ed6d77dcb4061aef35b8e4fa778217d466e8
9679ed6d77 [DeadCode] Skip using coealesce assign operator on return on RemoveUnusedPrivatePropertyRector (#2476)
2022-06-11 12:21:18 +00:00
Tomas Votruba
b4891e547c Updated Rector to commit a5340c6f0693141a73cb3ec4cd72e2c213c13276
a5340c6f06 [Renaming] Do not rename docblock same name not found in use inside namespace (#2471)
2022-06-11 11:59:10 +00:00
Tomas Votruba
7fbc26bbc7 Updated Rector to commit 797cb38b8805859f67bbe4a08be0ec7ee6bb4486
797cb38b88 Clean PHPStan errors (#2475)
2022-06-10 14:48:54 +00:00
Tomas Votruba
a9ffd906d7 Updated Rector to commit 368dbb048c0c891e205ec4dae8427b53deb4d316
368dbb048c docs: fix instruction in CONTRIBUTING.md (#2470)
2022-06-10 05:55:49 +00:00
Tomas Votruba
5953030010 Updated Rector to commit 56651d0190ca04cdf0c33484d359ae197b455a15
56651d0190 use PHPStan 1.7.12, with new phpdoc-parser to fix endline issue
2022-06-09 12:53:21 +00:00
Tomas Votruba
5121d59961 Updated Rector to commit cb1473a3ac63514816047f63c27df3a0a5b3ede8
cb1473a3ac [Renaming] Do not rename class with same name inside different namespace on RenameClassRector (#2455)
2022-06-09 07:37:21 +00:00
Tomas Votruba
4d4534b723 Updated Rector to commit ff931e4b7408b92acce925aba4a4fe9e80591a99
ff931e4b74 [CodingStyle] Skip non-empty-string on VarConstantCommentRector (#2451)
2022-06-09 06:15:01 +00:00
Tomas Votruba
7e1e20e9f2 Updated Rector to commit 17b86d4b7728ceeb245226f2735b7b4abf6c58a8
17b86d4b77 [CodeQuality] Remove unnecessary check next return removed no SimplifyIfElseToTernaryRector (#2457)
2022-06-09 06:07:50 +00:00
Tomas Votruba
e8d4384fe8 Updated Rector to commit 6c8b3dc9f8d10cefe8351b0f3f80c6954dd2397a
6c8b3dc9f8 [DeadCode][PHPUnit] handle crash on RemoveJustPropertyFetchForAssignRector+SimplifyForeachInstanceOfRector (#2453)
2022-06-08 05:54:40 +00:00
Tomas Votruba
0b4d7cf713 Updated Rector to commit 1a84313089f670496a3313ade850d1650df47741
1a84313089 [Renaming] Skip rename docblock on conflict with alias on RenameClassRector (#2450)
2022-06-07 12:52:01 +00:00
Tomas Votruba
b6a8818d00 Updated Rector to commit cbbe410affb8afcfc3843e6738e882eef18a559d
cbbe410aff string prefixing is still needed
2022-06-07 09:46:15 +00:00
Tomas Votruba
9bb996bfce Updated Rector to commit a9779404d3ed9fcc9c5918c03fa57828e44857de
a9779404d3 try without prefixing string classes
2022-06-07 09:38:27 +00:00
Tomas Votruba
bdec76e60e Updated Rector to commit 5ed173f14865e72ba7156645e2a79930152e1cc5
5ed173f148 skip RuleDefinition explicitly
2022-06-07 09:18:30 +00:00
Tomas Votruba
bdfd24339f Updated Rector to commit 2e977bd3aad21113e0bb7e2aa9b102f6f1e9246d
2e977bd3aa deploy to original repository
2022-06-07 08:22:29 +00:00
Tomas Votruba
91f5aab952 Updated Rector to commit 4f07a4f30f341a516aa8f6bbbb5f97f44469cee2
4f07a4f30f [Php74] Remove ReservedFnFunctionRector (#2447)
2022-06-07 06:40:10 +00:00
Tomas Votruba
aa2cb1b997 Updated Rector to commit 0eba231b075849ea4b327ce96c28ec359e7b7636
0eba231b07 [PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444)
2022-06-06 17:12:56 +00:00
Tomas Votruba
a28f4b14a4 Updated Rector to commit 2022-06-06 16:43:29 +00:00
Tomas Votruba
08cadc8e87 Updated Rector to commit 38a9718b52200740c552af06b4e021da10d2c132
38a9718b52 [CS] Fix dynamic and broken indent detection, allow to configure spacing via RectorConfig::indent() method (#2442)
2022-06-06 09:59:48 +00:00
Tomas Votruba
062970bc82 Updated Rector to commit df5bd5fb794a4be63a8461c44c14af4a4b1e120f
df5bd5fb79 [DX] Make ClassAnnotationMatcher differentiate between known and unknown classes (#2319)
2022-06-06 08:39:49 +00:00