783 Commits

Author SHA1 Message Date
Gabriel Caruso
de9fb3cf55 Failing test for #447 2018-05-04 14:05:13 +01:00
Tomas Votruba
294f8317e6 fix empty doc storing on MagicMethodRector 2018-05-04 10:32:38 +01:00
Tomas Votruba
550b9a9535 fix IdentifierRector (regression of php-parser update) 2018-05-02 18:33:15 +02:00
Tomas Votruba
f8a5fc7d55 make test run again 2018-05-02 18:33:15 +02:00
Tomas Votruba
3717f13ec1 separate different cases 2018-05-02 18:33:15 +02:00
Tomas Votruba
77564e1a58 cleanup dead code 2018-05-02 18:33:15 +02:00
Tomas Votruba
96a5b370c6 update empty doc render 2018-05-02 18:33:15 +02:00
Tomas Votruba
49c834f324 fix storing of empty DocBlock 2018-05-02 18:33:15 +02:00
Tomas Votruba
be5b1cc5f2 fix ExceptionAnnotationRector description 2018-05-02 18:33:15 +02:00
Tomáš Votruba
d5561dbfb3
Merge pull request #451 from mssimi/simplify-argument-rector
simplify argument rector
2018-05-02 16:11:25 +02:00
mssimi
4965127652 split argument rector into:
ArgumentAdderRector
ArgumentDefaultValueReplacerRector
ArgumentRemoverRector
2018-05-01 19:31:41 +02:00
mssimi
a97ede05ec fix AssertPropertyExistsRector 2018-04-30 12:03:05 +02:00
mssimi
1b39e32b2d simplify argument rector 2018-04-30 10:34:01 +02:00
Tomáš Votruba
5f01f37444
Merge pull request #444 from rectorphp/document-analyzers-and-others
Document analyzers and others
2018-04-29 09:41:16 +02:00
Tomas Votruba
9aa21666ad move Bridge related Contracts to Bridge namespace 2018-04-28 23:21:33 +02:00
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