43 Commits

Author SHA1 Message Date
TomasVotruba
bb7125361e [Nette] Add SetClassWithArgumentToSetFactoryRector 2019-11-14 13:01:23 +01:00
TomasVotruba
66fec32718 [Nette] Add AddDatePickerToDateControlRector 2019-11-14 12:59:28 +01:00
TomasVotruba
360adae027 [Nette] Add FilePutContentsToFileSystemWriteRector 2019-11-11 23:48:31 +01:00
Tomas Votruba
8d57420bd6 use yieldFilesFromDirectory() in tests instead of explicid fixture naming 2019-11-05 18:02:26 +01:00
Tomas Votruba
eef3489d43 cover PregFunctionToNetteUtilsStringsRector to identical 2019-11-05 12:36:42 +01:00
Tomas Votruba
0c455e4ae1 remove strlen() from Nette\Utils\String strict method 2019-11-05 11:25:43 +01:00
Tomas Votruba
acfd930f54 apply PSR-12 2019-10-13 08:09:08 +02:00
Tomas Votruba
0da741a9a3 drop @return type from Iterator in tests 2019-09-27 14:40:09 +02:00
Tomas Votruba
ca7d0cba15 use PHP highlight for herenow doc 2019-09-18 09:14:06 +02:00
Tomas Votruba
25509c9900 [Autodiscovery] init 2019-09-15 16:51:00 +02:00
Tomas Votruba
4c9ecba04c [tests] switch testFiles to data providers 2019-09-12 10:18:26 +02:00
Tomas Votruba
79ffad4a0b add @see annotations 2019-09-03 14:05:21 +02:00
Tomas Votruba
93a71ce302 rename level to set to prevent confusion of duplicate 2019-08-29 22:50:37 +02:00
Tomas Votruba
361a2936d7 import rector self 2019-08-21 19:14:03 +02:00
Tomas Votruba
2fc2a65ed8 [Nette] Add JsonDecodeEncodeToNetteUtilsJsonDecodeEncodeRector 2019-08-07 13:00:53 +02:00
Tomas Votruba
4596d656b7 [CodingStyle] Add ManualJsonStringToJsonEncodeArrayRector 2019-07-24 16:28:32 +02:00
Tomas Votruba
25258e1028 fix cs 2019-05-01 00:49:59 +02:00
Tomas Votruba
0973ceb8be apply import on packages 2019-04-17 22:28:45 +02:00
Tomas Votruba
7c9df2cefe rename Attribute to AttributeKey to prevent duplicated names with similar classes in 3rd party project 2019-04-13 14:21:36 +02:00
Tomas Votruba
1fad013d4e Add PregFunctionToNetteUtilsStringsRector 2019-04-02 15:32:33 +02:00
Tomas Votruba
0c3715e221 Add StartsWithFunctionToNetteUtilsStringsRector and EndsWithFunctionToNetteUtilsStringsRector 2019-04-01 13:40:09 +02:00
Tomas Votruba
7a07fe6a70 make use of createStaticCall 2019-04-01 13:40:09 +02:00
Tomas Votruba
518e891d99 Add SubstrStrlenFunctionToNetteUtilsStringsRector 2019-04-01 13:40:09 +02:00
Tomas Votruba
fc86298e60 [Nette] Add nette-utils-code-quality level 2019-04-01 13:40:09 +02:00
Tomas Votruba
4c6c618785 drop forgotten Nette rector - MagicMethodRector 2018-07-25 14:28:40 +02:00
Tomas Votruba
6922185cd6 rename NetteObjectToSmartTraitRector to generic ParentClassToTraitRector 2018-06-06 16:02:47 +02:00
Tomas Votruba
fffeb9415e drop nette rules 2018-06-06 15:53:20 +02:00
Tomas Votruba
f0ddc564e4 change ChoiceDefaultValueRector to generic PropertyAssignToMethodCallRector 2018-06-06 15:12:07 +02:00
Tomas Votruba
84535e43fa cleanup 2018-06-06 14:58:10 +02:00
Tomas Votruba
3ccf1bcb56 drop nette rules 2018-06-06 14:52:24 +02:00
Tomas Votruba
0602921ede move MethodCallToAnotherMethodCallWithArgumentsRector form Nette to generic Rector/MethodCall 2018-06-06 13:58:02 +02:00
Tomas Votruba
8b681df4e2 fix namespace 2018-06-06 13:56:14 +02:00
Tomas Votruba
08767f5944 rename SetInjectToAddTagRector to generic MethodCallToAnotherMethodCallWithArgumentsRector 2018-06-06 13:55:31 +02:00
Tomas Votruba
2f1e6719be make SetInjectToAddTagRector generic 2018-06-06 13:52:48 +02:00
Tomas Votruba
de07fd3997 move RenameClassConstantsUseToStringsRector from Nette to generic Rector/Constant 2018-06-06 12:05:36 +02:00
Tomas Votruba
bfc50a0467 rename RemoveConfiguratorConstantsRector to RenameClassConstantsUseToStringsRector 2018-06-06 12:05:36 +02:00
Tomas Votruba
710e215c9c make RemoveConfiguratorConstantsRector generic 2018-06-06 11:59:15 +02:00
Tomas Votruba
6cbb2fc07e move AnnotatedPropertyInjectToConstructorInjectionRector to general rectors 2018-06-06 11:11:09 +02:00
Tomas Votruba
3aeead8511 make annotatoin name configurable, can be @autowired, @service or @required 2018-06-06 11:11:09 +02:00
Tomas Votruba
82c8b8b02b rename InjectPropertyRector to AnnotatedPropertyInjectToConstructorInjectionRector 2018-06-06 10:21:34 +02:00
Tomas Votruba
c9643e766a fix cs 2018-06-02 13:26:28 +02:00
Tomas Votruba
e0a07e31d0 fix cs 2018-06-02 13:07:03 +02:00
Tomas Votruba
e52df0d128 move Nette Rectors to own package 2018-06-02 13:06:44 +02:00