Commit Graph

5077 Commits

Author SHA1 Message Date
Tomas Votruba
6ef7f81fc3 Updated Rector to commit c4dd05e2e3ae6359ff4eb57ce7d7bd7619da139d
c4dd05e2e3 [CodeQuality] Add StaticToSelfStaticMethodCallOnFinalClassRector (#5621)
2024-02-15 12:52:16 +00:00
Tomas Votruba
53742c371b Updated Rector to commit 70fa502a59dfb8f81011a46a456e1ccb4051be76
70fa502a59 [CodeQuality] Skip private static call from static:: on LocallyCalledStaticMethodToNonStaticRector (#5620)
2024-02-15 09:08:32 +00:00
Tomas Votruba
055cd31f66 Updated Rector to commit 2ff0f08bd7f7f6c848821bcabf0872f81a9c440b
2ff0f08bd7 [PHP 8.0] Add always class to AnnotationToAttribute to include string to ::class reference conversion (#5619)
2024-02-14 19:28:57 +00:00
Tomas Votruba
64ecb6b387 Updated Rector to commit 82d1e1b0c8b80d7a2f30aa4b0fa988a683427db9
82d1e1b0c8 [Php81] Handle nested Fqcn UniqueConstraint on NestedAnnotationToAttributeRector (#5614)
2024-02-13 14:47:21 +00:00
Tomas Votruba
b9e54635e9 Updated Rector to commit 7afec9a02c39848257341c4d2d08e1ddf52bc58b
7afec9a02c Add unique PHP 8.1 constraints (#5612)
2024-02-13 04:45:07 +00:00
Tomas Votruba
f863e8b003 Updated Rector to commit 7de77e518f7b47b7c7ba0d96152d4acdad958639
7de77e518f [TypeDeclaration] Add AddTestsVoidReturnTypeWhereNoReturnRector (#5611)
2024-02-12 22:55:41 +00:00
Tomas Votruba
a120574816 Updated Rector to commit 14eb72c7bb6edc4a6e80c73c722f54465d947531
14eb72c7bb [DeadCode] Handle used in assign return on RemoveUnusedPrivatePropertyRector (#5608)
2024-02-12 14:51:52 +00:00
Tomas Votruba
7f9bb2ae80 Updated Rector to commit df8d2b78edd46542e6426fec606c3ea98d712532
df8d2b78ed Copy subtype phpdoc on ClassPropertyAssignToConstructorPromotionRector (#8438) (#5603)
2024-02-11 09:00:00 +00:00
Tomas Votruba
54904b716f Updated Rector to commit 77ec96e4e8ec9e3a1d514df878e6eadcd199feb8
77ec96e4e8 [Transform] Allow class const fetch value on rules() on RectorConfigBuilderRector (#5596)
2024-02-10 13:37:38 +00:00
Tomas Votruba
3f928476d9 Updated Rector to commit 2c65489cfd178fbd0e4d2b52b504a7541e34bc59
2c65489cfd [Php81] Skip another possible cast array to string on NullToStrictStringFuncCallArgRector (#5589)
2024-02-09 08:50:13 +00:00
Tomas Votruba
e5f35d1a39 Updated Rector to commit 178ce5c65a820a5c42c7928486a044b44a976436
178ce5c65a  [Php81] Skip possible array on NullToStrictStringFuncCallArgRector  (#5587)
2024-02-08 13:13:45 +00:00
Tomas Votruba
7bb5d0c0c4 Updated Rector to commit 5b3d656a003e72540050d47e00285341a96b5796
5b3d656a00 [Custom] Add "detect-node" command to help with writing custom rules (#5576)
2024-02-07 16:28:52 +00:00
Tomas Votruba
af18c3962f Updated Rector to commit 667983116e7c8ec828a0b9b1877f90e4faf532e0
667983116e [Transform] Transform skip() to withSkip() on RectorConfigBuilderRector (#5575)
2024-02-07 13:22:56 +00:00
Tomas Votruba
0d0320e989 Updated Rector to commit 5a5ea60f6dffdd0a63e04a64f8061f53facd46b3
5a5ea60f6d [Transform] Transform paths() to withPaths() on RectorConfigBuilderRector (#5574)
2024-02-07 13:11:49 +00:00
Tomas Votruba
ed0dadf714 Updated Rector to commit bd37496639378be3e1b72dec430ef906f0a6e94d
bd37496639 [DeadCode] Skip with magic __get() on RemoveUnusedPromotedPropertyRector (#5573)
2024-02-07 12:31:25 +00:00
Tomas Votruba
914c0a8e27 Updated Rector to commit af4d3db31bacab922d47b2551cec66644e3568b7
af4d3db31b [PHP81] Skip after is_string on object call on NullToStrictStringFuncCallArgRector (#5572)
2024-02-07 10:34:12 +00:00
Tomas Votruba
c65d65d663 Updated Rector to commit 7976482b3b067758fc88b000794e8cb94a4b2389
7976482b3b ExplicitBoolCompareRector: skip phpdoc (#5567)
2024-02-06 14:37:09 +00:00
Tomas Votruba
64d401b643 Updated Rector to commit 9a44c19598a21aff4b6b38f9a0db3b5ca30337c6
9a44c19598 [Transform] Transform rules() to withRules() on RectorConfigBuilderRector (#5566)
2024-02-06 06:23:36 +00:00
Tomas Votruba
428336c22c Updated Rector to commit 09398c3d4f07bb6ad664a55b87cab955278a467e
09398c3d4f Decouple AddFunctionVoidReturnTypeWhereNoReturnRector to allow leveling by simple node first (#5563)
2024-02-05 16:07:43 +00:00
Tomas Votruba
d00ebb838c Updated Rector to commit 56c250771518c2aa2e17bc64c9986c2dbe9b6fd8
56c2507715 Decouple AddClosureVoidReturnTypeWhereNoReturnRector to allow leveling by simple node first (#5562)
2024-02-05 15:56:19 +00:00
Tomas Votruba
b0c6aaf812 Updated Rector to commit 625bc7eee281d46b0e7c706d9ca9e259b7ef0db6
625bc7eee2 Fix platform version resolution, use require first (#5555)
2024-02-04 23:14:35 +00:00
Tomas Votruba
8cb186674a Updated Rector to commit 037153ba50e85666dc8bdc90f832ea4c0ff3677e
037153ba50 [DX] Fix missing Rector\RectorGenerator\Exception\ConfigurationException (#5558)
2024-02-04 21:53:39 +00:00
Tomas Votruba
8e25ebe2a2 Updated Rector to commit ba1cad35898880f6de97c9743aab96d2ac90ba73
ba1cad3589 [Privatization] Fix reprint with attribute on FinalizeTestCaseClassRector (#5557)
2024-02-04 21:10:29 +00:00
Tomas Votruba
e394be7dd2 Updated Rector to commit 2dd395167cdc146a1b566bae9c5c2f2885e55c16
2dd395167c [TypeDeclaration] Skip assign in construct with method call property same name on RestoreDefaultNullToNullableTypePropertyRector (#5556)
2024-02-04 20:46:49 +00:00
Tomas Votruba
b707660218 Updated Rector to commit 081cf7f7e508428f259b83125883178632e350dc
081cf7f7e5  [Transform] Add RectorConfigBuilderRector  (#5551)
2024-02-04 11:05:31 +00:00
Tomas Votruba
59f9eb1491 Updated Rector to commit 715103cdf1ecad0b4668f3b9e38582b3e5b55fbe
715103cdf1 Add support for YieldFrom into places where Yield_ is checked (#5499)
2024-02-03 22:50:20 +00:00
Tomas Votruba
e45bc25429 Updated Rector to commit 06fa177cb6524bdd1a3338ed5d98871ef7a5590e
06fa177cb6 Fix make ReadOnlyPropertyRector skip if traits are used, as not reliable (#5548)
2024-02-03 21:46:29 +00:00
Tomas Votruba
2080c1456d Updated Rector to commit 1848724bf2308c31e53d0937013715fa7a40a9c3
1848724bf2 [EarlyReturn] Skip append variable in PreparedValueToEarlyReturnRector (#8390) (#5545)
2024-02-02 21:56:32 +00:00
Tomas Votruba
5c93328f48 Updated Rector to commit cdc57233696fd680c8ebe3040b02c54d1da9c779
cdc5723369 [TypeDeclaration] Change bool to false or true docblock when union has false/true standalone type on ReturnUnionTypeRector (#5543)
2024-02-02 06:45:48 +00:00
Tomas Votruba
b0211bc3d8 Updated Rector to commit fa75fcf0d1445f90cff9199875aba352671795f9
fa75fcf0d1 [Performance][PhpVersionResolver] Cache resolve platform/require from composer.json on ProjectComposerJsonPhpVersionResolver (#5542)
2024-02-01 23:54:40 +00:00
Tomas Votruba
22c18b8179 Updated Rector to commit f03a6fd7d060535a5c124fe461190aafc527364e
f03a6fd7d0 [Privatization] Add FinalizeTestCaseClassRector (#5539)
2024-01-31 23:36:35 +00:00
Tomas Votruba
c49de5a16c Updated Rector to commit 5e7ecb623ad7fe78a660fe3d2275166492ebdb40
5e7ecb623a [stabilize] Remove child classes from MixedTypeRector as not reliable (#5537)
2024-01-31 22:01:40 +00:00
Tomas Votruba
dc77b4b2a6 Updated Rector to commit cbc077340ed5ee4a062caa32ab91cd8cb0d4ec6e
cbc077340e [stabilize] Deprecate FinalizeClassesWithoutChildrenRector as causing bugs without full context (#5535)
2024-01-31 21:40:00 +00:00
Tomas Votruba
e377d35b97 Updated Rector to commit 2efd564640e94edf09f95f3872adb11e059f5fb8
2efd564640 [stabilize] Deprecate FinalizePublicClassConstantRector as not reliable and causes uncontroller changed (#5534)
2024-01-31 14:27:18 +00:00
Tomas Votruba
a28aa22831 Updated Rector to commit 27791d1456c5ade373a0ba9d818404805eee89f4
27791d1456  [Php81] Allow nullable union on NullToStrictStringFuncCallArgRector  (#5532)
2024-01-31 13:37:12 +00:00
Tomas Votruba
aace6ea006 Updated Rector to commit 7294e98a19531d580c3ba901c147ea0a52282595
7294e98a19 Fix AddMethodCallBasedStrictParamTypeRector if already has a type (#5530)
2024-01-30 23:57:24 +00:00
Tomas Votruba
97c24103e6 Updated Rector to commit 6046c24443d9bfdfe5bf8638fb82e03703ee1df8
6046c24443 [CodingStyle] Return null on no change on StrictArraySearchRector (#5528)
2024-01-30 20:48:28 +00:00
Tomas Votruba
8fe9717aee Updated Rector to commit 3c51cd8ebebd6840a0374e367308049c36761ee0
3c51cd8ebe [EarlyReturn] Improve RemoveAlwaysElseRector to handle multiple ElseIfs (#8178) (#5521)
2024-01-30 09:02:15 +00:00
Tomas Votruba
3c3170a04e Updated Rector to commit 171fddb1a1e9c54e194130ffe039809721d1f465
171fddb1a1 add withPhpSets() methods (#5519)
2024-01-29 23:52:40 +00:00
Tomas Votruba
826292d8c1 Updated Rector to commit 52398c81f9e88bde858cd2d79d481ae66190abc7
52398c81f9 [Php83] add string type to concat constant (#5516)
2024-01-29 16:18:28 +00:00
Tomas Votruba
cd34331aa7 Updated Rector to commit c2cdcd3922d06924acfbf4a792eec61dccbee03e
c2cdcd3922 [CodeQuality] Fix logic start with [^ on SimplifyRegexPatternRector to ensure only skip on this case (#5495)
2024-01-23 16:37:59 +00:00
Tomas Votruba
aa518bb95d Updated Rector to commit dd02659ec90240c9452ccb86e48fb53879572935
dd02659ec9 [CodeQuality] Skip surplus open square bracket on SimplifyRegexPatternRector (#5494)
2024-01-23 15:52:42 +00:00
Tomas Votruba
e4d714cf5f Updated Rector to commit f7caedf1b61070322bfb44bb266fbf26f8c993d3
f7caedf1b6 [Performance][PhpParser] Deprecate InlineCodeParser::parse(), extract into parseFile() and parseString() (#5482)
2024-01-23 09:41:00 +00:00
Tomas Votruba
c36d19ef56 Updated Rector to commit aa66151ff14da601b4b155f4a876ad2a2070259c
aa66151ff1 [Performance] Remove unnecessary FunctionLikeParamPositionNodeVisitor (#5491)
2024-01-22 14:26:31 +00:00
Tomas Votruba
0fc99839e2 Updated Rector to commit a2ff229df99785b6b51721d929a750f51e72f57a
a2ff229df9 Fix phpstan (#5489)
2024-01-21 23:21:57 +00:00
Tomas Votruba
b140c86242 Updated Rector to commit 46dd96122bdeb7b893f518bd131c69093b6da752
46dd96122b [Renaming] Remove rename class name (#5488)
2024-01-21 23:15:27 +00:00
Tomas Votruba
599ee7833e Updated Rector to commit be53faca08c2f5c3ebafb636e766788676f54d28
be53faca08 [Renaming] Remove namespace renames in ClassRename, as it should only rename references, not move to new namespace (#5487)
2024-01-21 21:13:24 +00:00
Tomas Votruba
6cacf30624 Updated Rector to commit 7e2495e5f572bb566a845a0e1a6329cf141f872d
7e2495e5f5 [Php70] Skip inside Encapsed on ThisCallOnStaticMethodToStaticCallRector (#5481)
2024-01-19 14:05:32 +00:00
Tomas Votruba
f605aeb93f Updated Rector to commit 76714b95f240409a6fad92725ea19c870ed3ff14
76714b95f2 [Printer] Remove unnecessary BetterStandardPrinter::pStmt_Use() (#5478)
2024-01-18 20:41:36 +00:00
Tomas Votruba
566e0f2b70 Updated Rector to commit 985d5ea5109e1282f35370006ad7ac26df7789de
985d5ea510 cs
2024-01-17 14:38:19 +00:00