Commit Graph

788 Commits

Author SHA1 Message Date
Tomas Votruba
f010267a7c Updated Rector to commit 6b69971dfc740a58aed918782d02710e42004e9d
6b69971dfc [NodeTypeCorrector] Directly use StringType on Intersection of strings on AccessoryNonEmptyStringTypeCorrector (#5933)
2024-06-01 09:25:16 +00:00
Tomas Votruba
7498eeeea2 Updated Rector to commit a3ed07f8c8c0b2f7cbd78ce7711871d31bad3998
a3ed07f8c8 [TypeDeclaration] Do not remove docblock with description on MergeDateTimePropertyTypeDeclarationRector (#5931)
2024-05-31 12:20:27 +00:00
Tomas Votruba
7470aa5cdd Updated Rector to commit 2039b67eacda6f438070003568544c3e576bc84c
2039b67eac Exclude IncreaseDeclareStrictTypesRector from rector-preset set as conflict with DeclareStrictTypesRector (#5926)
2024-05-30 07:56:15 +00:00
Tomas Votruba
8a83c1053a Updated Rector to commit 303a1d72497e92464f3cf6f4914f82f4aec8f6a5
303a1d7249 [DX] Ommit static functions/closure from coding-style, as often ignored and depends on personal preference (#5916)
2024-05-29 00:44:25 +00:00
Tomas Votruba
8be3783a6a Updated Rector to commit c625b4cd7feda6cc9e51499d5fcdcd19141227ad
c625b4cd7f [CodingStyle] Use specific mapper FullyQualifiedNodeMapper on NameImporter to get PHPStan type of FullyQualifiedNode (#5914)
2024-05-27 18:32:58 +00:00
Tomas Votruba
7ac6f7bf7e Updated Rector to commit 5df95d9a955523a1737442a26f4a412cafc41226
5df95d9a95 Update unit test config to avoid using TypeCombinator::addNull() (#5891)
2024-05-18 12:49:12 +00:00
Tomas Votruba
af81b5db1b Updated Rector to commit b18da7d458c2d240dd50682b31670e134f2b1ed3
b18da7d458 [CodeQuality] Skip on property and class const on CallableThisArrayToAnonymousFunctionRector (#5869)
2024-05-12 07:34:26 +00:00
Tomas Votruba
12c115e6f6 Updated Rector to commit 5193d43b644f9d059d9964ebcc6820181a7bca18
5193d43b64 [NodeTypeResolver] Remove unnecessary loop SourceLocator collection on DynamicSourceLocatorProvider (#5852)
2024-05-02 02:21:56 +00:00
Tomas Votruba
c747b603a3 Updated Rector to commit ce1033d8e6434f3111307dd274dec753eb6481b1
ce1033d8e6 Fixes typo in FinalizeTestCaseClassRector.php (#5850)
2024-04-30 12:43:57 +00:00
Tomas Votruba
584e892a51 Updated Rector to commit 068799f59b289bef06b9c1f384df4301b19e726e
068799f59b [Performance] Early skip func call name on ClassRenamer (#5837)
2024-04-20 20:05:57 +00:00
Tomas Votruba
f53efcffe8 Updated Rector to commit 1d2d51e20ce11d0f603e42bd8869c1ab6d2a52cc
1d2d51e20c [Nette] Replace deprecated Json::FORCE_ARRAY and Json::PRETTY on Nette\Utils\Json usage (#5814)
2024-04-09 22:43:38 +00:00
Tomas Votruba
67791a9582 Updated Rector to commit 1d2d51e20ce11d0f603e42bd8869c1ab6d2a52cc
1d2d51e20c [Nette] Replace deprecated Json::FORCE_ARRAY and Json::PRETTY on Nette\Utils\Json usage (#5814)
2024-04-09 21:01:48 +00:00
Tomas Votruba
707e3d8942 Updated Rector to commit 467e971b79acab35e7bb0937166ab2e23bffd245
467e971b79 Make Compatible with phpstan 1.11.x code (#5804)
2024-04-05 22:38:12 +00:00
Tomas Votruba
6e04d0eb08 Rector 1.0.4 2024-04-05 09:01:07 +00:00
Tomas Votruba
664f4e3a6b Updated Rector to commit 0f1987b0faa8dc1c5e086c9b95457d6018b2cd82
0f1987b0fa Adds a link to the PHP Static Analysis Attributes rector rules (#5787)
2024-04-01 16:51:34 +00:00
Tomas Votruba
03f122a600 Updated Rector to commit c390eabeb2b2f77f755bfadc1d51b000da0d5ade
c390eabeb2 Skip mixed in ParamTypeByMethodCallTypeRector as not specific (#5715)
2024-03-12 16:22:51 +00:00
Tomas Votruba
28f5dbde13 Updated Rector to commit c14f8d45175bd4c10fef503e350d677c4a73ce29
c14f8d4517 [Php72][TypeDeclaration] Rollback tweak infinite loop handling on DeclareStrictTypesRector (#5700)
2024-03-08 06:34:02 +00:00
Tomas Votruba
bd3297e237 Updated Rector to commit 84639e6aa9c5daa4958121e9aa19e36b5b6bb9b6
84639e6aa9 [Php83] Add support +/- value on constant on AddTypeToConstRector (#5694)
2024-03-05 22:49:19 +00:00
Tomas Votruba
105d14818d Updated Rector to commit b523b734e052b47d756330e7deeaa68372fbd494
b523b734e0 [Configuration] Fix parallel config always replaced by next config per-default true (#5683)
2024-03-04 11:27:13 +00:00
Tomas Votruba
695c190be3 Updated Rector to commit 94b5561ca87ee6825a098c7c506b774582bf3354
94b5561ca8 chore: bump min version of github actions (fix deprecations) (#5675)
2024-03-01 20:02:28 +00:00
Tomas Votruba
df81c907da Updated Rector to commit 827992ae9784abb4a2a5f5f3aecbe52606f3c737
827992ae97 [Performance] [DeadCode] Early check no params in __construct() on RemoveUnusedPromotedPropertyRector (#5672)
2024-02-29 11:39:40 +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
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
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
6752d80c19 Updated Rector to commit 63fbf41cc9a6cc66c720926beec4603892eb21d0
63fbf41cc9 [Formatter] Remove unused CompleteUnifiedDiffOutputBuilderFactory (#5510)
2024-01-27 23:54:33 +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
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
ee75e1d6c7 Updated Rector to commit 985d5ea5109e1282f35370006ad7ac26df7789de
985d5ea510 cs
2024-01-17 15:08:46 +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
b13cc2ebb6 Updated Rector to commit e17f4526a7aa8344d0bfbf61d16d125970a3d31a
e17f4526a7 Fix RectorParser::parseString() parameter name (#5467)
2024-01-15 10:34:53 +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
7e7a2f067a Updated Rector to commit 476cfb00cb6a94cb64badf9472ee78f33bdf44b3
476cfb00cb disable fallback for now
2024-01-02 02:40:38 +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
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
90b260693b Updated Rector to commit 589bda6cd1eb7bc6cdc68313facc02cae41ba628
589bda6cd1 [Naming] Skip `$this` in RenameForeachValueVariableToMatchExprVariableRector (#5360)
2023-12-15 10:14:01 +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
184cf49468 Updated Rector to commit f9de5d311e7e69d1ad2cb5f3087970d8b9335920
f9de5d311e [Php80] Handle RenameClassRector+AnnotationToAttributeRector with auto import and existing attribute defined (#5219)
2023-11-02 03:20:18 +00:00
Tomas Votruba
685f0bab53 Updated Rector to commit 3c526c91f05faf276fb08bedb31bc1dc19cfb678
3c526c91f0 [AutoImport] Handle AnnotationToAttributeRector + RenameClassRector then enable auto import (#5213)
2023-10-29 11:11:38 +00:00
Tomas Votruba
17928ec6ab Updated Rector to commit 29265cacf4b81261cb33885acaaa4edcb5885dd4
29265cacf4 Clean up tweak on packages_tests.yaml (#5202)
2023-10-25 15:40:25 +00:00
Tomas Votruba
6561afe21f Updated Rector to commit f2c8967abf004558bf92c86840d57eb7f0221f9c
f2c8967abf [DeadCode] Mirror comment on assign method call on RemoveUnusedVariableAssignRector (#5195)
2023-10-24 14:23:28 +00:00
Tomas Votruba
5ba12a9905 Updated Rector to commit f2c8967abf004558bf92c86840d57eb7f0221f9c
f2c8967abf [DeadCode] Mirror comment on assign method call on RemoveUnusedVariableAssignRector (#5195)
2023-10-24 14:19:22 +00:00