150 Commits

Author SHA1 Message Date
Tomas Votruba
f04a602d47 apply 2019-10-03 11:59:58 +02:00
Tomas Votruba
6a56bf2a8d [DeadCode] Add RemoveUnreachableStatementRector 2019-10-03 11:59:58 +02:00
Tomas Votruba
8c259c8d92 add stubs over mirror class names in tests 2019-09-30 09:12:25 +02:00
Tomas Votruba
0da741a9a3 drop @return type from Iterator in tests 2019-09-27 14:40:09 +02:00
Tomas Votruba
598f228c6d decouple php doc ast node to factories 2019-09-27 14:40:09 +02:00
Tomas Votruba
e0fb86b2dd [DeadCode] Skip magic property RemoveUnusedPrivatePropertyRector 2019-09-24 22:28:25 +02:00
Tomas Votruba
f558733611 [PHP] Split huge package to php by version rules 2019-09-23 13:38:51 +02:00
Tomas Votruba
d727b0181e [Doctrine] Add ChangeIdenticalUuidToEqualsMethodCallRector 2019-09-21 19:44:34 +02:00
Tomas Votruba
8993b6bc14 [Doctrine] Add ChangeReturnTypeOfClassMethodWithGetIdRector 2019-09-21 17:41:40 +02:00
Tomas Votruba
d6d48ea44b make ShouldNotHappenException smarter 2019-09-21 13:30:03 +02:00
Tomas Votruba
3f6fddee71 make DocBlockManipulator protected in AbstractRector + add ColumnGenerator annotatoin parsing 2019-09-19 17:30:31 +02:00
Tomas Votruba
ca7d0cba15 use PHP highlight for herenow doc 2019-09-18 09:14:06 +02:00
Tomas Votruba
25509c9900 [Autodiscovery] init 2019-09-15 16:51:00 +02:00
Tomas Votruba
2244dad326 [tests] add PhpVersionFeature value object + fix public of protected function 2019-09-15 16:37:38 +02:00
Tomas Votruba
fe3152e817 add AssignManipulator + misc 2019-09-14 17:51:14 +02:00
Tomas Votruba
4c9ecba04c [tests] switch testFiles to data providers 2019-09-12 10:18:26 +02:00
Tomas Votruba
6f983ad302 improve getByType() 2019-09-11 20:12:09 +02:00
Tomas Votruba
8b591fab52 fixes 2019-09-11 19:41:09 +02:00
Tomas Votruba
622b6c1460 migrate TypeInferers to PHPStan object types 2019-09-10 20:40:43 +02:00
Tomas Votruba
82efb89940 use object types over strings 2019-09-06 12:29:55 +02:00
Tomas Votruba
79ffad4a0b add @see annotations 2019-09-03 14:05:21 +02:00
Tomas Votruba
d4cd92fa73 add getTraitUses() 2019-09-01 21:47:16 +02:00
Tomas Votruba
2e97a3d315 make use of getProperties() 2019-09-01 21:45:26 +02:00
Tomas Votruba
e466a14616 add removeNodeFromStatements() method to remove statement by key easily 2019-08-31 10:44:41 +02:00
Tomas Votruba
06a107fdbb [DeadCode] Keep parent call delegation in case of accessibility override 2019-08-29 23:37:44 +02:00
Tomas Votruba
93a71ce302 rename level to set to prevent confusion of duplicate 2019-08-29 22:50:37 +02:00
Tomas Votruba
90d483ad34 [DeadCode] Add RemoveAlwaysTrueIfConditionRector 2019-08-29 22:35:22 +02:00
Tomas Votruba
3883bbb001 RemoveUnusedPrivatePropertyRector should skip entities [closes #1922] 2019-08-29 21:31:01 +02:00
Tomas Votruba
c1303c6ba7 init uuid migration 2019-08-28 10:52:55 +02:00
Tomas Votruba
bb73e893de [DoctrinePhpDocParser] Add relation tags and join column 2019-08-27 12:53:29 +02:00
Tomas Votruba
d4c3b002bb simplify RemoveRepositoryFromEntityAnnotationRector 2019-08-26 21:52:16 +02:00
Tomas Votruba
42cbfd8905 [BetterPhpDocParser] Add support for parsing Doctrine annotations 2019-08-26 21:52:16 +02:00
Tomas Votruba
fbe425746e [dx] make should not happen more informative 2019-08-26 18:47:46 +02:00
Tomas Votruba
361a2936d7 import rector self 2019-08-21 19:14:03 +02:00
Tomas Votruba
e8fbc4bc10 relocate RemoveDeadInitializationRector to RemoveNullPropertyInitializationRector 2019-08-21 17:20:12 +02:00
Tomas Votruba
70665ccad6 skip nested function returns 2019-08-17 14:59:10 +02:00
Tomas Votruba
402fa85814 [TypeDeclaration] Add AddArrayReturnDocTypeRector 2019-08-16 22:35:41 +02:00
Tomas Votruba
0733b53a3d fixup! skip ManyToOne properties in SetterOnlyMethodAnalyzer (#1838) 2019-08-10 17:21:13 +02:00
Tomas Votruba
f15d3306f3 skip ManyToOne properties in SetterOnlyMethodAnalyzer 2019-08-10 14:00:33 +02:00
Tomas Votruba
1f9f5c7e0d add PHPUnitEnvironment 2019-08-10 13:11:22 +02:00
Tomas Votruba
4b584b9507 fix RemoveSetterOnlyPropertyAndMethodCallRector race condition 2019-08-10 11:43:34 +02:00
Tomas Votruba
dda66052b5 decopule NodeRemovingNodeVisitor 2019-08-10 10:04:47 +02:00
Tomas Votruba
c78b60d531 fix args miss-match in RemoveDelegatingParentCallRector 2019-08-09 11:20:06 +02:00
Tomas Votruba
40802e5051 fix unused method type for return type 2019-08-09 10:34:50 +02:00
Tomas Votruba
2d4890706f fix non-same parent method name for RemoveParentCallWithoutParentRector 2019-08-09 10:19:34 +02:00
Tomas Votruba
9341f4fca5 skip abstract parent methods in RemoveUnusedDoctrineEntityMethodAndPropertyRector 2019-08-06 17:57:09 +02:00
Tomas Votruba
2847bf2b8f skip serialized props 2019-08-06 14:23:41 +02:00
Tomas Votruba
73ac67d5ef skip __construct 2019-08-06 14:08:56 +02:00
Tomas Votruba
fb8af74d4a add spaceflow sponsor 2019-08-06 14:08:56 +02:00
Tomas Votruba
6000b30369 [DeadCode] Add RemoveSetterOnlyPropertyAndMethodCallRector 2019-08-06 12:50:53 +02:00