470 Commits

Author SHA1 Message Date
Tomáš Votruba
bb165d963c
Merge pull request #339 from rectorphp/in-array-true
Fix AssertTrueFalseToSpecificMethodRector
2018-03-04 18:17:44 +01:00
Gabriel Caruso
5beac261f5
Fix AssertTrueFalseToSpecificMethodRector
When in_array and array_search have the $strict argument, the refactory
were been doing wrong
2018-03-04 14:03:06 -03:00
TomasVotruba
f4edd9f766 use services instead of rectors 2018-03-03 21:08:25 +01:00
TomasVotruba
3eb2043d53 drop ConfigMerger, Normalizer and Validator for Rector - moved to DI and service logic 2018-03-03 21:06:27 +01:00
TomasVotruba
445d0c0dc3 shorten arguments in config 2018-03-03 21:06:27 +01:00
TomasVotruba
0ea3040021 MagicDisclosureRector tests: add arguments 2018-03-03 21:06:27 +01:00
TomasVotruba
53e3e68231 DynamicRector tests: add arguments 2018-03-03 21:06:27 +01:00
TomasVotruba
5ecd2e4d5c fix 'services' duplicate key 2018-03-03 21:06:27 +01:00
TomasVotruba
b4d53dc593 TemplateAnnotationRector: fix version argument 2018-03-03 21:06:27 +01:00
TomasVotruba
7687929d1d use services instead of rectors as key 2018-03-03 21:06:27 +01:00
TomasVotruba
ce961b3c2e move under FrameworkBundle 2018-03-03 20:36:23 +01:00
TomasVotruba
89b4532a50 move under FrameworkBundle 2018-03-03 20:36:23 +01:00
TomasVotruba
6df98168c0 CommandToConstructorInjection - apply on Command as well 2018-03-03 20:36:23 +01:00
TomasVotruba
7c48c9a122 specify GetterToPropertyRector 2018-03-03 18:07:25 +01:00
TomasVotruba
9b3630ef5e move under Symfony\FrameworkBundle, as dependent on it 2018-03-03 14:39:23 +01:00
TomasVotruba
f2ba8acf1c cleanup tests 2018-03-03 14:35:26 +01:00
TomasVotruba
abc13cc352 make type specific, do not match bare string 2018-03-03 14:31:38 +01:00
TomasVotruba
1117785b02 add ->container->getParameter() 2018-03-03 12:18:52 +01:00
TomasVotruba
b8c970a509 init GetParameterToContsructorInjectionRector 2018-03-02 21:30:55 +01:00
TomasVotruba
d0a66e5bce fix ContructorMethodBuilder and PropertyBuilder FQNames 2018-02-28 00:50:06 +01:00
TomasVotruba
39e8f1c907 add namespace to test case 2018-02-27 13:44:38 +01:00
TomasVotruba
07dd3f62af drop RectorCollector, merge to RectorNodeTraverser 2018-02-24 22:24:57 +01:00
TomasVotruba
5a5c702a01 RectorCollector: remove getRector() 2018-02-24 22:09:09 +01:00
TomasVotruba
0538b708af revert spaces 2018-02-24 18:57:15 +01:00
TomasVotruba
918a0e3983 wip 2018-02-24 18:55:17 +01:00
TomasVotruba
337368bb8e revert spaces 2018-02-24 18:53:49 +01:00
TomasVotruba
209e56478a wip 2018-02-24 18:53:04 +01:00
TomasVotruba
a0b169fa4f [cs] spaces 2018-02-24 18:51:31 +01:00
TomasVotruba
55964b9497 unite config location 2018-02-24 18:33:21 +01:00
TomasVotruba
295dff559f cleanup getRectorClasses() and fix AbstractConfigurableRectorTestCase 2018-02-24 18:25:30 +01:00
TomasVotruba
1b10b5ff66 [cs] eols 2018-02-24 18:22:41 +01:00
TomasVotruba
2dad05fd08 clean 2018-02-24 18:18:56 +01:00
TomasVotruba
ea7c7c7a16 remove provideConfig() on tests 2018-02-24 18:14:49 +01:00
TomasVotruba
92fa82bfbb cleanup 2018-02-24 18:08:45 +01:00
TomasVotruba
29d70d2c3a fix yaml 2018-02-24 17:39:35 +01:00
TomasVotruba
98ce86ebb1 cleanup 2018-02-24 16:47:04 +01:00
TomasVotruba
37e3f851f9 cleanup 2018-02-24 16:18:14 +01:00
TomasVotruba
e7d33fd6ff fix cs 2018-02-24 14:43:46 +01:00
TomasVotruba
ed3a30cdb6 fix cs 2018-02-24 14:43:30 +01:00
TomasVotruba
c34049e4ec fix cs 2018-02-24 14:43:06 +01:00
TomasVotruba
9619a6426d moving to config-based testing 2018-02-24 14:42:49 +01:00
TomasVotruba
7fbec4f2e4 fix RectorCollectorTest 2018-02-24 12:34:26 +01:00
TomasVotruba
4d8a6d3272 move test under RectorBuilder package 2018-02-24 12:00:52 +01:00
TomasVotruba
eb66eea0b2 fix cs 2018-02-24 11:33:11 +01:00
TomasVotruba
e6b11fbb12 rename CaseRector to BuilderRector 2018-02-24 11:32:54 +01:00
TomasVotruba
7b019d47b6 working prototype 2018-02-24 11:31:19 +01:00
TomasVotruba
866227ebe4 update api 2018-02-24 11:01:52 +01:00
TomasVotruba
e680f98255 method name fix 2018-02-24 00:34:48 +01:00
TomasVotruba
aa7c95806c ValidateControlRectorTest: use CaseRector 2018-02-23 22:30:32 +01:00
TomasVotruba
38443547ec add RectorProviderInterface + CompilerPass to load it 2018-02-23 20:00:31 +01:00