783 Commits

Author SHA1 Message Date
Tomas Votruba
01652b1f9e add another config test 2018-06-06 11:11:09 +02:00
Tomas Votruba
3c8e4cf735 fix annotation in @covers test 2018-06-06 11:11:09 +02:00
Tomas Votruba
6cbb2fc07e move AnnotatedPropertyInjectToConstructorInjectionRector to general rectors 2018-06-06 11:11:09 +02:00
Tomas Votruba
efe9aab684 move ArrayToYieldDataProvider to PHPUnit group 2018-06-02 16:28:34 +02:00
Tomas Votruba
f680e197ac [PHPUnit] make ArrayToYieldDataProviderRector cover 'dataProvider' name as well 2018-06-02 16:23:43 +02:00
Tomas Votruba
4561a1a233 move CodeQuality to root Rector 2018-06-02 13:46:23 +02:00
Tomas Votruba
0bd2c3f091 move Doctrine Rectors to own package 2018-06-02 13:45:20 +02:00
Tomas Votruba
336ffdd7d7 move PhpParser Rectors to own package 2018-06-02 13:39:01 +02:00
Tomas Votruba
1202dae5e3 move PHPUnit Rectors to own package 2018-06-02 13:29:48 +02:00
Tomas Votruba
1cfa87c73a move Sylius Rectors to own package 2018-06-02 13:15:01 +02:00
Tomas Votruba
e52df0d128 move Nette Rectors to own package 2018-06-02 13:06:44 +02:00
Tomas Votruba
a0ccfe6d1a move Sensio Rectors to own package 2018-06-02 12:44:43 +02:00
Tomas Votruba
7e9bfa3ed3 move Symfony Rector to own package 2018-06-02 12:39:43 +02:00
Tomas Votruba
fc5e36215e drop CommandNaming, use one from PackageBuilder 2018-05-31 23:19:08 +02:00
Tomas Votruba
34add11115 [ContainerGetToConstructorInjectionRector] decouple dependency on specific class 2018-05-31 19:49:38 +02:00
Tomas Votruba
e409490e4d [DoctrineRepositoryAsService] decouple dependency on specific class 2018-05-31 19:47:56 +02:00
Tomas Votruba
962495cda3 [GetAndSetToMethodCallRector] decouple dependency on specific class 2018-05-31 19:47:56 +02:00
Tomas Votruba
18d9097ca0 fix ClassLikeAnalyzerTest 2018-05-31 18:01:33 +02:00
Tomas Votruba
e831180fef [NetteObjectToSmartTraitRector] decouple dependency on specific class 2018-05-31 18:00:37 +02:00
Tomas Votruba
97932a59bd [MagicMethodRector] decouple dependency on specific class 2018-05-31 17:50:35 +02:00
Tomas Votruba
1290947804 fix old bug 2018-05-31 17:37:58 +02:00
Tomas Votruba
09195aae13 move Anonymous class test to ClassTypeResolver 2018-05-31 02:34:23 +02:00
Tomas Votruba
4bd4d8964d fix class parent interfaces 2018-05-31 02:34:23 +02:00
Tomas Votruba
4c61afffb4 autoload Nette/Object tests 2018-05-30 14:59:09 +02:00
Tomas Votruba
7704728ba3 make class unique to pass tests 2018-05-30 11:55:56 +02:00
Tomas Votruba
aac0285c92 make test unique 2018-05-30 11:36:29 +02:00
Tomas Votruba
1474755f03 fix cs 2018-05-19 21:01:44 +02:00
Tomas Votruba
bf953ab842 add more default Kernel class names to DefaultAnalyzedSymfonyApplicationContainer [closes #468] 2018-05-19 21:00:03 +02:00
Gabriel Caruso
530a1f65e6
Fix check for non ConstFetch values 2018-05-13 15:36:08 -03:00
Gabriel Caruso
3969a4e845
Fix binary operations when necessary 2018-05-13 15:19:51 -03:00
Gabriel Caruso
4b7d41b4ce
Remove unnecessary ternary expressions 2018-05-13 14:47:59 -03:00
Gabriel Caruso
6950973d48
[CodeQuality] Create UnnecessaryTernaryExpressionRector 2018-05-13 14:17:15 -03:00
Tomas Votruba
64701f240c add default App\Kernel class 2018-05-10 22:02:42 +02:00
Tomas Votruba
deb897947e update namespaces 2018-05-10 19:05:41 +02:00
Tomáš Votruba
c62f8fb59a
Merge pull request #459 from rectorphp/action-inject-to-constructor
Improve Action Inject to work with container
2018-05-10 19:04:36 +02:00
Tomas Votruba
1193151295 cleanup, make test fail 2018-05-07 10:32:03 +02:00
Tomas Votruba
90bfbcf1f0 add test case for non-services 2018-05-07 09:46:00 +02:00
Tomas Votruba
9eb120fb24 DefaultServiceTypeForNameProvider - add hasService() method 2018-05-07 09:42:01 +02:00
Tomas Votruba
7a7379c619 ActionInjectionToConstructorInjectionRector - add kernel_class, to verify class exis a service 2018-05-06 22:32:31 +02:00
Tomáš Votruba
7dde83880d
Merge pull request #458 from rectorphp/action-inject-to-constructor
Add Action inject to constructor Rector
2018-05-05 16:21:45 +01:00
Tomas Votruba
9b6dc41729 make property adding work 2018-05-05 10:54:37 +01:00
Tomas Votruba
a15c177a73 ActionInjectionToConstructorInjectionRector prototype 2018-05-05 10:33:11 +01:00
Tomas Votruba
59f7b9c958 hide ArgumentAdderRectorTest test case, resolve in follow-up PR 2018-05-05 01:04:17 +01:00
Tomas Votruba
d3bdac95af add failing case for ArgumentAdderRector 2018-05-05 01:04:16 +01:00
Tomas Votruba
4da74d474b fix test cases 2018-05-05 01:03:04 +01:00
Tomas Votruba
35b13c776c ArgumentDefaultValueReplacerRector - add valid test case 2018-05-05 01:03:04 +01:00
Tomas Votruba
8fab4d9f48 ArgumentDefaultValueReplacerRector - cleanup test config from other Rectors 2018-05-05 01:03:04 +01:00
Tomas Votruba
6642ef8af9 ArgumentAdderRector: rename 'replacement' to 'default_value' 2018-05-05 01:03:04 +01:00
Tomas Votruba
e7dc6bce1c update namespaces as well 2018-05-05 01:03:04 +01:00
Tomas Votruba
d0d940b0b4 split former ArgumentRector test cases to standalone Rectors 2018-05-05 01:03:04 +01:00