Commit Graph

1139 Commits

Author SHA1 Message Date
Tomas Votruba
2518d99664 Updated Rector to commit 84a48e5e10be865e5fe6f0bbdcab3a7fc300a886
84a48e5e10 [tests] Use file paths over value objects in tests to improve performance (#2878)
2022-09-01 09:37:14 +00:00
Tomas Votruba
6c20d257e3 Updated Rector to commit d3d18d442c8f2ca64f5ebef5c7a7541938fa1e2a
d3d18d442c keep relative paths
2022-09-01 09:30:44 +00:00
Tomas Votruba
31ff77efb6 Updated Rector to commit 2ffad9317d2038e4c625341b338ab3cbd77f54cc
2ffad9317d Inline Skipper (#2877)
2022-08-31 21:51:50 +00:00
Tomas Votruba
88b26b2c9b Updated Rector to commit e7c96a405bb28d1720b3b0e34bb4ce771dc22604
e7c96a405b bump
2022-08-31 11:41:10 +00:00
Tomas Votruba
d0fd2796b0 Updated Rector to commit 95d0a8e14840c33c27e810591a4ed1d8bc0b4cdd
95d0a8e148 [DX] Remove symplify/symplify-kernel package (#2874)
2022-08-31 11:18:37 +00:00
Tomas Votruba
da925822fa Updated Rector to commit d2abf114ed5388698cc580a295899110570463ce
d2abf114ed [DX] remove composer-json-manipulator (#2871)
2022-08-31 10:13:06 +00:00
Tomas Votruba
4a341c0b42 Updated Rector to commit f91dba4a7f015ce11123abf065e43c7b0b53e243
f91dba4a7f [DX] Remove only use case of exclusive file fixture, keep it simple (#2866)
2022-08-31 08:46:08 +00:00
Tomas Votruba
3a10283d3a Updated Rector to commit 86ccf3f6854c78c6b7b06b8471d922724cb6542b
86ccf3f685 [Testing] Use own FixtureFileFinder to keep dependency low (#2858)
2022-08-30 16:45:20 +00:00
Tomas Votruba
f251f578f6 Updated Rector to commit bb3ced496fe923594d4af178fdf61328dd731608
bb3ced496f [DX] Cleanup of text file processor, unused MultipleFilesChangedTrait and misc (#2861)
2022-08-30 14:19:19 +00:00
Tomas Votruba
ab9b0db366 Updated Rector to commit cf65fcab69af90371b4a803e6b8cab8eb621c964
cf65fcab69 Add rector-debugging to require-dev (#2857)
2022-08-30 07:53:17 +00:00
Tomas Votruba
785f5e3b06 Updated Rector to commit 74f6b181e82f191c1e471d446a029a06dff16619
74f6b181e8 [DX] Remove upgrade RectorConfig set, as last 2 version use only PHP (#2852)
2022-08-29 21:45:23 +00:00
Tomas Votruba
5edd3689a8 Updated Rector to commit bb59a7c99ad30770689fe011c89377402bf6c7ba
bb59a7c99a [DX] Inline symplify/astral to use only active classes (#2851)
2022-08-29 20:49:28 +00:00
Tomas Votruba
3ad817dad5 Updated Rector to commit a6dfb049d7100c6bb5aa93735199f8434381d210
a6dfb049d7 [DX] Make generator only part of core (#2849)
2022-08-29 18:19:15 +00:00
Tomas Votruba
7823b6a978 Updated Rector to commit 6770dad95ec2b82fa739eb134042589b810e87cd
6770dad95e restore
2022-08-29 16:47:25 +00:00
Tomas Votruba
41129d129c Updated Rector to commit 58a577c5b3d34cc70ba6ea713e7a6c7bbe66354e
58a577c5b3 [automated] Re-Generate Nodes/Rectors Documentation (#2845)
2022-08-29 08:14:50 +00:00
Tomas Votruba
28e29c8294 Updated Rector to commit 58a577c5b3d34cc70ba6ea713e7a6c7bbe66354e
58a577c5b3 [automated] Re-Generate Nodes/Rectors Documentation (#2845)
2022-08-28 00:39:05 +00:00
Tomas Votruba
8af39d268b Updated Rector to commit 0c0007a75f8e0c873ee51b58a2beef7abe7b28aa
0c0007a75f Update branch alias to 0.14-dev (#2844)
2022-08-26 12:33:35 +00:00
Tomas Votruba
6795a511a5 Updated Rector to commit 21695e77a8906dbdce7ada865b140ccbf73dca56
21695e77a8 [Php80] Handle single quoted is_granted on AnnotationToAttributeRector (#2842)
2022-08-26 06:47:21 +00:00
Tomas Votruba
acdbc7be1b Updated Rector to commit 041f41fd4e1d58ffb45d10e2348e62014ce9c0da
041f41fd4e [docs] Remove post Rectors from generated docs (#2833)
2022-08-24 10:32:35 +00:00
Tomas Votruba
e1e0f2856e Updated Rector to commit e66447b7087642b54199d462faee81c43129e3e5
e66447b708 [Transform] Remove ServiceGetterToConstructorInjectionRector, only for risky doctrine case, that should be handled manually (#2832)
2022-08-24 09:50:03 +00:00
Tomas Votruba
6c1c0cfa19 Updated Rector to commit 54feb0dcfaeaafe177d1268ca2117a7fb1a7da1a
54feb0dcfa [EarlyReturn] Handle crash on assign in if else before on RemoveAlwaysElseRector (#2822)
2022-08-23 20:55:52 +00:00
Tomas Votruba
53770fa84f Updated Rector to commit 8e753106800cd314b736e0c54e88be715c63cb25
8e75310680 Little cleanup (#2810)
2022-08-20 20:57:03 +00:00
Tomas Votruba
402dbe5a36 Updated Rector to commit a33b200e615b9451ba091e2724ab707f39198da7
a33b200e61 [BetterPhpDocParser] Add ArrayItemNode to improve value transfer in annotation curly lists (#2786)
2022-08-20 20:49:07 +00:00
Tomas Votruba
6b02618a3b Updated Rector to commit 4bc378bb1846b292946f8c241092a79e863268f7
4bc378bb18 [PHP 8.0] Move more logic to MatchFactory (#2802)
2022-08-19 13:01:36 +00:00
Tomas Votruba
3aae40faed Updated Rector to commit b9f83c87dacd1aa09ea343a4996683ebc424c630
b9f83c87da add fixture with FQN name (#2783)
2022-08-18 19:53:39 +00:00
Tomas Votruba
cdbe494753 Updated Rector to commit b8549f547ab72234078416e53f62ba16ab8582c6
b8549f547a [PHP 8.0] Add NestedAnnotationToAttributeRector (#2781)
2022-08-18 18:02:46 +00:00
Tomas Votruba
d2c2df7ac2 Updated Rector to commit b8549f547ab72234078416e53f62ba16ab8582c6
b8549f547a [PHP 8.0] Add NestedAnnotationToAttributeRector (#2781)
2022-08-18 17:55:50 +00:00
Tomas Votruba
ffd02c6255 Updated Rector to commit f41acb3fc880f7553f2c058fb35d69b3d5a18642
f41acb3fc8 [CodeQuality] Fix out-of-order items removal in UnusedForeachValueToArrayKeysRector (#2779)
2022-08-18 13:19:33 +00:00
Tomas Votruba
e82274c2bf Updated Rector to commit f936077f5fd5428f97d49e58f1e2a22db2c78978
f936077f5f Fix performance issue (#2774)
2022-08-18 11:58:01 +00:00
Tomas Votruba
616efdc680 Updated Rector to commit 27b891b219cc9bfed6540a6abfbfa762e1cc2aaf
27b891b219 Make ServiceGetterToConstructorInjectionRector report only if node has changed, retarget to Class_ node with higher priority (#2772)
2022-08-17 13:56:19 +00:00
Tomas Votruba
050ff0c044 Updated Rector to commit 27b891b219cc9bfed6540a6abfbfa762e1cc2aaf
27b891b219 Make ServiceGetterToConstructorInjectionRector report only if node has changed, retarget to Class_ node with higher priority (#2772)
2022-08-17 09:48:06 +00:00
Tomas Votruba
1539934554 Updated Rector to commit 244fb1cebce834698e9d6f5a67a3d3552addf49d
244fb1cebc [DeadCode] Fix RemoveUnusedPrivateMethodParameterRector args keys re-order (#2770)
2022-08-17 08:52:30 +00:00
Tomas Votruba
6c0394fa59 Updated Rector to commit 128cc91038c48bb5a10901447820bcf9676512ba
128cc91038 [Doc] Update count rules 500+ -> 400+ in readme (#2765)
2022-08-14 12:43:17 +00:00
Tomas Votruba
a67329d33a Updated Rector to commit 3c88742dd13d49ba51c84817d746a9e2b59500e9
3c88742dd1 [CodeQuality][Up_TO_PHP_81] Handle crash indentation on combination LevelSetList::UP_TO_PHP_81 with SetList::CODE_QUALITY (#2760)
2022-08-13 13:45:27 +00:00
Tomas Votruba
4100d6e660 Updated Rector to commit 47d25befa5ca7aa348e9a27125edebc6e62eaf68
47d25befa5 [Php73] Skip escaped Dash on RegexDashEscapeRector (#2753)
2022-08-12 17:18:44 +00:00
Tomas Votruba
26bacab80c Updated Rector to commit c0070b1d30a0040e3e58724ac1b3b339e168dcb5
c0070b1d30 [CodeQuality] Skip not ArrayType on ForeachItemsAssignToEmptyArrayToAssignRector (#2752)
2022-08-11 14:46:08 +00:00
Tomas Votruba
967bbc6b59 Updated Rector to commit c0070b1d30a0040e3e58724ac1b3b339e168dcb5
c0070b1d30 [CodeQuality] Skip not ArrayType on ForeachItemsAssignToEmptyArrayToAssignRector (#2752)
2022-08-11 14:29:35 +00:00
Tomas Votruba
dce47c75f3 Updated Rector to commit 93b63b0a86e26cb9d15bcc61c3d840f703a1472c
93b63b0a86 [Php54][Php80] Handle no scope on LongArrayToShortArrayRector+AnnotationToAttributeRector (#2749)
2022-08-09 20:46:41 +00:00
Tomas Votruba
420929251c Updated Rector to commit 17257b860adf08f36e4504b6d7a444e5eef987a2
17257b860a remove duplicated test
2022-08-09 20:16:51 +00:00
Tomas Votruba
9348cb36bc Updated Rector to commit c8c3e82a05436c4c128fd6a5bb2a7207c24a7c53
c8c3e82a05 Move Nette extension from the core to the community (#2746)
2022-08-09 20:03:15 +00:00
Tomas Votruba
8885e287b6 Updated Rector to commit b9cc90c058942d82f84a68f3d1971b2db6b1601d
b9cc90c058 Make use of new types by fixed rector/phpstan-rules extensions (#2748)
2022-08-09 19:37:14 +00:00
Tomas Votruba
f7bb838601 Updated Rector to commit f0425bc3cb3d5855da1bff9c38b872a9003e357b
f0425bc3cb Improve scope, PHPStan extension types (#2747)
2022-08-09 13:39:17 +00:00
Tomas Votruba
83bdde50fe Updated Rector to commit 07b54b48ec70f8349a36239316ecf5fb2b79798a
07b54b48ec improve PhpDocInfo generics to local only
2022-08-09 10:07:17 +00:00
Tomas Votruba
ba5ca07800 Updated Rector to commit b8fec6418f6bab31d807fc9eef4167aa74277847
b8fec6418f cleanup
2022-08-07 23:37:28 +00:00
Tomas Votruba
c79a46ee2a Updated Rector to commit d68bc4ccf6fca72f748cb3b9b80264901094b3d6
d68bc4ccf6 bump deps
2022-08-07 12:27:55 +00:00
Tomas Votruba
eb23cc5b15 Updated Rector to commit 86682e4848dcfaecdb6dac7d07ffcb4cd47e69bf
86682e4848 Less doc, move from NodeRemover from AbstractRector - use directly or remove nodes right at the moment - that creates safer tree (#2741)
2022-08-06 23:18:58 +00:00
Tomas Votruba
b9ad506421 Updated Rector to commit 86682e4848dcfaecdb6dac7d07ffcb4cd47e69bf
86682e4848 Less doc, move from NodeRemover from AbstractRector - use directly or remove nodes right at the moment - that creates safer tree (#2741)
2022-08-06 22:58:46 +00:00
Tomas Votruba
089ad6e357 Updated Rector to commit 86682e4848dcfaecdb6dac7d07ffcb4cd47e69bf
86682e4848 Less doc, move from NodeRemover from AbstractRector - use directly or remove nodes right at the moment - that creates safer tree (#2741)
2022-08-06 21:53:15 +00:00
Tomas Votruba
ac89ac3559 Updated Rector to commit 502d0ad3805984c4e3c0a8c6636c1174068169fc
502d0ad380 [DeadCode] Handle assign in If_ cond on RemoveUnusedNonEmptyArrayBeforeForeachRector (#2734)
2022-08-05 09:27:15 +00:00
Tomas Votruba
80bfee9246 Updated Rector to commit 685dc702a0dc6c8490bf1d9c39f8a8072e4333f0
685dc702a0 Ability to yield files with names (#2732)
2022-08-04 19:19:43 +00:00
Tomas Votruba
9063100051 Updated Rector to commit f99f19cd4328009bad8aaeab7d80f7d920628bca
f99f19cd43 Add class-string typehint to MethodCallRename (#2726)
2022-08-03 12:38:40 +00:00
Tomas Votruba
1d28ca109c Updated Rector to commit 5ec4cff203f68d9578719b54ce3a145efb32bc79
5ec4cff203 [Php56] Handle jump not Expression stmt next initialized on AddDefaultValueForUndefinedVariableRector (#2725)
2022-08-02 06:46:18 +00:00
Tomas Votruba
3bfd3cdb42 Updated Rector to commit 7ca5096c12deb3d0619bfcf3ed61b0b6e6737b35
7ca5096c12 [Php56] Skip already initialized on next Stmt on AddDefaultValueForUndefinedVariableRector (#2721)
2022-07-29 16:30:03 +00:00
Tomas Votruba
6420a4d2a1 Updated Rector to commit ec291c4358636e29c026f2d42d575470cde25c76
ec291c4358 Fix/do not inline constructor default when readonly (#2720)
2022-07-28 19:32:54 +00:00
Tomas Votruba
28426800ab Updated Rector to commit d94ded9b22fff22e7923bb3158d56407e9f80897
d94ded9b22 stop on first id
2022-07-27 08:53:09 +00:00
Tomas Votruba
fad0b90180 Updated Rector to commit 3f3fc412140becdc86cc43a6ef87b5be495c9444
3f3fc41214 [CodeQuality][CodingStyle] Handle crash assert( >= 0 &&  >= 0) on combination CodeQuality and CodingStyle rules (#2707)
2022-07-25 20:13:13 +00:00
Tomas Votruba
8e5d4128e7 Updated Rector to commit b047c81634f8325b94d6e5b39fae6a599f65bca8
b047c81634 [automated] Re-Generate Nodes/Rectors Documentation (#2706)
2022-07-24 00:40:22 +00:00
Tomas Votruba
66a5285042 Updated Rector to commit cdf7bf581c6a417cfc8fc2b256597f30165d061f
cdf7bf581c [BetterPhpDocParser] Merge PhpDocInfo::getParamTagValueByName() with getParamTagValueNodeByName() (#2703)
2022-07-23 09:02:51 +00:00
Tomas Votruba
e383186790 Updated Rector to commit 764416672a588c4bd80084a853973773f9835690
764416672a Fix InlineArrayReturnAssignRector and ChangeReadOnlyPropertyWithDefaultValueToConstantRector collision (#2700)
2022-07-21 21:45:25 +00:00
Tomas Votruba
be073d8e55 Updated Rector to commit 1000cd51c57f7672d7e87c312cada4150bd98dd6
1000cd51c5 Attempt to fix incorrect doctrine table attribute values on php 8.1 (#2699)
2022-07-21 21:29:13 +00:00
Tomas Votruba
254b108ff5 Updated Rector to commit ff524c546b9bc82cd5f1dcf3d0870d40d2cd64df
ff524c546b bump deps (#2698)
2022-07-21 11:54:36 +00:00
Tomas Votruba
cce8c4f1c9 Updated Rector to commit aee31cebb921d7213c9ffdf802e7481221c0453c
aee31cebb9 change to list of configs (#2694)
2022-07-20 11:52:30 +00:00
Tomas Votruba
f01bc715ee Updated Rector to commit c74cda7cead18dc51061bd8540c64e98a6aec3b8
c74cda7cea Remove UnwrapFutureCompatibleIfFunctionExistsRector as very niche and specific (#2688)
2022-07-19 22:41:37 +00:00
Tomas Votruba
ab3565ff17 Updated Rector to commit 0ffaacaf3cf1094d3abfb3e0aee9543d12aa6490
0ffaacaf3c Cleanup set list from old sets (#2684)
2022-07-19 18:21:38 +00:00
Tomas Votruba
6f849831d7 Updated Rector to commit d030813bb995528a026e8ea3c84028fd47a4debd
d030813bb9 Clean up skip rector.php config (#2682)
2022-07-19 08:22:01 +00:00
Tomas Votruba
9244858669 Updated Rector to commit ddb08dc9dd6e4a279dd0d88633cdd51ca14581e0
ddb08dc9dd Clean up PHPStan ignore errors (#2681)
2022-07-19 08:04:51 +00:00
Tomas Votruba
9c5eda645c Updated Rector to commit c9ecc86d7e1621b435aed598317a6962e22e8039
c9ecc86d7e Cleanup of assign void (#2679)
2022-07-18 23:10:43 +00:00
Tomas Votruba
da70700f98 Updated Rector to commit ce32685688660a000848322caadcf336bfc282f8
ce32685688 [PHPStan] Reduce PHPStan errors for narrow public - take 2 (#2673)
2022-07-17 01:16:52 +00:00
Tomas Votruba
6f2ea78a3d Updated Rector to commit 12ab2ac8277a0899e2440ea36fb50ace4299f444
12ab2ac827 Fix test to only resolve to known classes (#2663)
2022-07-15 20:47:06 +00:00
Tomas Votruba
a05f4bdb4d Updated Rector to commit db7012edc116426e441645abdc1cffcb8c47ee85
db7012edc1 [Php80] Add implements interface support on single file on AddParamBasedOnParentClassMethodRector (#2660)
2022-07-15 15:03:05 +00:00
Tomas Votruba
4b78498132 Updated Rector to commit 328c43713e7b7ec77675637582117619af012985
328c43713e static fixes (#2661)
2022-07-14 22:29:28 +00:00
Tomas Votruba
2747e037dd Updated Rector to commit 743fef03d939a8a4fc4aa9364df057854e97e5c7
743fef03d9 [CodingStyle] Add StaticArrowFunctionRector (#2657)
2022-07-13 16:07:41 +00:00
Tomas Votruba
e86c09a91b Updated Rector to commit 7916cd907d55e32e9711ee7dc07ed45016eff152
7916cd907d [DX] Remove doctrine collection responsibility to TypedPropertyRector (#2640)
2022-07-06 19:39:27 +00:00
Tomas Votruba
331fec3c26 Updated Rector to commit e6cc503e24bbbc362d6e05b4f4a322ff97c09457
e6cc503e24 remove memory limit (#2639)
2022-07-06 19:24:32 +00:00
Tomas Votruba
4734e9dd3e Updated Rector to commit 2267ca2a16768e21da5fbfff53844ab5fb87f264
2267ca2a16 [DeadCode] Do not remove first class callable VariadicPlaceholder arg on RemoveUnusedPrivateMethodParameterRector (#2634)
2022-07-05 18:24:55 +00:00
Tomas Votruba
ff718bc107 Updated Rector to commit 329b4f2e6f13394b56eb4ad01e020fc651fc83d5
329b4f2e6f [NodeTypeResolver] Refactor ParametersAcceptorSelectorVariantsWrapper to pass CallLike instead of Arg (#2632)
2022-07-05 07:33:24 +00:00
Tomas Votruba
89aeab0334 Updated Rector to commit d7a1c70813cbddee2048769afc870bde24be9225
d7a1c70813 [Php80] Skip no default on case collection assign on ChangeSwitchToMatchRector (#2631)
2022-07-04 21:30:24 +00:00
Tomas Votruba
6ee0c41d99 Updated Rector to commit 8c8def55a0b14847b08bd05049d4dbe8669cc64e
8c8def55a0 [CodingStyle] Handle VarConstantCommentRector+NewlineAfterStatementRector (#2629)
2022-07-04 17:02:56 +00:00
Tomas Votruba
a40cc18430 Updated Rector to commit 9ab8ce06cbf1f5244d90fcd4e193784f8c13b8ef
9ab8ce06cb [Core] Return early NodeTraverser::STOP_TRAVERSAL on referenced  is true on ParamAnalyzer (#2630)
2022-07-04 14:51:17 +00:00
Tomas Votruba
b050f5de99 Updated Rector to commit a70d0e5518260479d055a0d5a90e28e43cad58f7
a70d0e5518 [Php54] Rename ArrayToShortArrayRector to LongArrayToShortArrayRector (#2628)
2022-07-03 23:03:40 +00:00
Tomas Votruba
68e1f45251 Updated Rector to commit 4d01db5c10372f2a0a7cf63ec51fa7e2913ee2a3
4d01db5c10 [DX] Improve direct return of Stmt arrays in Rector rules, remove NodesToAddCollector from AbstractRector (#2623)
2022-07-03 21:09:19 +00:00
Tomas Votruba
3d95b4f79c Updated Rector to commit f78af109208cfe6c217a89ecd80fb7a5a5c518e9
f78af10920 [EarlyReturn] Remove ReturnAfterToEarlyOnBreakRector as risky and turning around next/previous nodes (#2624)
2022-07-03 20:28:06 +00:00
Tomas Votruba
fbcfb0e30f Updated Rector to commit b45066c505a7bd3569819cee71706ebf0f763b6e
b45066c505 [dx] remove direct assigns (#2617)
2022-07-03 12:14:45 +00:00
Tomas Votruba
299f511d80 Updated Rector to commit 3e66b4a6348e2d106dc714760c946003bdc9807d
3e66b4a634 add multi args acceptor (#2605)
2022-07-02 09:10:33 +00:00
Tomas Votruba
2524b7ef68 Updated Rector to commit 89a7a4dfbb3e05a306c0f5b9950c28588d4f2af9
89a7a4dfbb [TypeDeclaration] Add ReturnTypeFromStrictScalarReturnExprRector (#2601)
2022-07-01 13:42:45 +00:00
Tomas Votruba
fbc13bfea3 Updated Rector to commit e6e5895517eb301f3fa3b00759b06876cacde836
e6e5895517 [Naming] Skip used in arrow function args on RenameVariableToMatchMethodCallReturnTypeRector (#2599)
2022-07-01 07:39:49 +00:00
Tomas Votruba
8582284513 Updated Rector to commit ed92724c846790f1bab66cd81b3e20a6561694ed
ed92724c84 [DX] Try unused public const PHPStan rule (#2595)
2022-06-30 13:57:27 +00:00
Tomas Votruba
39d9381da5 Updated Rector to commit 407ad5fc5e
407ad5fc5e remove unused reference
2022-06-29 15:03:44 +00:00
Tomas Votruba
f0abc6fd73 Updated Rector to commit 250bcbbd2f
250bcbbd2f Bump PHPStan to 1.8 (#2588)
2022-06-29 11:05:24 +00:00
Tomas Votruba
6f73a90692 Updated Rector to commit d1807682bf
d1807682bf [Core] Apply auto fallback to use Scope from File when Node both doesnot has parent Node and Scope (#2587)
2022-06-29 09:55:25 +00:00
Tomas Votruba
7cf1d35492 Updated Rector to commit 1d037d151f
1d037d151f Clean up phpstan ignore errors (#2584)
2022-06-28 16:44:22 +00:00
Tomas Votruba
0b6c455d19 Updated Rector to commit 719191352d
719191352d clean up tweak package test workflow (#2583)
2022-06-28 14:46:16 +00:00
Tomas Votruba
846aa2b4c2 Updated Rector to commit e97dd8f360
e97dd8f360 Use rector downgrade php (#2582)
2022-06-28 12:42:29 +00:00
Tomas Votruba
bebb65659c Updated Rector to commit 92621698c2
92621698c2 [DX] Move UnionTypeFactory to NodeTypeResolver packages (#2581)
2022-06-27 20:29:12 +00:00
Tomas Votruba
ec6f7db42d Updated Rector to commit 89a684f2b7
89a684f2b7 [Core] Apply Scope refresh for Namespace_ and FileWithoutNamespace (#2569)
2022-06-27 08:32:39 +00:00
Tomas Votruba
0522de2970 Updated Rector to commit cf8cbcd4cb
cf8cbcd4cb [Core] Refactor CreatedByRuleDecorator to only set CREATED_BY_RULE on target Node when class is equals (#2573)
2022-06-26 13:53:02 +00:00
Tomas Votruba
a0db66f4be Updated Rector to commit 564c127680
564c127680 [fix] Skip doc-types in ReturnStrictTypeAnalyzer (#2562)
2022-06-25 13:21:09 +00:00
Tomas Votruba
b27efafdc1 Updated Rector to commit 38b6b60b24
38b6b60b24 Clean MethodToMethodCallRector (#2554)
2022-06-24 11:11:40 +00:00
Tomas Votruba
8643b18ecc Updated Rector to commit bab38355ae
bab38355ae [TypeDeclaration] Skip string type override nullable string return on AddReturnTypeDeclarationRector (#2559)
2022-06-23 20:42:36 +00:00
Tomas Votruba
a74b851a08 Updated Rector to commit 2907687792
2907687792 Fix @return on StaticDoctrineAnnotationParser::resolveAnnotationValue() (#2558)
2022-06-23 20:27:42 +00:00
Tomas Votruba
4522848db4 Updated Rector to commit 005ca33bcb
005ca33bcb [DowngradePhp80] Do not change correct Union array docblock to mixed[] on DowngradeUnionTypeDeclarationRector (#2555)
2022-06-22 22:21:39 +00:00
Tomas Votruba
09d862a443 Updated Rector to commit 83f2b16f0c
83f2b16f0c [cs] add static lambda rule [closes #2514]
2022-06-21 23:59:33 +00:00
Tomas Votruba
bb396cb5b1 Updated Rector to commit 6c713a776c
6c713a776c [DeadCode] Handle always terminated TryCatch on RemoveUnreachableStatementRector (#2545)
2022-06-21 06:34:28 +00:00
Tomas Votruba
9550950b4e Updated Rector to commit a16bc1b576
a16bc1b576 skip privatization, as unknown side effect (#2542)
2022-06-20 17:57:13 +00:00
Tomas Votruba
c1ace7d7d7 Updated Rector to commit d4ec140212
d4ec140212 [Php81] Skip str_replace() pass array subject on NullToStrictStringFuncCallArgRector (#2541)
2022-06-20 15:00:36 +00:00
Tomas Votruba
6df03b5f94 Updated Rector to commit d4ec140212
d4ec140212 [Php81] Skip str_replace() pass array subject on NullToStrictStringFuncCallArgRector (#2541)
2022-06-20 14:51:15 +00:00
Tomas Votruba
76fe03af38 Updated Rector to commit 21fc218e08
21fc218e08 [Core] AbstractScopeAwareRector is ready to be used in custom rules (#2537)
2022-06-20 13:06:04 +00:00
Tomas Votruba
f3c64cc79f Updated Rector to commit 1a3288b2d9
1a3288b2d9 [Transform] Handle with this->method() from current class on MethodCallToMethodCallRector (#2531)
2022-06-18 22:08:34 +00:00
Tomas Votruba
ad124eac3f Updated Rector to commit f2035db06d
f2035db06d fix wrong guard location (#2497)
2022-06-16 11:26:51 +00:00
Tomas Votruba
de3cb6a3c1 Updated Rector to commit f2035db06d
f2035db06d fix wrong guard location (#2497)
2022-06-16 11:12:10 +00:00
Tomas Votruba
80a3820ca7 Updated Rector to commit 10fd4c3498
10fd4c3498 [Php70] Refactor MultiDirnameRector by moving nestingLevel check to separate method (#2488)
2022-06-15 07:03:39 +00:00
Tomas Votruba
d88782de2e Updated Rector to commit b536a67738
b536a67738 [Scoped][e2e] Fix standalone rule test on scoped build (#2491)
2022-06-14 06:49:40 +00:00
Tomas Votruba
a3ff5f7dfe Updated Rector to commit aceb0e8a93
aceb0e8a93 bump deps (#2490)
2022-06-13 23:15:18 +00:00
Tomas Votruba
fa8e606d26 Updated Rector to commit 49fc61c1ff
49fc61c1ff Bump to Symplify 11 (#2489)
2022-06-13 23:08:50 +00:00
Tomas Votruba
b8c32ad549 Updated Rector to commit 6f164da439
6f164da439 [Php55] Handle crash on concat variable single quote on PregReplaceEModifierRector (#2483)
2022-06-13 07:49:24 +00:00
Tomas Votruba
a1d7c79c1b Updated Rector to commit 28ed5cf916
28ed5cf916 [automated] Re-Generate Nodes/Rectors Documentation (#2479)
2022-06-12 14:01:14 +00:00
Tomas Votruba
836530a699 Updated Rector to commit e1188e9bff
e1188e9bff [DeadCode] Skip has return reassign Coalesce Op on RemoveUnusedPrivatePropertyRector (#2477)
2022-06-11 15:50:57 +00:00
Tomas Votruba
7800c7ad15 Updated Rector to commit e1188e9bff
e1188e9bff [DeadCode] Skip has return reassign Coalesce Op on RemoveUnusedPrivatePropertyRector (#2477)
2022-06-11 14:03:15 +00:00
Tomas Votruba
dd31e833a9 Updated Rector to commit ce1c29184d
ce1c29184d [scoped] change only year and month, to make diff esaier to see; autoload is handled already
2022-06-11 12:27:46 +00:00
Tomas Votruba
9cf6755b1b Updated Rector to commit 9679ed6d77
9679ed6d77 [DeadCode] Skip using coealesce assign operator on return on RemoveUnusedPrivatePropertyRector (#2476)
2022-06-11 12:21:18 +00:00
Tomas Votruba
b4891e547c Updated Rector to commit a5340c6f06
a5340c6f06 [Renaming] Do not rename docblock same name not found in use inside namespace (#2471)
2022-06-11 11:59:10 +00:00
Tomas Votruba
7fbc26bbc7 Updated Rector to commit 797cb38b88
797cb38b88 Clean PHPStan errors (#2475)
2022-06-10 14:48:54 +00:00
Tomas Votruba
aac6955d81 Updated Rector to commit a6fb82623b
a6fb82623b Bump to phpstan/phpdoc-parser 1.6.2 (#2473)
2022-06-10 12:53:57 +00:00
Tomas Votruba
a262e411c8 Updated Rector to commit db6623f608
db6623f608 Update phpdoc-parser conflict config to <1.6 on scoped build (#2472)
2022-06-10 09:57:49 +00:00
Tomas Votruba
a9ffd906d7 Updated Rector to commit 368dbb048c
368dbb048c docs: fix instruction in CONTRIBUTING.md (#2470)
2022-06-10 05:55:49 +00:00
Tomas Votruba
5953030010 Updated Rector to commit 56651d0190
56651d0190 use PHPStan 1.7.12, with new phpdoc-parser to fix endline issue
2022-06-09 12:53:21 +00:00
Tomas Votruba
6d1d83e43b Updated Rector to commit ca02184695
ca02184695 [Scoped] Remove e2e/container-configurator on scoped build (#2463)
2022-06-09 11:14:30 +00:00
Tomas Votruba
bfad5344a5 Updated Rector to commit d1b7a49e35
d1b7a49e35 [DeadCode][Php73] Ensure return  only when changed on RemoveDuplicatedCaseInSwitchRector+RegexDashEscapeRector (#2462)
2022-06-09 10:09:44 +00:00
Tomas Votruba
7e1e20e9f2 Updated Rector to commit 17b86d4b77
17b86d4b77 [CodeQuality] Remove unnecessary check next return removed no SimplifyIfElseToTernaryRector (#2457)
2022-06-09 06:07:50 +00:00
Tomas Votruba
e8d4384fe8 Updated Rector to commit 6c8b3dc9f8
6c8b3dc9f8 [DeadCode][PHPUnit] handle crash on RemoveJustPropertyFetchForAssignRector+SimplifyForeachInstanceOfRector (#2453)
2022-06-08 05:54:40 +00:00
Tomas Votruba
f985e015b4 Updated Rector to commit e6ef575170e45ec3b37f9c907a58d43172103eb8
e6ef575170 expose rector running constant
2022-06-07 09:02:30 +00:00
Tomas Votruba
bdfd24339f Updated Rector to commit 2e977bd3aad21113e0bb7e2aa9b102f6f1e9246d
2e977bd3aa deploy to original repository
2022-06-07 08:22:29 +00:00
Tomas Votruba
91f5aab952 Updated Rector to commit 4f07a4f30f
4f07a4f30f [Php74] Remove ReservedFnFunctionRector (#2447)
2022-06-07 06:40:10 +00:00
Tomas Votruba
da1eb8d817 Updated Rector to commit bd0104d6c6
bd0104d6c6 [DX] Detach typo3 from core to allow stable growth of both packages (#2446)
2022-06-06 17:33:21 +00:00
Tomas Votruba
aa2cb1b997 Updated Rector to commit 0eba231b07
0eba231b07 [PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444)
2022-06-06 17:12:56 +00:00
Tomas Votruba
a28f4b14a4 Updated Rector to commit 2022-06-06 16:43:29 +00:00
Tomas Votruba
3dab591b7e Updated Rector to commit ddd88a8800
ddd88a8800 [DX] Remove symlinks option to require safe way of providing explicit paths (#2443)
2022-06-06 11:33:16 +00:00
Tomas Votruba
062970bc82 Updated Rector to commit df5bd5fb79
df5bd5fb79 [DX] Make ClassAnnotationMatcher differentiate between known and unknown classes (#2319)
2022-06-06 08:39:49 +00:00
Tomas Votruba
07acf2086f Updated Rector to commit 40d9102eab
40d9102eab [Renaming] Do not Rename Docblock inner Namespace on RenameClassRector (#2441)
2022-06-06 06:00:07 +00:00
Tomas Votruba
07c6c80c35 Updated Rector to commit 8b4df18bde
8b4df18bde [Renaming] Keep comment on RenameClassRector (#2439)
2022-06-05 06:56:15 +00:00
Tomas Votruba
3113a2404c Updated Rector to commit dbb54b83cc
dbb54b83cc [automated] Re-Generate Nodes/Rectors Documentation (#2438)
2022-06-05 00:39:10 +00:00
Tomas Votruba
63ef476ebe Updated Rector to commit 70261b71b7
70261b71b7 [DeadCode] Fix known array type in empty if foreach (#2432)
2022-06-04 13:19:43 +00:00
Tomas Votruba
6677a82eb8 Updated Rector to commit 506c282f54
506c282f54 [Scoped] Exclude symfony/contracts/HttpClient/Test/HttpClientTestCase.php from parallel-lint check (#2429)
2022-06-04 10:45:13 +00:00
Tomas Votruba
98eb7617da Updated Rector to commit 283a9af3f0
283a9af3f0 [Renaming] Skip docblock rename different namespace on RenameClassRector (#2419)
2022-06-04 07:39:10 +00:00
Tomas Votruba
ef1a9b9a7c Updated Rector to commit d2bf080d6b
d2bf080d6b Update PHPStan to ^1.7.10 (#2424)
2022-06-03 20:48:05 +00:00
Tomas Votruba
14da17860d Updated Rector to commit 7722a57d80
7722a57d80 [PHP 8.0] Add return type support to ConstantListClassToEnumRector (#2420)
2022-06-03 07:23:26 +00:00
Tomas Votruba
e58cb04bad Updated Rector to commit 340f5b999c
340f5b999c [DowngradePhp80] Add DowngradeEnumToConstantListClassRector (#2416)
2022-06-02 12:02:30 +00:00
Tomas Votruba
56db9b2ff8 Updated Rector to commit a73dafd30a
a73dafd30a [PHP 8.0] Add method param to ConstantListClassToEnumRector (#2415)
2022-06-02 09:05:21 +00:00
Tomas Votruba
c588cd340d Updated Rector to commit ba0869a9a5
ba0869a9a5 use directly ParamTagValueNode (#2412)
2022-06-02 07:42:04 +00:00
Tomas Votruba
02c0f07aa0 Updated Rector to commit 9187ff0430
9187ff0430 [Scoped] Update full_build.sh to reflect the current Github workflow for build scoped (#2413)
2022-06-02 07:23:49 +00:00
Tomas Votruba
532e6c65bd Updated Rector to commit ca6dfe2e1c
ca6dfe2e1c [Php80] Mirror additional docblock on importNames() on ClassPropertyAssignToConstructorPromotionRector (#2410)
2022-06-01 16:36:10 +00:00
Tomas Votruba
f63cc42a7a Updated Rector to commit 0693c4f46f
0693c4f46f return intl and mbstring polyfills
2022-06-01 13:00:07 +00:00
Tomas Votruba
780f0d3ad8 Updated Rector to commit 06b0b325da
06b0b325da remove victor, it handles only metafiles, not unused classes
2022-06-01 07:38:23 +00:00
Tomas Votruba
d97f14bfef Updated Rector to commit 6ada6d67a5
6ada6d67a5 [PHP 8.0] Fix double annotation change on annotation to attribute (#2403)
2022-05-31 21:44:54 +00:00
Tomas Votruba
653bbcea94 Updated Rector to commit f01725a084
f01725a084 Use php-parser to work with literal _ number separator (#2321)
2022-05-31 21:16:09 +00:00
Tomas Votruba
4721ef64a8 Updated Rector to commit 02803bf7d5
02803bf7d5 [Attributes] Add UseAliasNameMatcherTest (#2401)
2022-05-31 14:46:02 +00:00
Tomas Votruba
abedf4d309 Updated Rector to commit 9b7ef717dd
9b7ef717dd [scoped] Keep tracy logger as needed in dump()
2022-05-31 13:09:17 +00:00
Tomas Votruba
0501290a9d Updated Rector to commit dc6bd9680c
dc6bd9680c [e2e] Handle Parent Property empty missing Scope on StaticCallToMethodCallRector+RenameClassRector (#2396)
2022-05-31 07:17:00 +00:00
Tomas Votruba
5975ecbe2c Updated Rector to commit 0dc9777f46
0dc9777f46 [Transform] Skip different method on CallableInMethodCallToVariableRector (#2395)
2022-05-30 14:13:32 +00:00
Tomas Votruba
e9be771b02 Updated Rector to commit b608b85de7
b608b85de7 fix installing of patches, the --no-dev kills it
2022-05-30 07:36:12 +00:00
Tomas Votruba
0d1643e025 Updated Rector to commit c4b0e48b46
c4b0e48b46 require patches
2022-05-30 07:29:56 +00:00
Tomas Votruba
d035c86f90 Updated Rector to commit a7e66d67bd
a7e66d67bd remove excluded files
2022-05-30 00:02:22 +00:00
Tomas Votruba
43094029dd Updated Rector to commit 9f784a8fae
9f784a8fae [CI] restore build dir
2022-05-29 23:15:29 +00:00
Tomas Votruba
ba33a36776 Updated Rector to commit ed8b526a16
ed8b526a16 [composer] remove unused polyfills
2022-05-29 22:55:16 +00:00
Tomas Votruba
4803c3d08f Updated Rector to commit 17cd369be3
17cd369be3 remove direct symfony/yaml
2022-05-29 22:48:48 +00:00
Tomas Votruba
5b72ec39c6 Updated Rector to commit db57fbaae4
db57fbaae4 Remove myclabs/php-enum dependency (#2388)
2022-05-29 22:41:07 +00:00
Tomas Votruba
8ed7e730af Updated Rector to commit ba8aed9a3e
ba8aed9a3e try symfony/process in dev
2022-05-29 18:26:31 +00:00
Tomas Votruba
6e8480860a Updated Rector to commit be3e2e1f9b
be3e2e1f9b trigger buid
2022-05-29 14:16:20 +00:00
Tomas Votruba
9a9e8960ee Updated Rector to commit 9cd69c2b3d
9cd69c2b3d [automated] Re-Generate Nodes/Rectors Documentation (#2385)
2022-05-29 00:36:37 +00:00
Tomas Votruba
b5e7b13e63 Updated Rector to commit 012e9ad553
012e9ad553 Add annotation to attribute core rename in AnnotationToAttributeRector (#2384)
2022-05-28 17:00:40 +00:00
Tomas Votruba
94e64470da Updated Rector to commit 012e9ad553
012e9ad553 Add annotation to attribute core rename in AnnotationToAttributeRector (#2384)
2022-05-28 00:27:30 +00:00
Tomas Votruba
64b3510c04 Updated Rector to commit 31e60de5c9
31e60de5c9 allow PHPStan 1.7.2
2022-05-27 21:09:24 +00:00
Tomas Votruba
15bac77e54 Updated Rector to commit e89590f925
e89590f925 Try pin back PHPStan 1.7.1 (#2383)
2022-05-27 20:43:22 +00:00
Tomas Votruba
85ff7027f7 Updated Rector to commit 38cb4c9684
38cb4c9684 Move Bootstrap file includer to load in RectorContainerFactory (#2382)
2022-05-27 19:47:45 +00:00
Tomas Votruba
efe571aff5 Rector 0.13.1 2022-05-27 18:26:44 +00:00
Tomas Votruba
ed2a4f1f64 Updated Rector to commit 429e5746ea
429e5746ea Try pin PHPStan 1.7.1 (#2381)
2022-05-27 17:33:19 +00:00
Tomas Votruba
5ac1afded1 Updated Rector to commit 7f40d20ff7
7f40d20ff7 Fix wrong copy paste define-constant test (#2380)
2022-05-27 17:03:14 +00:00
Tomas Votruba
b748edb1e3 Updated Rector to commit 37df55a2fd
37df55a2fd [DX] Remove non-PHP file formatting based on editorconfig, rather let external coding standard tools handle the file format (#2378)
2022-05-27 16:47:28 +00:00
Tomas Votruba
dde87d99cf Updated Rector to commit a7e6b685e9
a7e6b685e9 [DX] Remove XmlFileFormatter, as Rector does not handle it (#2375)
2022-05-27 15:32:46 +00:00
Tomas Votruba
7e46eb8267 Updated Rector to commit a2d6da8b4e
a2d6da8b4e Back to php-scoper 0.14 with scoping from php 8.0 (#2370)
2022-05-27 11:51:31 +00:00
Tomas Votruba
beba7d6efe Updated Rector to commit 1249d947f4
1249d947f4 Try php-scoper 0.17 (#2368)
2022-05-27 11:25:02 +00:00
Tomas Votruba
911a9772d6 Updated Rector to commit e690cd059c
e690cd059c restore downgrade configs
2022-05-27 10:39:50 +00:00
Tomas Votruba
bcf77dc873 Updated Rector to commit f5a06553ce
f5a06553ce [CodeQuality] Add InlineIsAInstanceOfRector (#2364)
2022-05-26 22:07:22 +00:00
Tomas Votruba
74a2d071eb Updated Rector to commit 3da22b0231
3da22b0231 [Php81] Skip ArrayDimFetch from ArrayObject in Assign var on ReadOnlyPropertyRector (#2363)
2022-05-26 07:20:40 +00:00
Tomas Votruba
9bf9c43163 Updated Rector to commit 66dbb1e307
66dbb1e307 Allow to rename method if in interface (#2362)
2022-05-25 21:43:02 +00:00
Tomas Votruba
b52fe6d037 Updated Rector to commit 5d0138dcef
5d0138dcef Fixture class name fix (#2360)
2022-05-25 08:23:52 +00:00
Tomas Votruba
c5eecc40c0 Updated Rector to commit 4c53b206a4
4c53b206a4 [Php80] Do not remove array<mixed> inside Union type on UnionTypesRector (#2358)
2022-05-25 06:59:11 +00:00
Tomas Votruba
b93cf80a4f Updated Rector to commit dc9189280f
dc9189280f [PHPStan] Update to PHPStan ^1.7.0 (#2354)
2022-05-24 13:01:35 +00:00
Tomas Votruba
5d8ca84738 Updated Rector to commit f25715b7b3
f25715b7b3 [Php73] Skip Encapsed on StringifyStrNeedlesRector + Temporary Pin PHPStan 1.6.9 (#2352)
2022-05-24 08:37:28 +00:00
Tomas Votruba
edbab99c60 Updated Rector to commit 1691157a64
1691157a64 [Core] Use PropertyFetchAnalyzer::isFilledViaMethodCallInConstructStmts() in ConstructorAssignDetector::isPropertyAssigned() (#2351)
2022-05-23 14:15:07 +00:00
Tomas Votruba
bb3b32dd59 Rector 0.13.0 2022-05-23 10:26:32 +00:00
Tomas Votruba
f89782b964 Updated Rector to commit f134b6183e
f134b6183e [Php71] Ensure return  only when catch of TryCatch removed on MultiExceptionCatchRector (#2350)
2022-05-23 03:50:09 +00:00
Tomas Votruba
a2cadae414 Updated Rector to commit 3fe07aa6a1
3fe07aa6a1 [Experiment][Naming] Keep GroupUse Stmt on UseImportsResolver::resolveForNode() (#2349)
2022-05-22 21:05:36 +00:00
Tomas Votruba
a935bbc0cb Updated Rector to commit 8fbc6582f9
8fbc6582f9 [Core][Naming] Move collecting param names method to FunctionLikeManipulator (#2347)
2022-05-22 16:59:48 +00:00
Tomas Votruba
1192ab052e Updated Rector to commit 68906c7e17
68906c7e17 [DeadCode] Skip used in compact() on RemoveUnusedConstructorParamRector (#2345)
2022-05-22 11:48:33 +00:00
Tomas Votruba
87e9b6cac3 Updated Rector to commit 20731aedd2
20731aedd2 add RectorConfigProvider::getSymfonyContainerXml()
2022-05-22 07:50:39 +00:00
Tomas Votruba
7b1430a8bc Updated Rector to commit adb6e68c2a
adb6e68c2a [automated] Re-Generate Nodes/Rectors Documentation (#2343)
2022-05-22 07:17:20 +00:00
Tomas Votruba
2b85976c4c Updated Rector to commit adb6e68c2a
adb6e68c2a [automated] Re-Generate Nodes/Rectors Documentation (#2343)
2022-05-22 00:38:26 +00:00
Tomas Votruba
71be1e7075 Updated Rector to commit b4120a8850
b4120a8850 [DX] Use direct method on node, instead of token position (#2340)
2022-05-21 12:10:19 +00:00
Tomas Votruba
a073a51536 Updated Rector to commit b4120a8850
b4120a8850 [DX] Use direct method on node, instead of token position (#2340)
2022-05-21 11:58:43 +00:00
Tomas Votruba
3051b40bdb Updated Rector to commit b4120a8850
b4120a8850 [DX] Use direct method on node, instead of token position (#2340)
2022-05-21 09:54:08 +00:00
Tomas Votruba
85503305b8 Updated Rector to commit b4120a8850
b4120a8850 [DX] Use direct method on node, instead of token position (#2340)
2022-05-21 09:46:20 +00:00
Tomas Votruba
6fe802bfdc Updated Rector to commit fcadc67328
fcadc67328 add symfony php config option to allow loading route factory (#2339)
2022-05-21 08:48:33 +00:00
Tomas Votruba
6a5ebad0e7 Updated Rector to commit f0a1b688f3
f0a1b688f3 [DowngradePhp80] Apply PHPStan 1.7.x-dev compatible for PhpParameterReflection (#2336)
2022-05-20 10:24:40 +00:00
Tomas Votruba
ce9b1cc6e6 Updated Rector to commit 30a53bfd93
30a53bfd93 [DowngradePhp80] Add in arrow function in return support on DowngradeMatchToSwitchRector (#2331)
2022-05-19 06:59:21 +00:00
Tomas Votruba
de15691138 Updated Rector to commit 50943ea4f2
50943ea4f2 [CodeQuality] Skip re use variable in assign Expr on InlineArrayReturnAssignRector (#2325)
2022-05-18 05:10:35 +00:00
Tomas Votruba
f845008257 Updated Rector to commit 50943ea4f2
50943ea4f2 [CodeQuality] Skip re use variable in assign Expr on InlineArrayReturnAssignRector (#2325)
2022-05-18 01:37:38 +00:00
Tomas Votruba
9ec874fb89 Updated Rector to commit 15d93fa815
15d93fa815 [DeadCode] Handle combine RemoveAlwaysTrueIfConditionRector + RemoveDeadConstructorRector (#2324)
2022-05-17 09:51:50 +00:00
Tomas Votruba
74de754026 Updated Rector to commit 7a08f1bbe5
7a08f1bbe5 [Core] Move ->shouldShowProgressBar() before loop (#2323)
2022-05-16 19:08:11 +00:00
Tomas Votruba
792ac60a81 Updated Rector to commit 7a08f1bbe5
7a08f1bbe5 [Core] Move ->shouldShowProgressBar() before loop (#2323)
2022-05-16 09:43:25 +00:00
Tomas Votruba
4708d6b081 Updated Rector to commit c0086b7e14
c0086b7e14 [e2e] Add e2e for tests removed node display applied rules with return null (#2320)
2022-05-16 01:19:48 +00:00
Tomas Votruba
ad10fd18db Updated Rector to commit 96400215b5
96400215b5 [automated] Re-Generate Nodes/Rectors Documentation (#2314)
2022-05-15 09:42:33 +00:00
Tomas Votruba
f2550b0de1 Updated Rector to commit f92d5deca3
f92d5deca3 Fix Scalar_Encapsed node as dynamic in  (#2309)
2022-05-14 02:43:00 +00:00
Tomas Votruba
c50600c391 Updated Rector to commit 26d2589aba
26d2589aba [Parallel] Fix --debug not working in parallel (#2307)
2022-05-13 16:18:07 +00:00
Tomas Votruba
b03aa95fcc Updated Rector to commit 28dc9cebb2
28dc9cebb2 Prepare NamedToUnnamedArgs for PhpParameterReflection change in PHPStan 1.7 (#2305)
2022-05-13 09:29:14 +00:00
Tomas Votruba
c37682bea7 Updated Rector to commit f0d68c75a1
f0d68c75a1 [Php82] Fixtures for skip combination writable + readonly on ReadOnlyClassRector (#2304)
2022-05-12 16:54:11 +00:00
Tomas Votruba
e0323c00f8 Updated Rector to commit 39e552c4c9
39e552c4c9 Various little improvement (#2297)
2022-05-12 06:13:58 +00:00
Tomas Votruba
d967349fb9 Updated Rector to commit cd2a644e0c
cd2a644e0c [Core] Refactor RectifiedAnalyzer: early check against AbstractScopeAwareRector instead of Original node (#2295)
2022-05-12 05:20:59 +00:00
Tomas Votruba
ea968d80ae Updated Rector to commit 1026ede751
1026ede751 Remove requires from tests, as all tests run on PHP 8.1 (#2293)
2022-05-11 22:23:42 +00:00
Tomas Votruba
b16e5d61a8 Updated Rector to commit 4d358dade1
4d358dade1 [Core] Allow any Node passed to ReflectionResolver::resolveClassReflection() (#2286)
2022-05-11 13:46:30 +00:00
Tomas Votruba
a2b4ae0362 Updated Rector to commit a784b3da67
a784b3da67 [TypeDeclaration] Use ReflectionResolver when possible on ControllerRenderMethodAnalyzer (#2284)
2022-05-11 12:03:36 +00:00
Tomas Votruba
45954eebdb Updated Rector to commit a784b3da67
a784b3da67 [TypeDeclaration] Use ReflectionResolver when possible on ControllerRenderMethodAnalyzer (#2284)
2022-05-11 11:35:42 +00:00
Tomas Votruba
9dcd15012f Updated Rector to commit 32165444b1
32165444b1 [Php52] Ensure return  only when node changed on ContinueToBreakInSwitchRector (#2283)
2022-05-11 07:15:27 +00:00
Tomas Votruba
7e928f8b96 Updated Rector to commit 12fa9407f7
12fa9407f7 [DeadCode] Skip @return static on return self when class is not final or in trait on RemoveUselessReturnTagRector (#2282)
2022-05-11 05:14:30 +00:00
Tomas Votruba
a93d572d86 Updated Rector to commit ebd4c3fee6
ebd4c3fee6 [Renaming] Skip renaming method call on RenameMethodRector when both old and new exists, which implements interface as config (#2276)
2022-05-11 00:39:05 +00:00
Tomas Votruba
9306ff041a Updated Rector to commit fa073d4408
fa073d4408 [CodeQuality] Add SimplifyIfExactValueReturnValueRector (#2278)
2022-05-10 16:14:43 +00:00
Tomas Votruba
d72f56e566 Updated Rector to commit 30f2f91909
30f2f91909 [CodeQuality][DeadCode] Handle SimplifyUselessVariableRector+RemoveOverriddenValuesRector (#2277)
2022-05-10 12:38:09 +00:00
Tomas Votruba
447f9a972f Updated Rector to commit e5a45afba3
e5a45afba3 [CodeQuality][CodingStyle] Handle Scope not available error on CallableThisArrayToAnonymousFunctionRector+CountArrayToEmptyArrayComparisonRector (#2274)
2022-05-09 20:16:44 +00:00
Tomas Votruba
fa402052ff Updated Rector to commit 97a33aa694
97a33aa694 [Core] Remove is_string() check on glob loop data (#2267)
2022-05-09 09:51:17 +00:00
Tomas Votruba
ec43ca03ec Updated Rector to commit 97a33aa694
97a33aa694 [Core] Remove is_string() check on glob loop data (#2267)
2022-05-09 06:43:28 +00:00
Tomas Votruba
aa0465d388 Updated Rector to commit 975fdf113f
975fdf113f [DX] Add StmtsAwareInterface to catch node by type (#2269)
2022-05-08 20:57:50 +00:00
Tomas Votruba
52fecaf9ca Updated Rector to commit e341cc26fe
e341cc26fe [NodeNameResolver] Remove NodeNameResolver::isLocalPropertyFetchNamed() method, already handled at PropertyFetchAnalyzer::isLocalPropertyFetchName() (#2263)
2022-05-08 08:49:04 +00:00
Tomas Votruba
992aade98a Updated Rector to commit d89c23267c
d89c23267c [automated] Re-Generate Nodes/Rectors Documentation (#2262)
2022-05-08 00:33:36 +00:00
Tomas Votruba
24318b9a19 Updated Rector to commit 26cad67b1c
26cad67b1c [CodingStyle] Clean up getParents() call on MakeInheritedMethodVisibilitySameAsParentRector (#2246)
2022-05-07 00:18:08 +00:00
Tomas Votruba
6a2c9a5de2 Updated Rector to commit 176d6d7e2a
176d6d7e2a Refactor ChangeAndIfToEarlyReturnRector to work with stmts (#2244)
2022-05-06 22:31:31 +00:00
Tomas Votruba
a548c62cde Updated Rector to commit ede1106a69
ede1106a69 [DX] Improve DowngradeCatchThrowableRector to return nodes directly (#2241)
2022-05-06 07:17:49 +00:00
Tomas Votruba
7242caf99b Updated Rector to commit 7f5acb613b
7f5acb613b [Core] Add BetterNodeFinder::findFirstInlinedPrevious() (#2238)
2022-05-05 13:58:33 +00:00
Tomas Votruba
a2cfc4196f Updated Rector to commit 0175838a0c
0175838a0c [DX] Cleanup ComplexNodeRemover (#2230)
2022-05-05 06:11:24 +00:00
Tomas Votruba
975a637463 Updated Rector to commit 2d16736414
2d16736414 [DX] Remove poorly designed NodeToReplacePostRector, return changed nodes directly in the current rule (#2229)
2022-05-04 22:24:14 +00:00
Tomas Votruba
770e1b0adc Updated Rector to commit 267d27bcd7
267d27bcd7 [Test] Remove PHPStanStubLoader::loadStubs() and require constants in tests bootstrap (#2228)
2022-05-04 13:49:45 +00:00
Tomas Votruba
476869ebf4 Updated Rector to commit 129ce269d3
129ce269d3 [Core] Use ReflectionResolver to get ClassReflection when possible (#2226)
2022-05-04 10:46:11 +00:00
Tomas Votruba
128aa6dc82 Updated Rector to commit 7209b23341
7209b23341 [Php73] Skip both reset and key assigned on ArrayKeyFirstLastRector (#2219)
2022-05-04 00:06:05 +00:00
Tomas Votruba
467291c58c Updated Rector to commit 0052951dd0
0052951dd0 Bump Symplify and PHPStan rules version (#2218)
2022-05-03 15:01:15 +00:00
Tomas Votruba
80c29bac02 Updated Rector to commit c4e1ee2b3e
c4e1ee2b3e Added new functions to NullToStrictStringFuncCallArgRector (#2217)
2022-05-03 12:09:48 +00:00
Tomas Votruba
a7f83696f3 Updated Rector to commit f1dba8825b
f1dba8825b Remove Php71 comment reference on config-downgrade (#2216)
2022-05-02 22:39:25 +00:00
Tomas Votruba
d71e817365 Updated Rector to commit 992d1efc75
992d1efc75 [CodeQuality] Skip CallableThisArrayToAnonymousFunctionRector when inside of Attribute (#2212)
2022-05-02 09:44:00 +00:00
Tomas Votruba
0263197624 Updated Rector to commit 3f1f632c04
3f1f632c04 [automated] Apply Coding Standard (#2204)
2022-05-01 00:51:36 +00:00
Tomas Votruba
fe9dc1c27f Updated Rector to commit 1ff8eea8be
1ff8eea8be [DowngradePhp80] Support match as array item in DowngradeMatchToSwitchRector (#2178)
2022-04-30 21:35:42 +00:00
Tomas Votruba
a36b608f99 Updated Rector to commit e782cccb55
e782cccb55 [CodingStyle] Clean up spl_object_hash() check on NewlineAfterStatementRector (#2203)
2022-04-30 06:40:36 +00:00
Tomas Votruba
db5c2a597b Updated Rector to commit 3e685a63ee
3e685a63ee [CodingStyle] Skip readonly type property on AddArrayDefaultToArrayPropertyRector (#2196)
2022-04-29 13:52:53 +00:00