Commit Graph

5170 Commits

Author SHA1 Message Date
Tomas Votruba
06f50472a3 Updated Rector to commit 6c7dbaad0ab67dd06cef9237fab3728ae4f23e9a
6c7dbaad0a config method must be static, to avoid creating rule before loading related ctor services (#5606)
2024-02-12 08:57:06 +00:00
Tomas Votruba
b8be29526e Updated Rector to commit 62ba91690bda77bfa41075d5dda3d0487a869580
62ba91690b [internal] Add RelatedConfigInterface to load external services (#5605)
2024-02-12 08:46:32 +00:00
Tomas Votruba
de79e08a92 Updated Rector to commit 8d524d4c3b4a8b506d558eec23caf1923e59bb81
8d524d4c3b [PostRector] Skip remove unused imports on used in multiple docs in single node (#5604)
2024-02-12 08:46:12 +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
1e3b11c5e1 Updated Rector to commit 6980dc63c77d0214730c94e0c620fa729047f879
6980dc63c7 [PHPStan] clean up ignore phpstan errors (#5601)
2024-02-11 08:18:05 +00:00
Tomas Votruba
6f6fad7878 Updated Rector to commit 333f38ba4e1923e92cb2032b64363d1b170e842c
333f38ba4e [automated] Apply Coding Standard (#5600)
2024-02-11 00:29:29 +00:00
Tomas Votruba
74eb099cdd Updated Rector to commit f4c674c08210069b766058f035c1a41e833de167
f4c674c082 [automated] Re-Generate Nodes/Rectors Documentation (#5599)
2024-02-11 00:28:51 +00:00
Tomas Votruba
3899caefbf Updated Rector to commit fbc391aa82a629f07f432860b146e617156a48e3
fbc391aa82 No need normalize cwd() as only need strlen() on VendorMissAnalyseGuard (#5598)
2024-02-10 13:48:41 +00:00
Tomas Votruba
f2b6b79e92 Updated Rector to commit 6d408f520f1766ba4450d057e6e10c0ffbfa9275
6d408f520f [Performance] Use strlen() early before loop on VendorMissAnalyseGuard (#5597)
2024-02-10 13:42:27 +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
7004efd93b Updated Rector to commit 7e637860a069b8ef0f54360664b722578306b994
7e637860a0 [Config] Use RectorConfig::configure() on rules-tests (#5594)
2024-02-10 05:02:47 +00:00
Tomas Votruba
5e3115386a Updated Rector to commit fbbdd50c6214af5a0bd2b9ff3ba3766ca717cf1a
fbbdd50c62 [Config] Use RectorConfig::configure() on tests (#5593)
2024-02-10 05:01:44 +00:00
Tomas Votruba
f63718b5ba Updated Rector to commit 2b913ac43c2f4031153ceb91867ef6ea44abe0db
2b913ac43c [Config] Use RectorConfig::configure() on build/config/config-downgrade.php (#5595)
2024-02-09 21:08:27 +00:00
Tomas Votruba
b9b210cd79 Updated Rector to commit 8f993b57a88d299f57461169803ddfdab886a892
8f993b57a8 Update 1_Bug_report.md to use version 1.0.0 (#5592)
2024-02-09 16:49:04 +00:00
Tomas Votruba
bbbbb87f7d Updated Rector to commit 88a27f43efbcdf7004b6f7b2a6c6255cc81b6fff
88a27f43ef [Config] Add registerService() method to allow container extension (#5591)
2024-02-09 12:02:07 +00:00
Tomas Votruba
a0a66ea1c7 Updated Rector to commit 76504227a46a540c8736759103478db2459ec5ca
76504227a4 Clean up parallel-lint exclude on downgrade build (#5590)
2024-02-09 08:58:21 +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
e32eadddc1 Updated Rector to commit a43f041278835523c96758f6df5d0e964e51ee9d
a43f041278  [DeadCode] Skip sub type false => bool on RemoveUselessVarTagRector  (#5588)
2024-02-09 08:11:26 +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
512a9f7130 Updated Rector to commit 2194c6eec73db88500a42b2f443ca6c022b7d6a1
2194c6eec7 [NodeTypeResolver] Ignore PHPStan internal error on PHPStanNodeScopeResolver on NodeScopeResolver::processNodes() (#5586)
2024-02-08 07:30:40 +00:00
Tomas Votruba
831bb7a9f7 Updated Rector to commit 2aa1c38988c58fda5ae04a5b27fad255eaa2b141
2aa1c38988 Fix undefined MHASH_* constant on running downgrade from php 8.0 (#5585)
2024-02-08 05:40:02 +00:00
Tomas Votruba
e79510ae2b Updated Rector to commit 0d55791128825909273d0cdd9743470236748d75
0d55791128 Fix downgrade build: exclude vendor/symplify/easy-parallel/ecs.php on parallel lint (#5584)
2024-02-08 04:24:11 +00:00
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