2498 Commits

Author SHA1 Message Date
TomasVotruba
9e956a6ca7 simplify ConstructorMethodBuilder 2018-03-05 13:01:32 +01:00
TomasVotruba
699800cb2c ConstructorMethodBuilder refactoring 2018-03-05 12:55:41 +01:00
TomasVotruba
4097e4581f fix cs 2018-03-05 12:46:53 +01:00
TomasVotruba
a11574fb02 move creatParameterFromVariableInfo() to NodeFactory 2018-03-05 12:46:40 +01:00
TomasVotruba
97f9336b1e ConstructorMethodBuilder refactoring 2018-03-05 12:36:15 +01:00
TomasVotruba
fa8397392c rename RemoveParentDoctrineRepositoryRector to MoveRepositoryFromParentToConstructorRector 2018-03-05 12:36:05 +01:00
TomasVotruba
41327af091 misc 2018-03-05 01:00:44 +01:00
TomasVotruba
1834ef1c36 fix cs 2018-03-05 00:49:12 +01:00
TomasVotruba
f5d1e24905 rename Property to VariableInfo, few method name changes 2018-03-05 00:48:28 +01:00
TomasVotruba
14b490ffab misc 2018-03-04 19:21:47 +01:00
TomasVotruba
7f5ec56016 add EntityManager to constructor 2018-03-04 19:14:10 +01:00
TomasVotruba
98d5bcb470 add repository property 2018-03-04 18:52:45 +01:00
Tomáš Votruba
bb165d963c
Merge pull request #339 from rectorphp/in-array-true
Fix AssertTrueFalseToSpecificMethodRector
2018-03-04 18:17:44 +01:00
TomasVotruba
f72e521d88 add RemoveParentDoctrineRepositoryRector 2018-03-04 18:15:51 +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
a04b634748 add Doctrine stubs 2018-03-04 15:21:53 +01:00
TomasVotruba
d2691516f5 prepare test case 2018-03-04 15:12:55 +01:00
TomasVotruba
0987ec39d3 fix config path 2018-03-04 14:57:49 +01:00
TomasVotruba
ecc24ff392 tests: use level config, DRY 2018-03-04 14:56:25 +01:00
TomasVotruba
fa115e344d init DoctrineRepositoryAsService 2018-03-04 14:56:14 +01:00
TomasVotruba
5acaa3f117 add LevelsCommand to show levels 2018-03-04 14:24:43 +01:00
TomasVotruba
768a455451 move migration one level up 2018-03-04 14:18:59 +01:00
TomasVotruba
8f71fd2a3b comments 2018-03-04 12:49:54 +01:00
TomasVotruba
ebed003152 fix cs 2018-03-04 12:49:54 +01:00
TomasVotruba
5ea5ab9d34 init FunctionToMethodCallRector 2018-03-04 12:49:54 +01:00
TomasVotruba
de29708927 [FrameworkMigration] init LaravelToSymfony 2018-03-04 12:49:54 +01:00
Tomáš Votruba
0cc9d52988
Merge pull request #335 from rectorphp/rector-as-services
Rector as Services to remove dump proxy "rectors" to "services" mechanism
2018-03-04 11:52:59 +01:00
TomasVotruba
f4edd9f766 use services instead of rectors 2018-03-03 21:08:25 +01:00
TomasVotruba
23c9765414 docs: use services instead of rectors 2018-03-03 21:06:27 +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
26c2b6135e configs: add arguments to other Rectors 2018-03-03 21:06:27 +01:00
TomasVotruba
223642252c configs: add arguments to ClassReplacerRector 2018-03-03 21:06:27 +01:00
TomasVotruba
8803c30353 travis: add Rector test run on itself 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
62f3cb53c4 Rector: drop RectorsExtension, add Rector autowiring 2018-03-03 21:06:27 +01:00
TomasVotruba
25147bc4a7 drop RectorsExtension 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
Tomáš Votruba
8fb6dc3600
Merge pull request #336 from rectorphp/command-to-contructor-injection-to-container-aware
Improve CommandToContructorInjection
2018-03-03 20:45:38 +01:00
TomasVotruba
54245f1948 decouple AbstractToConstructorInjectionRector 2018-03-03 20:36:23 +01:00
TomasVotruba
4b10b1a7f4 add symfony-constructor-injection config 2018-03-03 20:36:23 +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
110076d5ee cleanup 2018-03-03 20:36:23 +01:00
TomasVotruba
6df98168c0 CommandToConstructorInjection - apply on Command as well 2018-03-03 20:36:23 +01:00
Tomáš Votruba
bbde0531e1
Merge pull request #333 from rectorphp/get-parameter
Add Get parameter to CTOR Rector
2018-03-03 20:34:03 +01:00
TomasVotruba
93268b348b cleanup 2018-03-03 18:08:03 +01:00