768 Commits

Author SHA1 Message Date
Tomáš Votruba
8a5776ac28
Merge pull request #442 from mssimi/argument-analyzer-improvement
improvement - argument analyzer dynamic
2018-04-28 21:10:51 +02:00
Tomas Votruba
f32778fe16 typo 2018-04-28 18:52:52 +02:00
Tomas Votruba
f86130cb87 cs split 2018-04-28 18:52:35 +02:00
Tomas Votruba
ff21d6c459 fix ContainerGetToConstructorInjectionRector test 2018-04-28 18:49:05 +02:00
Tomas Votruba
c743b74974 move Kernel test Sourcet to AbstractToConstructorInjectionRectorSource 2018-04-28 18:49:05 +02:00
Tomas Votruba
e5ebe51963 use service instead of manual map 2018-04-28 18:49:05 +02:00
Tomas Votruba
3792dbe9b3 add 2 more failing cases, make sure the class in 'kernel_class' is instance of Kernel 2018-04-28 18:49:05 +02:00
Tomas Votruba
70f03c0101 add invalid configuraiton test 2018-04-28 18:49:05 +02:00
Tomas Votruba
24a86b45e4 use it in other Rector 2018-04-28 18:49:05 +02:00
Tomas Votruba
46b99f06c5 use DefaultServicetypeForNameProvider 2018-04-28 18:49:05 +02:00
mssimi
21a63c99d1 actually missed few things - rename tests 2018-04-28 16:03:16 +02:00
mssimi
d14894cd40 rename ArgumentReplacerRector to ArgumentRector as it is now general 2018-04-28 15:47:26 +02:00
mssimi
9aacb77361 argument analyzer dynamic 2018-04-28 15:36:08 +02:00
mssimi
5e66c78380 doctrine alias to entity class rector 2018-04-27 20:36:02 +02:00
Tomas Votruba
c3c5b4da6c remove aliasing support 2018-04-27 11:23:47 +02:00
Tomas Votruba
82c212c1fc merge AbstractRepositoryForDoctrineEntityProvider to DefaultDoctrineEntityAndRepositoryMapper 2018-04-26 23:33:46 +02:00
Tomas Votruba
7b976f2b35 move Abstact brige class to Bridge, not a Contract 2018-04-26 23:33:46 +02:00
Tomas Votruba
cd03b803d6 rename EntityForDoctrineRepositoryProvider* to DoctrineEntityAndRepositoryMapper* 2018-04-26 23:33:46 +02:00
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