140 Commits

Author SHA1 Message Date
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
Tomas Votruba
a4302b44be Improve trait node scope resolving 2019-08-05 21:13:37 +02:00
Tomas Votruba
d22f3d009c trait resolving can work with missing vendor parent class 2019-08-05 14:57:29 +02:00
Tomas Votruba
72b91209c7 [DeadCode] Add RemoveUnusedDoctrineEntityMethodAndPropertyRector 2019-08-04 23:39:48 +02:00
Tomas Votruba
bb523e60cb [DeadCode] Add RemoveDuplicatedCaseInSwitchRector 2019-07-23 10:51:30 +02:00
Tomáš Votruba
981df8a90f
[CodeQuality] Add RemoveAlwaysTrueConditionSetInConstructorRect… (#1754)
[CodeQuality] Add RemoveAlwaysTrueConditionSetInConstructorRector
2019-07-19 22:32:41 +02:00
Tomas Votruba
953de95cf0 [CodeQuality] Add RemoveAlwaysTrueConditionSetInConstructorRector 2019-07-19 21:49:42 +02:00
Joseph Bielawski
d2923570d2 [DeadCode] Rector RemoveDeadConstructorRector should skip private method 2019-07-19 16:16:30 +02:00
Tomas Votruba
21f72206b1 [DeadCode] Fix RemoveUnusedPrivatePropertyRector for nested chain method callable 2019-07-09 22:15:58 +02:00
Tomas Votruba
878e4054e1 [DeadCode] Add static, self and FQN type to RemoveUnusedPrivateMethodRector 2019-07-09 21:33:25 +02:00
Tomas Votruba
bb2f77f4b0 [DeadCode] Keep array method call in RemoveUnusedPrivateMethodRector 2019-07-09 19:45:03 +02:00