2337 Commits

Author SHA1 Message Date
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
TomasVotruba
7c48c9a122 specify GetterToPropertyRector 2018-03-03 18:07:25 +01:00
TomasVotruba
3b22a89ff4 add Controller stub 2018-03-03 14:57:52 +01:00
TomasVotruba
67ae727782 use Options constant over string 2018-03-03 14:57:46 +01:00
TomasVotruba
f9d8c34227 add Controller stub 2018-03-03 14:57:31 +01:00
TomasVotruba
9444a21084 cleanup 2018-03-03 14:41:36 +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
424c89bfd9 Revert "phpunit: fix configuration and run without PHAR wip"
This reverts commit e213a38feb6521a01b6eb3d25487ac27542adce1.
2018-03-03 12:15:03 +01:00
TomasVotruba
7c8dd371d6 fix cs 2018-03-02 21:34:16 +01:00