Commit Graph

17561 Commits

Author SHA1 Message Date
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
Tomas Votruba 4d9655bcf0 Updated Rector to commit daf8b4879cbd0c4a0f42691b81b8d0c7f63da855
daf8b4879c Revert broken load Phar support on BootstrapFilesIncluder (#5529)
2024-01-30 22:49:21 +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 17078d56a8 Updated Rector to commit 2f041dc9beacc2f150344f4c169cc14d4c4991d9
2f041dc9be [DX] PHP sets should not disable all other version-based rules (#5527)
2024-01-30 20:43:47 +00:00
Tomas Votruba 89734ded6b Updated Rector to commit a6b0d2c732d9532940bce76d45d83d41482c0f5a
a6b0d2c732 [DX] Skip vendor warning in case of downgrade (#5526)
2024-01-30 20:28:41 +00:00
Tomas Votruba e3df11f1c1 Updated Rector to commit 0ff8cb0a99db5de31bb999977a5a417bb282e4d2
0ff8cb0a99 [DX] Warn about run on /vendor directory (#5525)
2024-01-30 16:58:24 +00:00
Tomas Votruba a8e493082a remove dead file 2024-01-30 17:24:30 +01:00
Tomas Votruba d54a5a3c50 Updated Rector to commit 6edf23f6b6cdc2982618ac311c6b7936d3fdcf16
6edf23f6b6 Added 4 methods into RectorConfigBuilder (#5524)
2024-01-30 16:16:28 +00:00
Tomas Votruba 5d13103f37 Updated Rector to commit 5979c0932fd77f40f601ea37687c466833e83ed7
5979c0932f Exclude finalize rule from private set, to keep safer (#5523)
2024-01-30 13:11:00 +00:00
Tomas Votruba 0301d3f400 Updated Rector to commit f680a070335ee796de19b25a98c2d4ac172b6fe8
f680a07033 [Autoloading] Proper fix for fix bootstrap phpunit.phar (#5522)
2024-01-30 10:08:17 +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 c828305041 Updated Rector to commit 58ef131772f7745a52c3990aeaea34a4892b6ae5
58ef131772 [Performance] Remove CollectedData on ProcessResult (#5520)
2024-01-30 05:37:48 +00:00
Tomas Votruba 89c895d127 Rector 0.19.5 2024-01-29 23:53:47 +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 bc9920ff03 Updated Rector to commit ca23ae894e833861e83533ed9f89fc7b3bf37fee
ca23ae894e [Autoloading] Allow to define bootstrapFiles([__DIR__ . '/some.phar']) on BootstrapFilesIncluder (#5518)
2024-01-29 23:33:42 +00:00
Tomas Votruba 0d3dcc3842 Rector 0.19.4 2024-01-29 21:18:03 +00:00
Tomas Votruba 7c6043c26c Updated Rector to commit 21aa474269373c93fa8d74e72e7e8ee817a38cee
21aa474269 Fix configured rule (#5517)
2024-01-29 21:10:17 +00:00
Tomas Votruba 5c1dd52a62 Rector 0.19.3 2024-01-29 19:04:58 +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 94c55b84c0 Updated Rector to commit 1608ae8c9497bbfaf78ce54130ec304963ac6f2a
1608ae8c94 [Windows] Utilize Nette\Utils\FileSystem instead of Symfony\Component\Filesystem\Filesystem to write file (#5514)
2024-01-28 22:41:37 +00:00
Tomas Votruba 691f25c420 Updated Rector to commit e17f878d5adb301fda0de8f9da2d94d898a363c3
e17f878d5a [Templates] Fix syntax error on templates/rector.php.dist (#5515)
2024-01-28 20:53:14 +00:00
Tomas Votruba 758b064c65 Updated Rector to commit c5d4a78df1fe7ad674631f7373e127ff75eae896
c5d4a78df1 [Windows] Support replace \r\n on DocBlockInliner (#5513)
2024-01-28 18:53:09 +00:00
Tomas Votruba 2521815c9a Updated Rector to commit 1b4395caa0579c559e484b75b7fd9baadc307c0c
1b4395caa0 [DX] Allow Arg in value resolver, as often used and intuitive (#5512)
2024-01-28 10:00:13 +00:00
Tomas Votruba c155c9cbaa Updated Rector to commit 040b839e71ec558c83553bc1462924e96993f6f0
040b839e71 [Windows] Rework add windows support on tests CI (#5504)
2024-01-28 08:50:44 +00:00
Tomas Votruba e47a59adcc Updated Rector to commit b107a16f98aecf2a5ff969e30ff48595daadc06d
b107a16f98 [Performance] Reduce repetitive FileSystem::read() on AbstractRectorTestCase (#5511)
2024-01-28 03:50:21 +00:00
Tomas Votruba 6752d80c19 Updated Rector to commit 63fbf41cc9a6cc66c720926beec4603892eb21d0
63fbf41cc9 [Formatter] Remove unused CompleteUnifiedDiffOutputBuilderFactory (#5510)
2024-01-27 23:54:33 +00:00
Tomas Votruba 120a7594fb Updated Rector to commit b2d76bd6eff80326b8f89a061f44b06cf90ba49a
b2d76bd6ef Improve config builder + add withAttributesSets() method (#5509)
2024-01-27 12:22:01 +00:00
Tomas Votruba b6bd629be8 Updated Rector to commit 1fe8f3a7694b7fad2e6fee66b575fe2e05738824
1fe8f3a769 [tidy] Use code sample format (#5508)
2024-01-27 12:03:51 +00:00
Tomas Votruba e41705aa94 Updated Rector to commit a6ace939a0cbccd31623d3e18677ea8791e69aab
a6ace939a0 [Configuration] Use array_merge() on RectorCnofigBuilder::withSets() (#5507)
2024-01-26 22:36:43 +00:00
Tomas Votruba 9204913593 Updated Rector to commit a69e1ff013720727f052437d051ca5ab2c11b89e
a69e1ff013 Add PHPUnit 9 annotations support detectoin in "custom-rule" command, add RectorConfig::withPreparedSets() (#5506)
2024-01-26 21:43:08 +00:00