2961 Commits

Author SHA1 Message Date
Tomáš Votruba
227d50f4ca
Merge pull request #499 from rectorphp/narrow
Change InjectPropertyRector to generic AnnotatedPropertyInjectToConstructorInjectionRector
2018-06-06 11:32:31 +02:00
Tomas Votruba
521224f746 add protected support to description 2018-06-06 11:12:07 +02:00
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
fa9a7031cd add case example to AnnotatedPropertyInjectToConstructorInjectionRector, check only non-private properties, keep description general 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
3aeead8511 make annotatoin name configurable, can be @autowired, @service or @required 2018-06-06 11:11:09 +02:00
Tomas Votruba
82c8b8b02b rename InjectPropertyRector to AnnotatedPropertyInjectToConstructorInjectionRector 2018-06-06 10:21:34 +02:00
Tomas Votruba
80d49be442 ecs fix keyword 2018-06-05 20:09:08 +02:00
Tomas Votruba
3f52c3a5d1 fix cs 2018-06-05 18:58:19 +02:00
Tomas Votruba
4c0c37be01 composer: fix nette/robot-loader break version 2018-06-05 18:58:08 +02:00
Tomas Votruba
1469cc2c54 [BetterPhpDocParser] fix service loading while a dependency 2018-06-05 18:22:24 +02:00
Tomáš Votruba
731223c16c
Merge pull request #493 from rectorphp/test-performance
Improve Test Performance
2018-06-02 18:08:59 +02:00
Tomas Votruba
b8a9093b64 fix cs 2018-06-02 18:03:41 +02:00
Tomas Votruba
4a05aa0c9d add option to clear container cache 2018-06-02 17:56:15 +02:00
Tomas Votruba
cca8c031b9 AbstractRectorTestCase - cache duplicated configs 2018-06-02 17:55:35 +02:00
Tomáš Votruba
ffab6005fb
Merge pull request #492 from rectorphp/cognitive-complexity-6
Lower Cognitive Complexity to 6
2018-06-02 17:48:36 +02:00
Tomas Votruba
f7e5a38693 cs: ignore SmartClassReflector for the moment 2018-06-02 17:35:59 +02:00
Tomas Votruba
745278db95 AssertTrueFalseToSpecificMethodRector: improve complexity 2018-06-02 17:31:22 +02:00
Tomas Votruba
c5d1fcddd3 ArrayToYieldDataProviderRector: improve complexity 2018-06-02 17:25:05 +02:00
Tomas Votruba
fb12acb30d SmartClassReflector: remove hotfix fallback, already fixed in Symfony 2018-06-02 16:54:06 +02:00
Tomas Votruba
65e6ea9832 fix cs 2018-06-02 16:49:02 +02:00
Tomas Votruba
bb4340e855 fix class autoloading 2018-06-02 16:48:46 +02:00
Tomas Votruba
acb327a7e5 ConstructorPropertyTypesExtractor: improve complexity 2018-06-02 16:47:13 +02:00
Tomas Votruba
4335efae33 AbstractClassLikeTypeResolver: improve complexity 2018-06-02 16:47:04 +02:00
Tomas Votruba
3c0beaab69 ArrayToYieldDataProviderRector: improve complexity 2018-06-02 16:43:28 +02:00
Tomas Votruba
96a668f95c StatementGlue: improve complexity 2018-06-02 16:31:08 +02:00
Tomas Votruba
efe9aab684 move ArrayToYieldDataProvider to PHPUnit group 2018-06-02 16:28:34 +02:00
Tomas Votruba
4ca30791fd fix description bracket 2018-06-02 16:25:51 +02:00
Tomas Votruba
f680e197ac [PHPUnit] make ArrayToYieldDataProviderRector cover 'dataProvider' name as well 2018-06-02 16:23:43 +02:00
Tomas Votruba
4603e0b655 ActionSuffixRemoverRector - improve description 2018-06-02 16:15:12 +02:00
Tomas Votruba
cf14a0ce30 fix ActionSuffixRemoverRector 2018-06-02 16:14:52 +02:00
Tomas Votruba
d0e6a1645f cs: decrease max CognitiveComplexity to 6 2018-06-02 16:09:48 +02:00
Tomáš Votruba
596d829b1b
Merge pull request #490 from rectorphp/move-code-quality-up
Move CodeQuality from Contrib up
v0.3.3
2018-06-02 15:23:23 +02:00
Tomáš Votruba
626d75d20e
Merge pull request #489 from rectorphp/decouple-doctrine
Decouple Doctrine-related code to own package
2018-06-02 13:47:24 +02:00
Tomáš Votruba
6008980be2
Merge pull request #488 from rectorphp/decouple-php-parser
Decouple PHP-Parser-related upgrade code to own package
2018-06-02 13:47:02 +02:00
Tomas Votruba
c62176e002 remove unused path from ecs config 2018-06-02 13:46:51 +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
5cf1c38e35 fix cs 2018-06-02 13:41:07 +02:00
Tomas Votruba
336ffdd7d7 move PhpParser Rectors to own package 2018-06-02 13:39:01 +02:00
Tomáš Votruba
125914058d
Merge pull request #487 from rectorphp/decouple-phpunit
Decouple Nette-related code to own package
2018-06-02 13:35:25 +02:00
Tomáš Votruba
7e6acc3b5e
Merge pull request #486 from rectorphp/decopule-sylius
Decouple Sylius-related code to own package
2018-06-02 13:30:36 +02:00
Tomas Votruba
1c8217daa6 fix cs 2018-06-02 13:30:28 +02:00
Tomas Votruba
1202dae5e3 move PHPUnit Rectors to own package 2018-06-02 13:29:48 +02:00
Tomas Votruba
c9643e766a fix cs 2018-06-02 13:26:28 +02:00
Tomáš Votruba
f556f0685a
Merge pull request #485 from rectorphp/docouple-nette
Decouple Nette-related code to own package
2018-06-02 13:15:14 +02:00
Tomas Votruba
1cfa87c73a move Sylius Rectors to own package 2018-06-02 13:15:01 +02:00
Tomáš Votruba
4627ffd45f
Merge pull request #484 from rectorphp/decopule-sensio
Decouple Sensio-related code to own package
2018-06-02 13:07:07 +02:00
Tomas Votruba
e0a07e31d0 fix cs 2018-06-02 13:07:03 +02:00