550 Commits

Author SHA1 Message Date
Tomas Votruba
2002645c76 remove typehint case 2018-04-26 00:01:23 +02:00
Tomas Votruba
f4f3849792 add old to new typehint case 2018-04-26 00:01:23 +02:00
Tomas Votruba
a0397df9b7 add nullable type 2018-04-26 00:01:23 +02:00
Tomas Votruba
3622daf00a add 2nd case for class and TypeAnalyzer 2018-04-26 00:01:23 +02:00
Tomas Votruba
d0f65cf3f0 tune ReturnTypehintRector 2018-04-26 00:01:23 +02:00
Tomas Votruba
0d91f7f647 init ReturnTypehintRector 2018-04-26 00:01:23 +02:00
Tomas Votruba
fd3d8451f4 apply ArrayToYieldDataProviderRector on packages as well 2018-04-25 23:53:19 +02:00
Tomas Votruba
ddb0c59668 fix DocBlockAnalyzer for removing annotation on empty doc block [closes #430] 2018-04-25 23:53:05 +02:00
Tomas Votruba
7e82089c97 ArrayToYield Rector edge case 2018-04-25 23:52:59 +02:00
Gabriel Caruso
d2a06f2e06
[CodeQuality] Create InArrayAndArrayKeysToArrayKeyExistsRector 2018-04-22 13:46:09 -03:00
Tomas Votruba
dc3fca8729 apply ArrayToYieldDataProviderRector 2018-04-14 23:43:58 +02:00
Tomas Votruba
136f9ee1f0 ArrayToYieldDataProviderRector - preserve comments 2018-04-14 22:13:38 +02:00
Tomas Votruba
ca66e806a6 fix () in Yield 2018-04-14 20:17:59 +02:00
Gabriel Caruso
2dc156695b
Support all kind of Scalar Nodes 2018-04-11 23:04:51 -03:00
Gabriel Caruso
87eebf4bbf
Make AssertComparisonToSpecificMethodRector smarter 2018-04-11 23:02:27 -03:00
Gabriel Caruso
97d10095c9
[PHPUnit] Create AssertRegExpRector 2018-04-11 01:31:23 -03:00
mssimi
7c5fe14828 ActionSuffixRemoverRector 2018-04-10 21:29:55 +02:00
Tomas Votruba
ee3ef5b6c1 [cs] fix 2018-04-10 09:56:28 +02:00
Tomas Votruba
c95f430cf5 use real objects in tests 2018-04-10 09:56:28 +02:00
Tomas Votruba
7993f6fa5b tests - use real objects, to allow real-project type comparison 2018-04-10 09:56:28 +02:00
TomasVotruba
62329560ca move under own namespace 2018-04-10 09:55:46 +02:00
TomasVotruba
9641f2015e decouple ValueObjectRemoverDocBlockRector 2018-04-10 09:55:46 +02:00
TomasVotruba
c8d45616c0 @var nullable type replacement wip 2018-04-10 09:55:46 +02:00
TomasVotruba
94b4fe7bf8 add annotaiton nullable test case 2018-04-10 09:55:46 +02:00
TomasVotruba
123ddba124 add fix 2018-04-10 09:55:46 +02:00
TomasVotruba
51edbe4b1a add failing test 2018-04-10 09:55:46 +02:00
TomasVotruba
2256d6954c add nullable test for ValueObjectRemoverRector 2018-04-10 09:55:46 +02:00
mssimi
e69b5b8701 move RepositoryForDoctrineProvider logic to abstract class 2018-04-09 16:21:08 +02:00
mssimi
9cb4ea3083 fix cs, clear code, simpler tests 2018-04-09 16:20:48 +02:00
mssimi
e4bf5be8c0 add constructor 2018-04-09 16:20:48 +02:00
mssimi
08f3d86556 fqn alias 2018-04-09 16:20:48 +02:00
mssimi
44e41986a7 service locator to DI class constant 2018-04-09 16:20:48 +02:00
mssimi
e1735f43d4 added failing test 2018-04-09 16:20:47 +02:00
Tomas Votruba
b404ae41e2 improve skip note 2018-04-09 00:11:13 +02:00
Tomas Votruba
0af1db6d23 AbstractContainerAwareTestCase: add simple container cache 2018-04-09 00:11:13 +02:00
Tomas Votruba
4171ca8317 RectorDefinitionTest: cover guard method 2018-04-08 17:41:06 +02:00
Tomas Votruba
eb127ae461 [st] fixes 2018-04-08 17:26:59 +02:00
Tomas Votruba
a89860e631 drop CompilerAddPassPriorityRector, still optional 2018-04-08 17:26:59 +02:00
Tomas Votruba
41a087955e drop GetServiceToContructorInjectionRector - rare cases 2018-04-08 17:26:59 +02:00
Tomas Votruba
2f2dfbf0d0 drop CompilerGenerateCodeArgumentsRector, CompilerCompileArgumentsRector - rare cases 2018-04-08 17:26:59 +02:00
Tomas Votruba
20095aa9e6 [tests] add ConstExprEvaluatorFactoryTest 2018-04-08 17:26:59 +02:00
Tomas Votruba
3c680c32bd [cs] fix 2018-04-08 17:26:59 +02:00
Tomas Votruba
cced110ec5 fix test sample name 2018-04-08 17:26:59 +02:00
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