Commit Graph

5436 Commits

Author SHA1 Message Date
Tomas Votruba c64634c7d7 Updated Rector to commit 48e8cfab19f5572f6419876a8f5cec0109966862
48e8cfab19 [Php80] Support windows new line line DoctrineAnnotationDecorator::LONG_ANNOTATION_REGEX (#5610)
2024-02-12 16:56:09 +00:00
Tomas Votruba 37b8c7c87c Updated Rector to commit 48e8cfab19f5572f6419876a8f5cec0109966862
48e8cfab19 [Php80] Support windows new line line DoctrineAnnotationDecorator::LONG_ANNOTATION_REGEX (#5610)
2024-02-12 16:03:52 +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 360f068804 Updated Rector to commit 5edb023974a55b0efee74dd9fe92b314dd521f2c
5edb023974 fix config for configured rule
2024-02-12 13:17:09 +00:00
Tomas Votruba 7cbf0706f9 Updated Rector to commit 5edb023974a55b0efee74dd9fe92b314dd521f2c
5edb023974 fix config for configured rule
2024-02-12 10:19:39 +00:00
Tomas Votruba 18992ab52d Updated Rector to commit 5edb023974a55b0efee74dd9fe92b314dd521f2c
5edb023974 fix config for configured rule
2024-02-12 09:34:34 +00:00
Tomas Votruba ae1e3ab8ca Updated Rector to commit 5edb023974a55b0efee74dd9fe92b314dd521f2c
5edb023974 fix config for configured rule
2024-02-12 09:14:26 +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 12e1b38e32 Updated Rector to commit df8d2b78edd46542e6426fec606c3ea98d712532
df8d2b78ed Copy subtype phpdoc on ClassPropertyAssignToConstructorPromotionRector (#8438) (#5603)
2024-02-11 23:33:46 +00:00
Tomas Votruba 1d69b60457 Updated Rector to commit df8d2b78edd46542e6426fec606c3ea98d712532
df8d2b78ed Copy subtype phpdoc on ClassPropertyAssignToConstructorPromotionRector (#8438) (#5603)
2024-02-11 21:30:56 +00:00
Tomas Votruba 69e22c50fb Updated Rector to commit df8d2b78edd46542e6426fec606c3ea98d712532
df8d2b78ed Copy subtype phpdoc on ClassPropertyAssignToConstructorPromotionRector (#8438) (#5603)
2024-02-11 20:35:45 +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 5d5a36456b Updated Rector to commit 76504227a46a540c8736759103478db2459ec5ca
76504227a4 Clean up parallel-lint exclude on downgrade build (#5590)
2024-02-09 11:42:47 +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 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 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 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 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 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 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 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 b707660218 Updated Rector to commit 081cf7f7e508428f259b83125883178632e350dc
081cf7f7e5  [Transform] Add RectorConfigBuilderRector  (#5551)
2024-02-04 11:05:31 +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 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 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 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 d54a5a3c50 Updated Rector to commit 6edf23f6b6cdc2982618ac311c6b7936d3fdcf16
6edf23f6b6 Added 4 methods into RectorConfigBuilder (#5524)
2024-01-30 16:16:28 +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 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 6752d80c19 Updated Rector to commit 63fbf41cc9a6cc66c720926beec4603892eb21d0
63fbf41cc9 [Formatter] Remove unused CompleteUnifiedDiffOutputBuilderFactory (#5510)
2024-01-27 23:54:33 +00:00
Tomas Votruba f076295e84 Updated Rector to commit 0afec7e54615912ced1ffe83e9dccadc4f153c17
0afec7e546 [Config] Add RectorConfigBuilder (#5503)
2024-01-26 19:37:08 +00:00
Tomas Votruba 8debf03f05 Updated Rector to commit 5b23ffe923e57d49b92156c15725ac63cb52a9b5
5b23ffe923 custom copy path fix (#5502)
2024-01-25 17:18:07 +00:00
Tomas Votruba dd875cd0c9 Updated Rector to commit d09ae7400a75f7694a11c2d8353c2fd14b6419e3
d09ae7400a Add "custom-rule" command to make creating rules easy (#5498)
2024-01-25 00:06:40 +00:00
Tomas Votruba 744ab2e38b Updated Rector to commit 955a5de414501f77b80b321a90ee35d4fe49e9e2
955a5de414 Add gitlab to "setup-ci" command (#5497)
2024-01-24 21:26:26 +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 678e34b775 Updated Rector to commit bcce8e3d240861cdb36cbf76b68672fa829f347d
bcce8e3d24 Fix doc instanceof rules link (#5493)
2024-01-23 11:08:03 +00:00
Tomas Votruba 3437ca57ce Updated Rector to commit ab78d14e35aa95519a7fbb2472ef7a7e087e1397
ab78d14e35  [PHPStan] Clean up PHPStan ignore errrors  (#5492)
2024-01-23 10:53:22 +00:00
Tomas Votruba 76ce6b58bb Updated Rector to commit aa66151ff14da601b4b155f4a876ad2a2070259c
aa66151ff1 [Performance] Remove unnecessary FunctionLikeParamPositionNodeVisitor (#5491)
2024-01-22 15:14:12 +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 20754e0aaa Updated Rector to commit e1effe71627ad76eee1532420cf1a3430abff150
e1effe7162 Update README.md (#5490)
2024-01-22 12:52:38 +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 08a112c644 Updated Rector to commit 863a5ed69a150aed2c87038ef35421ee1626abd3
863a5ed69a [DX] Depreate heavy and conflicting Symfony/Twig/PHPUnit level sets (#5477)
2024-01-18 08:24:19 +00:00
Tomas Votruba dbd5864fce Updated Rector to commit 863a5ed69a150aed2c87038ef35421ee1626abd3
863a5ed69a [DX] Depreate heavy and conflicting Symfony/Twig/PHPUnit level sets (#5477)
2024-01-18 00:16:19 +00:00
Tomas Votruba ee90f96fb5 Updated Rector to commit 863a5ed69a150aed2c87038ef35421ee1626abd3
863a5ed69a [DX] Depreate heavy and conflicting Symfony/Twig/PHPUnit level sets (#5477)
2024-01-17 17:50:22 +00:00
Tomas Votruba d67d5653a7 Updated Rector to commit 863a5ed69a150aed2c87038ef35421ee1626abd3
863a5ed69a [DX] Depreate heavy and conflicting Symfony/Twig/PHPUnit level sets (#5477)
2024-01-17 17:39:51 +00:00
Tomas Votruba ee75e1d6c7 Updated Rector to commit 985d5ea5109e1282f35370006ad7ac26df7789de
985d5ea510 cs
2024-01-17 15:08:46 +00:00
Tomas Votruba 8d69a4789a Updated Rector to commit 6d0abe7b49908c66940c7b4065cd28f0d66fbf45
6d0abe7b49 [Autoload] Remove src/core_namespace_aliases.php (#5476)
2024-01-17 11:52:57 +00:00
Tomas Votruba 5fd03d40bd Updated Rector to commit 07df7dc1a344c52711441149d61251a4fe10366d
07df7dc1a3 Remove collector interface and fix SpatieEnumClassToEnumRector already has underscore to double underscore (#5473)
2024-01-17 00:27:21 +00:00
Tomas Votruba bb88af4819 Updated Rector to commit 07df7dc1a344c52711441149d61251a4fe10366d
07df7dc1a3 Remove collector interface and fix SpatieEnumClassToEnumRector already has underscore to double underscore (#5473)
2024-01-16 17:31:06 +00:00
Tomas Votruba 0449aa5a88 Updated Rector to commit 07df7dc1a344c52711441149d61251a4fe10366d
07df7dc1a3 Remove collector interface and fix SpatieEnumClassToEnumRector already has underscore to double underscore (#5473)
2024-01-16 15:04:16 +00:00
Tomas Votruba bae6d284a0 Updated Rector to commit 07df7dc1a344c52711441149d61251a4fe10366d
07df7dc1a3 Remove collector interface and fix SpatieEnumClassToEnumRector already has underscore to double underscore (#5473)
2024-01-16 14:41:26 +00:00
Tomas Votruba 35d4de2656 Updated Rector to commit ee89fb7b82b6fa37412bd5d0cbaac9b49258eb3f
ee89fb7b82 remove non existing collector aliases
2024-01-16 00:20:08 +00:00
Tomas Votruba f153850ba3 Updated Rector to commit 044c4b9b82daf55525effe6adfc810b43e0d01e8
044c4b9b82 Bump PHPStan to 1.10.56 (#5471)
2024-01-15 22:14:07 +00:00
Tomas Votruba ec3d78eef4 Updated Rector to commit 5a3a59c50c7810296274eb4408737c8f2f8921e7
5a3a59c50c Remove collectors, as performance very costly and not practically useful (#5470)
2024-01-15 22:10:40 +00:00
Tomas Votruba e24202f0b6 Updated Rector to commit 34ab8dc0f9a7e8b7cfa1a88cdf36ced9020964f8
34ab8dc0f9  [Performance] Remove unused AttributeKey::ARGUMENT_POSITION  (#5469)
2024-01-15 20:19:14 +00:00
Tomas Votruba b13cc2ebb6 Updated Rector to commit e17f4526a7aa8344d0bfbf61d16d125970a3d31a
e17f4526a7 Fix RectorParser::parseString() parameter name (#5467)
2024-01-15 10:34:53 +00:00
Tomas Votruba 275893fa25 Updated Rector to commit 38d716ecec295b96a94cc2db9b3091fc1ca0ea94
38d716ecec [Performance] Remove duplicate filter extension files on FilesFinder (#5463)
2024-01-13 20:25:30 +00:00
Tomas Votruba 97a6bd58e9 Updated Rector to commit 54a11ee44ac367532d5acaaa462928742aa24177
54a11ee44a [chore] Make use of symplify/phpstan-rules (#5455)
2024-01-10 21:29:12 +00:00
Tomas Votruba b68c88f0b4 Updated Rector to commit f68d9f89cece7c081c431ddeeafe2d317514a1cc
f68d9f89ce [Performance] Extract PathSkipVoter to dedicated service and call before Filesystem::read() (#5451)
2024-01-10 13:03:20 +00:00
Tomas Votruba ca876bf90c Updated Rector to commit 9193b276de2d9e51e063740a9fea61a559750f19
9193b276de Clean up concat empty string on regex constant usage (#5449)
2024-01-10 05:55:03 +00:00
Tomas Votruba b911b341f7 Updated Rector to commit 32d5fce356ebe91267278ee8d3b574c928cf15d6
32d5fce356 add release notes generator dep
2024-01-09 00:19:58 +00:00
Tomas Votruba 0a2b185bda Updated Rector to commit 08ac19c956c2608188bca81044034bc2590a8d55
08ac19c956 [cs] Make use of new ECS config (#5445)
2024-01-08 15:17:51 +00:00
Tomas Votruba 19374b3218 Updated Rector to commit 7654e2b720e0cfbefa663c009267a1f381661953
7654e2b720 Bump to phpstan 1.10.52 (#5431)
2024-01-05 10:41:41 +00:00
Tomas Votruba 41a86add1d Updated Rector to commit b007a8bd11ea0451b50dbafbacd5450b295f6266
b007a8bd11 [Php83] Add implements interface support on AddOverrideAttributeToOverriddenMethodsRector (#5429)
2024-01-04 19:14:21 +00:00
Tomas Votruba 33de8c8a05 Updated Rector to commit 09c077e25801da58834be284a792c3987ea806ef
09c077e258 [TypeDeclaration] Add false and true in union support on ReturnUnionTypeRector (#5355)
2024-01-03 11:07:47 +00:00
Tomas Votruba 1daa932d00 Updated Rector to commit 5c0397910fbd9735c375c4632ec116ebe8609f25
5c0397910f Add missing rule doc (#5426)
2024-01-02 21:38:33 +00:00
Tomas Votruba 3a49fcd8d5 Updated Rector to commit 8724feefea91743e05006cb1329c5cd1675b5003
8724feefea Skip cond with side effect in RemoveDeadConditionAboveReturnRector (#5424)
2024-01-02 20:16:55 +00:00
Tomas Votruba e37778b4f3 Updated Rector to commit 57292bc31d0a02fbbbedff455185096945fd1914
57292bc31d [Scoper] Remove symfony/deprecation-contracts from "replace" on composer.json (#5421)
2024-01-02 13:53:06 +00:00
Tomas Votruba 35d4ae5ad9 Updated Rector to commit d886cffeded58fb4b5a55182f4b98b796545c18e
d886cffede [build] Try removing scope aliases
2024-01-02 02:50:51 +00:00
Tomas Votruba 7e7a2f067a Updated Rector to commit 476cfb00cb6a94cb64badf9472ee78f33bdf44b3
476cfb00cb disable fallback for now
2024-01-02 02:40:38 +00:00
Tomas Votruba 3916887582 Updated Rector to commit 9f937086898498f37d71977895312cbdb7fdbc6a
9f93708689 [Strict] Handle may be unitialized property on DisallowedEmptyRuleFixerRector (#5409)
2024-01-01 13:26:19 +00:00
Tomas Votruba aff2607559 Updated Rector to commit a64a34407038fab9ba3195d8314c1f550a7d1d40
a64a344070 [cleanup] Decouple changelog generator (#5412)
2024-01-01 13:26:04 +00:00
Tomas Votruba 7ba32aac1f Updated Rector to commit e12c73eb339a847bcd717025abf5bc43f1cd0e4c
e12c73eb33 [psr-4] Move tests to main namespace, as part of /src and /packages merge - step 2 (#5407)
2024-01-01 00:20:45 +00:00
Tomas Votruba 1731eeac5d Updated Rector to commit befe096ca10f7476efeb082fb7c736ba7bd07af5
befe096ca1 [phpstan] tidy up bin files, group complex errors + Cleanup AddTypeToConstRector (#5405)
2023-12-31 20:56:31 +00:00
Tomas Votruba 6e1ac30f0c Updated Rector to commit 0ba47067e827e46c7fc17b1a53cb4418080551d3
0ba47067e8 [config] Extract RectorConfigValidator and handle config validation there (#5404)
2023-12-31 19:54:42 +00:00
Tomas Votruba d46a6b400b Updated Rector to commit fff370b2c0f029203b7c53b96e4a7b8e9217af76
fff370b2c0 [Php83] Handle dynamic host and port values on CombineHostPortLdapUriRector (#5401)
2023-12-31 17:36:04 +00:00
Tomas Votruba 67d86f3aa4 Updated Rector to commit fff370b2c0f029203b7c53b96e4a7b8e9217af76
fff370b2c0 [Php83] Handle dynamic host and port values on CombineHostPortLdapUriRector (#5401)
2023-12-31 12:20:56 +00:00
Tomas Votruba b1b95d1c64 Updated Rector to commit e044d50e9b7b04c5ef7454044721dbf16b4b75f8
e044d50e9b [TypeDeclaration] optionally only add types for hard coded return values in `ReturnTypeFromStrictScalarReturnExprRector` (#5364)
2023-12-30 11:58:36 +00:00
Tomas Votruba ae330c0d87 Updated Rector to commit e8684d461ed996055fb060592267fcdab258e367
e8684d461e Bump phpstan to 1.10.50 (#5399)
2023-12-29 18:31:19 +00:00
Tomas Votruba 37846880cd Updated Rector to commit f54a79b475d1eb73f536cbc07ee108b2dda07a01
f54a79b475 [Parallel] Fix missing --xdebug in WorkerCommand line on WorkerCommandLineFactory when --xdebug provided (#5398)
2023-12-28 12:01:32 +00:00
Tomas Votruba 38b33113ca Updated Rector to commit 109d734969100cf97bdc820e7c369c90e9e4016a
109d734969 [Php83] Add CombineHostPortLdapUriRector (#5397)
2023-12-27 22:04:09 +00:00
Tomas Votruba c079729bef Updated Rector to commit ad09d9c37e3e98eff856fcad7c355accad83f6b4
ad09d9c37e make use of autotagInterface() (#5396)
2023-12-27 12:46:35 +00:00
Tomas Votruba 5a2b12fcd4 Updated Rector to commit ad09d9c37e3e98eff856fcad7c355accad83f6b4
ad09d9c37e make use of autotagInterface() (#5396)
2023-12-26 20:37:41 +00:00
Tomas Votruba 95ed962a15 Updated Rector to commit 6646d23fe0cea4b4a871ca1931e33f0cb2a574c7
6646d23fe0 [CodingStyle] Add RemoveUselessAliasInUseStatementRector (#5394)
2023-12-26 17:40:03 +00:00
Tomas Votruba 801e9accb8 Updated Rector to commit 6bff51172cf396da8abc062d96f0406fd86ef349
6bff51172c [e2e] Add e2e for polyfill in composer require provided (#5392)
2023-12-26 14:45:38 +00:00
Tomas Votruba a8c5484976 Updated Rector to commit 6bff51172cf396da8abc062d96f0406fd86ef349
6bff51172c [e2e] Add e2e for polyfill in composer require provided (#5392)
2023-12-26 12:13:04 +00:00
Tomas Votruba 24ab7232bb Updated Rector to commit 6bff51172cf396da8abc062d96f0406fd86ef349
6bff51172c [e2e] Add e2e for polyfill in composer require provided (#5392)
2023-12-25 17:21:11 +00:00
Tomas Votruba 8775d2e083 Updated Rector to commit ebb2d2df55887c25f74af39b400194039dff78d4
ebb2d2df55 [DX] Add "Related polyfill" feature to upgrade based on used symfony/polyfill-* packages (#5388)
2023-12-24 12:52:27 +00:00
Tomas Votruba e153ed98e6 Updated Rector to commit c6ca4f1f5ccdf73d9aa0f8f441267725e07aee67
c6ca4f1f5c [Performance][TypeDeclaration] Avoid using AstResolver on class is on same file on AllAssignNodePropertyTypeInferer (#5387)
2023-12-24 08:15:26 +00:00
Tomas Votruba 80dad1d8c8 Updated Rector to commit a644d0d4a2f1e457f77cf8e384fd32b78b5ff388
a644d0d4a2 [Arguments] Allow no default value on ArgumentAdderRector (#5382)
2023-12-23 19:44:26 +00:00
Tomas Votruba a4aba10ad7 Updated Rector to commit 3cef752763be750ea221c5c5eb1681d27398a3d5
3cef752763 Skip classes without final and exception as possibly invoke child implement in AddVoidReturnTypeWhereNoReturnRector (#5381)
2023-12-23 15:28:34 +00:00
Tomas Votruba 94baa5fede Updated Rector to commit 8df2120b3f546dd7f0eb89bf199a042dfc9283e7
8df2120b3f Skip void without final keyword in ReturnNeverTypeRector as could be implemented with more precise children (#5379)
2023-12-23 14:51:47 +00:00
Tomas Votruba 1ce9a4da5a Updated Rector to commit c2c6558cde8138d5509b306bd499e013ac5da2e9
c2c6558cde [TypeDeclaration] Allow add void return type on magic __invoke() method on AddVoidReturnTypeWhereNoReturnRector (#5376)
2023-12-22 17:39:40 +00:00
Tomas Votruba 4e82e891c9 Updated Rector to commit 7ca4de097ed6b2f0f2b20a8f2b55ea2121120173
7ca4de097e [DeadCode] Skip nullable array on RemoveUnusedNonEmptyArrayBeforeForeachRector (#5375)
2023-12-22 07:54:11 +00:00
Tomas Votruba 949ab12adb Updated Rector to commit 7ca4de097ed6b2f0f2b20a8f2b55ea2121120173
7ca4de097e [DeadCode] Skip nullable array on RemoveUnusedNonEmptyArrayBeforeForeachRector (#5375)
2023-12-21 15:22:15 +00:00
Tomas Votruba f8011a76d3 Rector 0.18.13 2023-12-20 16:08:01 +00:00
Tomas Votruba 168d6a72a1 Updated Rector to commit 120e0ccfc40bc696d23a9e1d93b6662ea7dfa682
120e0ccfc4 Bump to php parser 4.18 (#5362)
2023-12-16 15:55:14 +00:00
Tomas Votruba bd56d13367 Updated Rector to commit 39cce5ccb84ce4ac40eeae113db339a961db9489
39cce5ccb8 [ECS] Skip SelfAccessorFixer on *Rector.php to skip example code for using using self:: (#5363)
2023-12-16 15:42:57 +00:00
Tomas Votruba 7bf2453858 Updated Rector to commit 227e97477c44de40c165bba4b72e48dd954151d5
227e97477c [Transform] Do not create a new node if the existing node is already the correct one on AttributeKeyToClassConstFetchRector (#5328)
2023-12-16 02:55:33 +00:00
Tomas Votruba 90b260693b Updated Rector to commit 589bda6cd1eb7bc6cdc68313facc02cae41ba628
589bda6cd1 [Naming] Skip `$this` in RenameForeachValueVariableToMatchExprVariableRector (#5360)
2023-12-15 10:14:01 +00:00
Tomas Votruba b571b1cd51 Updated Rector to commit 0817980433aaf92d2b71e4d9804ec1988afbf908
0817980433 [TypeDeclaration] Return new static from different object on ReturnTypeFromStrictTypedCallRector (#5357)
2023-12-13 13:01:03 +00:00
Tomas Votruba 39e43b6cca Updated Rector to commit dc9573d9bd60ec966db626be91c13cc6a5c4bbef
dc9573d9bd [Php55] Make StringClassNameToClassConstantRector configurable to keep first pre-backslash string configurable (#5354)
2023-12-11 13:06:54 +00:00
Tomas Votruba fffe49e4aa Updated Rector to commit 287eab3a7040f8d42fa10701d5fbfc2998fdcc25
287eab3a70 [DeadCode] Add RemoveNullTagValueNodeRector (#5352)
2023-12-10 16:32:52 +00:00
Tomas Votruba e86b6d37a6 Updated Rector to commit d22741edaf63d488b39f7754353b0ea8cc454836
d22741edaf [TypeDeclaration] Fix missing change type to DateTimeInterface on MergeDateTimePropertyTypeDeclarationRector (#5329)
2023-12-05 21:03:16 +00:00
Tomas Votruba 13aada9fdc Updated Rector to commit b1a50d4c785b9fc1498bcd843e58635350e10114
b1a50d4c78 [TypeDeclaration] Add MergeDateTimePropertyTypeDeclarationRector (#5327)
2023-12-05 14:01:18 +00:00
Tomas Votruba ab4ff53673 Updated Rector to commit 026398c9e1078cb3ac5cac41767b620872166859
026398c9e1 Remove return type in case of void in RemoveUselessReturnTagRector (#5318)
2023-12-03 19:10:14 +00:00
Tomas Votruba f9c1f58ffc Updated Rector to commit 52b665436c0f2161619b265caa3f2a65be5604dc
52b665436c [PHP83] Implements a rule to add types to class constants (#5290)
2023-12-03 14:59:47 +00:00
Tomas Votruba 1bcbe800e1 Updated Rector to commit ea5b331e7ea67a03b4c3f162c566a8dbfd74d55d
ea5b331e7e [CodeQuality] Add RemoveUselessIsObjectCheckRector (#5316)
2023-12-03 12:25:03 +00:00
Tomas Votruba 123030c782 Updated Rector to commit cd9ea2c717511f81e7bb7298a62f8ea558441a37
cd9ea2c717 [Privatization] Fix first class callable in PrivatizeLocalGetterToPropertyRector (#5310)
2023-12-02 15:17:23 +00:00
Tomas Votruba 14ad1a6981 Updated Rector to commit 7badba687c3dfb247726757c5589629c45fe3ca2
7badba687c [PostRector] Allow remove unused use sub namespace on UnusedImportRemovingPostRector (#5299)
2023-12-02 03:47:46 +00:00
Tomas Votruba c5421dfd82 Updated Rector to commit e48234e23981f4022e704bc500b9a9197727e87e
e48234e239 Skip RenameMethodRector in never (#5305)
2023-12-01 09:49:11 +00:00
Tomas Votruba a1e301f6e8 Updated Rector to commit 6c8197667db0cb463eeda93b14b4c6f36e4aab05
6c8197667d [Scoped] Exclude symfony/console/Debug/CliRequest.php from parallel-lint PHP 7.2 syntax check (#5304)
2023-11-30 18:02:55 +00:00
Tomas Votruba 35f86a2fad Updated Rector to commit 91f9f3057c2d51018228ed89273a76da991d3f45
91f9f3057c Use symfony/console ~6.3.9 to fix downgrade build (#5302)
2023-11-30 10:06:33 +00:00
Tomas Votruba f8dc5ef396 Updated Rector to commit 84bcfebdf7e9f522c8f9f9e97814c82d3d5d3315
84bcfebdf7 [CodingStyle] Remove AddArrayDefaultToArrayPropertyRector as based on docblock types and public contract, better use type declaration set instad (#5298)
2023-11-28 20:19:53 +00:00
Tomas Votruba 84b97fe47c Updated Rector to commit c3840325600449b562691e34612279dcd4316043
c384032560 [Strict] Fix DisallowedEmptyRuleFixerRector empty() allow string '0' check (#5296)
2023-11-28 17:41:50 +00:00
Tomas Votruba 7a2348073c Updated Rector to commit 118fbde3b1ccc3685c55cd2704bc971d2d49ef41
118fbde3b1 [TypeDeclaration] Remove ParamTypeFromStrictTypedPropertyRector as seems similar feature with AddParamTypeFromPropertyTypeRector (#5293)
2023-11-28 10:10:36 +00:00
Tomas Votruba 9621124c86 Rector 0.18.11 2023-11-27 13:27:43 +00:00
Tomas Votruba 0fdd1351c0 Updated Rector to commit 09a962c8cc695e8fdbeeb24e7f00f92008076ac4
09a962c8cc [Test] Add test for combination aliased + sub namespace usage on AnnotationToAttributeRector (#5289)
2023-11-26 07:53:02 +00:00
Tomas Votruba b8b986a680 Updated Rector to commit e138f84792e483e8b653dc79271be376bbc1e41d
e138f84792  [AutoImport] Fixing auto import on multiple @\ usage  (#5271)
2023-11-21 23:36:57 +00:00
Tomas Votruba 7a8bc36a24 Updated Rector to commit 189a02635533f450aea58d8de075e494f538182b
189a026355 Remove deprecated Rector rules (#5270)
2023-11-21 14:32:38 +00:00
Tomas Votruba 5fa526e204 Updated Rector to commit de333f27982cd1b27450c6dfa87ec723b29fbc1c
de333f2798 [Php71] Skip re-assigned as array on AssignArrayToStringRector (#5261)
2023-11-19 00:02:19 +00:00
Tomas Votruba 2da177465a Updated Rector to commit 363ae1bd444c365e38aef1cfcd69324b734c3c9c
363ae1bd44 [Performance][PostRector] Only process FullyQualified on import Node name on NameImportingPostRector  (#5255)
2023-11-16 17:36:40 +00:00
Tomas Votruba 0f9778fc13 Updated Rector to commit 52ef7b830be95c27141d893308d7fa27ff4a2290
52ef7b830b [Scoped] Remove unused vendor/symfony/service-contracts/Test on downgrade build (#5252)
2023-11-16 03:14:11 +00:00
Tomas Votruba 4f6134d1be Updated Rector to commit 5647e1b818482552a447d7f79392c7e2f0dce86e
5647e1b818 [Naming] Fix dotted name on generics bug in RenameVariableToMatchMethodCallReturnTypeRector (#5250)
2023-11-15 07:40:24 +00:00
Tomas Votruba 9aef117ab1 Updated Rector to commit 7ec1be6b828042b27e3f40ed41b3285a6fe78502
7ec1be6b82 [DeadCode]: Support functions in RemoveUnusedVariableAssignRector (#5249)
2023-11-14 21:18:19 +00:00
Tomas Votruba 340a1832bb Updated Rector to commit e72fb255dcafb1b7e0481b1359d948692e1ff3e2
e72fb255dc Bump to reactphp/event-loop ^1.5 (#5246)
2023-11-13 15:06:37 +00:00
Tomas Votruba 753e83fb31 Updated Rector to commit 4ed71bc537b3b3bb80245efb7661941119ab077d
4ed71bc537 [Utils] Cleap up MissingInSetCommand skipped rules constant (#5242)
2023-11-11 09:57:02 +00:00
Tomas Votruba e41e10db62 Updated Rector to commit 2f74b02ef6c754c68abcdd246837583967e24678
2f74b02ef6 [DeadCode] Handle repetitive jump equal case stmts on RemoveDuplicatedCaseInSwitchRector (#5239)
2023-11-10 19:13:04 +00:00
Tomas Votruba 2adc308c58 Updated Rector to commit cb1b0c7348d1e80806b2e600823dbfa38b9836c7
cb1b0c7348 [Renaming] Add RenamedNameCollector to ensure remove uses on auto import on ClassRenamingPostRector with verify there is Node name that renamed (#5232)
2023-11-08 03:06:40 +00:00
Tomas Votruba 6786dfbdb1 Updated Rector to commit cb1b0c7348d1e80806b2e600823dbfa38b9836c7
cb1b0c7348 [Renaming] Add RenamedNameCollector to ensure remove uses on auto import on ClassRenamingPostRector with verify there is Node name that renamed (#5232)
2023-11-07 21:52:18 +00:00
Tomas Votruba 0cbee62160 Updated Rector to commit 9adc7a04b3a312957bb305edafcd0427fa6bd257
9adc7a04b3 [CodingStyle] Move ArraySpreadInsteadOfArrayMergeRector from php74 to codingstyle sets list (#5230)
2023-11-07 18:56:36 +00:00
Tomas Votruba 73986cddda Updated Rector to commit bd191f05ad1e632df5b656c1da0fb56a426f5a0a
bd191f05ad Rectify (#5229)
2023-11-07 15:42:24 +00:00
Tomas Votruba 5d5ea43276 Updated Rector to commit ce62c634015fefa1f91429ecda659fe71371b85a
ce62c63401 Remove rule DataProviderArrayItemsNewlinedRector.php (#5227)
2023-11-07 12:20:20 +00:00
Tomas Votruba c221b7e43d Updated Rector to commit ce62c634015fefa1f91429ecda659fe71371b85a
ce62c63401 Remove rule DataProviderArrayItemsNewlinedRector.php (#5227)
2023-11-07 12:01:11 +00:00