507 Commits

Author SHA1 Message Date
Tomas Votruba
8832ebaf07 init RectorDefinition, CodeSample 2018-04-08 17:26:59 +02:00
Tomas Votruba
c8412ea8a2 add annotaiton remover 2018-04-02 15:12:49 +02:00
Tomas Votruba
04c4f52ba7 prepare ArrayToYieldDataProviderRector 2018-04-02 14:47:54 +02:00
Tomas Votruba
df954080f2 Merge branch 'sylius-showcase' of https://github.com/EdoBarnas/rector into EdoBarnas-sylius-showcase 2018-04-02 12:26:22 +02:00
Tomas Votruba
174fd84aaf wip 2018-04-02 12:14:46 +02:00
Tomáš Votruba
c7b5b677b3
Merge pull request #374 from rectorphp/phpunit
[PHPUnit] Safe way to check if a class is a Test class
2018-04-02 00:59:37 +02:00
Gabriel Caruso
0ea360fca0
[Tests] Skip tests that require PHP 7.1 or lower 2018-04-01 19:58:42 -03:00
Gabriel Caruso
8e6626925a
[Tests] Skip tests that require PHP 7.1 or lower 2018-04-01 19:55:30 -03:00
Gabriel Caruso
f99be18e2e
Add failing test for extend test classes 2018-03-31 17:01:37 -03:00
Gabriel Caruso
04f5ee0521
Create NodeFactory::createRelativeClassConstantReference 2018-03-27 22:41:01 -03:00
Gabriel Caruso
51ed4a10a7
Use createClassConstanceReference 2018-03-27 22:41:01 -03:00
Gabriel Caruso
8436dfdf89
Make assertInstanceOf Rector smarter 2018-03-27 22:41:01 -03:00
Tomáš Votruba
30534c0aad
Merge pull request #378 from mssimi/get-to-const-bug-fix
AbstractToConstructorInjectionRector fix
2018-03-25 23:45:15 +02:00
Gabriel Caruso
6baf5ee193
[PHPUnit] Add AssertNotOperatorRector 2018-03-25 07:00:32 -03:00
mssimi
564891b86f fix AbstractToConstructorInjectionRector to work with class names in get arguments 2018-03-24 12:20:13 +01:00
Gabriel Caruso
945c8aea2a
Fix assertCount with complex arguments wasn't been refactored 2018-03-20 15:45:06 -03:00
Gabriel Caruso
f93a0f3f04
Fix some PHPStan errors 2018-03-19 16:17:53 -03:00
Gabriel Caruso
94c1cc1f43
Move config/levels to root level 2018-03-19 13:54:31 -03:00
Eduard Barnáš
7b22d885a6 Add static ReplaceCreateMethodWithoutReviewerRector 2018-03-16 18:55:08 +01:00
Gabriel Caruso
678f45f3ea
Fix 3th argument of is_a 2018-03-16 08:23:02 -03:00
TomasVotruba
c01ea37b35 fix in test as well 2018-03-13 21:47:35 +01:00
TomasVotruba
f68f8f7599 Merge github.com:RectorPHP/Rector into repositories-as-services 2018-03-06 21:24:49 +01:00
Tomáš Votruba
84a7c24d02
Merge pull request #337 from rectorphp/laravel-to-symfony
[POC] Laravel Controller to Symfony
2018-03-06 21:21:40 +01:00
TomasVotruba
1180426104 init php-cs-fixer30 level 2018-03-06 20:27:16 +01:00
TomasVotruba
9a86e3c1ee config: drop aliases where not needed 2018-03-06 20:13:59 +01:00
TomasVotruba
5814874bcb config: drop aliases where not needed 2018-03-06 06:52:28 +01:00
TomasVotruba
134fb818be add ReplaceParentRepositoryCallsByRepositoryPropertyRector 2018-03-05 13:34:21 +01:00
TomasVotruba
4c376949e5 add entity by repository reference mechanism 2018-03-05 13:20:32 +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
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
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
768a455451 move migration one level up 2018-03-04 14:18:59 +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
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