1077 Commits

Author SHA1 Message Date
TomasVotruba
231ae7dc77 make ReturnArrayClassMethodToYieldRector work with multi return 2020-07-09 01:23:10 +02:00
dobryy
78e518c105 check minimal php version 2020-07-08 20:36:27 +02:00
TomasVotruba
a0fde28793 remove fixes issue test case 2020-07-02 15:22:45 +02:00
TomasVotruba
3da25665ba remove covered issue 2020-07-02 15:21:23 +02:00
TomasVotruba
f1d54301a3 remove unused RectorContainerFactoryTest, also createFromSet() method 2020-07-02 15:19:07 +02:00
TomasVotruba
aed222aecc remove confirmed test case 2020-07-02 15:09:47 +02:00
TomasVotruba
9a75aaa4b9 rename issue 2863 to CommentPreserving 2020-07-02 13:55:39 +02:00
TomasVotruba
574de08dfa remove issue-tests, already covered in specific rule tests 2020-07-02 13:40:51 +02:00
TomasVotruba
547e15099d use explicit xBuilder classes to prevent typos and PHPStan and PHPStorm confussion 2020-06-30 01:34:19 +02:00
TomasVotruba
477308c030 [Naming] Add RenameVariableToMatchNewTypeRector 2020-06-29 23:09:51 +02:00
TomasVotruba
828d8cf67f prevent remove false template 2020-06-29 13:50:36 +02:00
TomasVotruba
e060d49a30 rename file to fileInfo to reflect the type 2020-06-28 23:36:32 +02:00
TomasVotruba
bba3327993 merge template annotation rector version to 5 2020-06-28 23:26:45 +02:00
TomasVotruba
f1ee5065bc move ReturnThisRemoveRector to MagicDisclosure 2020-06-28 20:08:08 +02:00
TomasVotruba
ec99343c38 move MagicDisclosure rules to own package 2020-06-28 19:59:06 +02:00
TomasVotruba
4755ba8c88 move FluentInterfaceClass to MagicDisclosure package 2020-06-28 19:41:54 +02:00
TomasVotruba
fae704b333 rename FluentReplaceRector to DefluentMethodCallRector 2020-06-28 19:21:28 +02:00
TomasVotruba
e9fcf8481d skip parent ctor in AnnotatedPropertyInjectToConstructorInjectionRector 2020-06-26 01:50:05 +02:00
TomasVotruba
93962b9a51 skip property without doc 2020-06-26 00:58:39 +02:00
TomasVotruba
fce9654044 skip AnnotatedPropertyInjectToConstructorInjectionRector in case of child __construct 2020-06-26 00:52:53 +02:00
TomasVotruba
7f49658112 change test(string ) to test(SmartFileInfo ) in tests 2020-06-25 20:02:36 +02:00
TomasVotruba
90d9c2d7f8 fix cs 2020-06-25 16:59:19 +02:00
TomasVotruba
5a0a86024d make sure interface type is checked 2020-06-25 01:15:01 +02:00
TomasVotruba
c504062ec2 add typed property if on PHP 7.4 2020-06-24 15:09:50 +02:00
TomasVotruba
de0dbc6876 add BreakingREmovalGuard, CommentableNodeResolver, and @fixme to un-removable nodes in ini_get/ini_set 2020-06-18 12:07:26 +02:00
TomasVotruba
84d9e6829f add ini removal edge-case 2020-06-18 01:22:06 +02:00
TomasVotruba
8ea0051df5 add OnlyRuleResolver to prevent typos and make use of short slash-less syntax 2020-06-18 00:19:13 +02:00
TomasVotruba
1dd4c70483 Add test case for #3514 2020-06-15 17:44:25 +02:00
TomasVotruba
f11fed5756 make injected variable protect, if used by children 2020-06-10 01:02:49 +02:00
TomasVotruba
9230abdfe3 add parent::__construct() in case of existing empty ctor 2020-06-10 00:18:46 +02:00
TomasVotruba
c1ce340308 skip abstract class 2020-06-09 23:05:11 +02:00
TomasVotruba
5a2641f876 decouple skip_autowired test case 2020-06-09 22:56:42 +02:00
TomasVotruba
6e33fe0565 add typed property support 2020-06-09 22:43:28 +02:00
TomasVotruba
0f0f01f495 update namespace to fit standard 2020-06-09 22:39:09 +02:00
TomasVotruba
c694e26ab0 use constants over explicit values 2020-06-03 23:00:07 +02:00
TomasVotruba
7f0acb0fac Fix ArgumentDefaultValueReplacerRector to work with bool values 2020-06-03 22:45:59 +02:00
TomasVotruba
201352886c Add RemoveIniGetSetFuncCallRector 2020-05-31 17:25:51 +02:00
TomasVotruba
d28e599bae Add RemoveFuncCallArgRector 2020-05-31 16:20:39 +02:00
TomasVotruba
6c0bc2d14b do not override endline 2020-05-27 00:01:25 +02:00
TomasVotruba
7bb9a7ab29 add test case for incorrect comment positoin 2020-05-25 17:31:37 +02:00
TomasVotruba
e3463b1073 add comments constant to prevent typos 2020-05-25 17:03:48 +02:00
TomasVotruba
897f226f94 add comment test to printer 2020-05-25 16:52:55 +02:00
TomasVotruba
f63e4424b8 move MultipleClassFileToPsr4ClassesRector to PSR4 2020-05-10 00:54:56 +02:00
TomasVotruba
65a25fc57e fix comment preserving for SimplifyIfReturnBoolRector 2020-05-06 12:52:50 +02:00
TomasVotruba
69dfe3cf96 Fix multi-comment malforming 2020-05-05 00:19:45 +02:00
TomasVotruba
e4216ea76d fix test case 2020-05-04 19:15:04 +02:00
Tomas Votruba
174a248644
add the other rule 2020-05-04 19:09:58 +02:00
Tomas Norre Mikkelsen
f653ba03c2 [TASK] Correct namespace 2020-05-04 07:41:58 +02:00
Tomas Norre Mikkelsen
6d5b25a8ef [TASK] Update fixture 2020-05-04 07:41:58 +02:00
Tomas Norre Mikkelsen
3150d82806 [TASK] Switch from set to service to only have one rule 2020-05-04 07:41:58 +02:00