1092 Commits

Author SHA1 Message Date
Tomas Votruba
042f08f71b
Drop YAML config support (#4081)
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-30 23:29:39 +02:00
Tom Pavelec
36b24b2bfc
fix: swapped naming of camel and pascal cases (#4047) 2020-08-28 18:07:15 +02:00
dobryy
2e7bdca4e2
[DX] Rename namespaces respect node type (#3973) 2020-08-18 17:57:30 +02:00
Tomas Votruba
ec28719c6c
make use of NodeConnectingVisitor + improve generate Rector docs (#3925) 2020-08-07 11:30:05 +02:00
TomasVotruba
7c01151ec6 Move Core Rector rules to Generic namespace, to prevent mixup with Core code 2020-07-29 02:05:52 +02:00
TomasVotruba
743e9c75a3 [Nette 3.0] Add container builder extends to helpers 2020-07-29 01:21:59 +02:00
TomasVotruba
2eddb274c2 use standard __ for vars 2020-07-28 23:54:13 +02:00
TomasVotruba
cdd3935ef6 add RecipeOption to prevent typos; first attempt to use constant-named parameters 2020-07-28 17:46:48 +02:00
TomasVotruba
99db894192 restore types 2020-07-27 10:44:51 +02:00
TomasVotruba
7fbdab7a8f fix removing of doc 2020-07-26 19:29:50 +02:00
TomasVotruba
0188d802d2 use SmartFileSystem over Nette FileSystem 2020-07-24 14:39:10 +02:00
TomasVotruba
3a9375007e decouple Set package 2020-07-21 01:39:24 +02:00
TomasVotruba
6a4792abf4 apply new naming rule 2020-07-19 23:36:10 +02:00
TomasVotruba
bda3e5aa28 load rector.php config 2020-07-18 21:15:27 +02:00
TomasVotruba
bc0d9b3675 from YAML to PHP sets 2020-07-18 19:56:27 +02:00
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