Commit Graph

17790 Commits

Author SHA1 Message Date
Tomas Votruba
dfd0ac8201 Updated Rector to commit 1a3ddfb9a41b2b7230a9fb8f26eb075d3a1c6c38
1a3ddfb9a4 [DX] Remove type covarege, as handled by phpstan itself (#5583)
2024-02-07 23:07:13 +00:00
Tomas Votruba
e6361d01dc Updated Rector to commit c99f335e2513718afc8623bfba3902ef887e9083
c99f335e25 Remove deprecated FileInfoParser (#5581)
2024-02-07 22:53:20 +00:00
Tomas Votruba
a1bb85c575 Updated Rector to commit ff8f0c19f83a3e82c74ba47cd34abe37c2d99c8b
ff8f0c19f8 [DX] Remove lines packages as not used, remove deprecations as not used (#5580)
2024-02-07 22:52:04 +00:00
Tomas Votruba
dad2c8e74c Updated Rector to commit 68dc0efd77d35371caceb7a7c5772b2ea5aa4045
68dc0efd77 [DX] Remove phpstan strict rules to ease contributing (#5579)
2024-02-07 22:40:22 +00:00
Tomas Votruba
80c79c976b Updated Rector to commit 4570438319ff69196c28b13fad1e3567ca7bd1e5
4570438319 [Config] Make sure only one of type-declaration/dead-code or with*Level() is used to avoid duplicates (#5578)
2024-02-07 21:49:03 +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
4483663a95 Updated Rector to commit a76ec2921c0202da145386cb2052f82952c34900
a76ec2921c Fix missing / suffix on VendorMissAnalyseGuard (#5571)
2024-02-07 00:44:34 +00:00
Tomas Votruba
9d4b461bdb Updated Rector to commit 5bf03c420e523f365ccc67eebb3f045e854caf55
5bf03c420e [Configuration] Fix detect /vendor on root project on vendor analyzed on VendorMissAnalyseGuard (#5569)
2024-02-07 00:22:31 +00:00
Tomas Votruba
1cd18a76ae Updated Rector to commit 6fe258536fc4a7fb903bea8eef548d37e1de8df5
6fe258536f Fix ArrayTypeMapper to handle arrays with UnionType items (#8225) (#5568)
2024-02-06 22:54:23 +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
362258a1f6 Rector 1.0.0 2024-02-06 13:38:07 +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
de3b3bb159 Rector 0.19.8 2024-02-05 10:59:13 +00:00
Tomas Votruba
a5294370bd Updated Rector to commit c44e1e57dece206f94cd5896000750172ead0272
c44e1e57de Real fix paths The given paths do not match any files on RectorConfigBuilder (#5561)
2024-02-05 10:43:38 +00:00
Tomas Votruba
8be4b973f1 Updated Rector to commit c0079e3824d81ca2bd1a4b430c06acec4a5ef731
c0079e3824 Rollback RectorConfig::configure()->withRules() on privatization config set to old style config (#5560)
2024-02-05 09:59:39 +00:00
Tomas Votruba
7810dc2e74 Updated Rector to commit 487f162d53fe42f6d76557ca6cd49d93ceb911e8
487f162d53 [experimental] Add withTypeCoverageLevel() method to streamline Rector integration to new projects (#5553)
2024-02-05 08:01:59 +00:00
Tomas Votruba
ad50de3844 Updated Rector to commit 70f10cb70dddf660c3b26f0e93e83248e0a07adb
70f10cb70d Cache null result on ProjectComposerJsonPhpVersionResolver (#5559)
2024-02-04 23:31:45 +00:00
Tomas Votruba
53f16f413e Rector 0.19.7 2024-02-04 23:23:09 +00:00
Tomas Votruba
1f22f1decc Updated Rector to commit 02a088c735b9b829c8f0dec445e71dea70e559bc
02a088c735 bump template version
2024-02-04 23:22:33 +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
9464484f39 Rector 0.19.6 2024-02-04 12:45:08 +00:00
Tomas Votruba
2f8afbb309 Updated Rector to commit 183422d041785e31cbd50665023cece58616ea25
183422d041 Kick off basic rector.php with simpler and more practical rule (#5552)
2024-02-04 12:44:34 +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
5c6ad07e4c Updated Rector to commit b85682bedf3d32c32bea9f1fef01d983f3ae89cf
b85682bedf [automated] Apply Coding Standard (#5550)
2024-02-04 00:28:54 +00:00
Tomas Votruba
c3f1a7f362 Updated Rector to commit 0242b2a9231beaff11fd94ec25224354a7e75cf9
0242b2a923 [automated] Re-Generate Nodes/Rectors Documentation (#5549)
2024-02-04 00:28:33 +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
ef919121e0 Updated Rector to commit b0ad3649f9eb67550dea6dee01bb374f6bf675df
b0ad3649f9 Fix xdebug handling (#5544)
2024-02-03 07:09:19 +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
a34f5aea5b Updated Rector to commit f03a6fd7d060535a5c124fe461190aafc527364e
f03a6fd7d0 [Privatization] Add FinalizeTestCaseClassRector (#5539)
2024-01-31 23:49:18 +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
71406bdeee Updated Rector to commit 3cfdad6ce695b2ea651c1d602e37f129f18e585e
3cfdad6ce6 [stabilize] Remove last children method checks (#5538)
2024-01-31 22:21:09 +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
b33dd4eba3 Updated Rector to commit 8b7c8c7d4f7ed05b36f595c01c632494193ba4bc
8b7c8c7d4f [stabilize] Remove family tree check from ClassMethodParamVendorLockResolver as not reliable (#5536)
2024-01-31 21:43:56 +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
b63058a821 Updated Rector to commit b78db9f56f9b9ae95169d37726cb6d2a2f802623
b78db9f56f Remove unused variable (#5531)
2024-01-31 07:59:42 +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