142 Commits

Author SHA1 Message Date
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
407c3dc7b3 add UseImportsRemover 2019-09-19 11:25:47 +02:00
Tomas Votruba
3846725313 moving SymfonyRoute tag to tag value node 2019-09-19 11:21:01 +02:00
Tomas Votruba
ca7d0cba15 use PHP highlight for herenow doc 2019-09-18 09:14:06 +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
8b591fab52 fixes 2019-09-11 19:41:09 +02:00
Tomas Votruba
2c3d2616c6 improve class rename in doc blocks 2019-09-11 16:02:35 +02:00
Tomas Votruba
056b0bbff9 fixing import rectors 2019-09-11 13:00:51 +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
89e21ea68b merge NodeToStringTypeResolver, StaticTypeToStringResolver, PHPStan\StaticTypeToStringResolver to StaticTypeMapper 2019-09-04 12:23:03 +02:00
Tomas Votruba
79ffad4a0b add @see annotations 2019-09-03 14:05:21 +02:00
Tomas Votruba
93a71ce302 rename level to set to prevent confusion of duplicate 2019-08-29 22:50:37 +02:00
Tomas Votruba
9970a01e2e tidy up PhpDocInfoPrinter test 2019-08-27 12:53:29 +02:00
Tomas Votruba
fbe425746e [dx] make should not happen more informative 2019-08-26 18:47:46 +02:00
Tomas Votruba
92dc4499a5 Fix fqn doc with alraedy PHP imported namespace 2019-08-24 12:37:51 +02:00
Tomáš Votruba
844f1cc202
[CodingStyle] Fix ImportFullyQualifiedNamesRector for imported… (#1885)
[CodingStyle] Fix ImportFullyQualifiedNamesRector for imported namespace
2019-08-22 09:46:00 +02:00
Tomas Votruba
1792dcc195 [CodingStyle] Fix ImportFullyQualifiedNamesRector for imported namespaces 2019-08-22 09:43:12 +02:00
Tomas Votruba
ed68d44b4b [CodingStyle] Make import ImportFullyQualifiedNamesRector include same short class in same namespace 2019-08-21 20:24:18 +02:00
Tomas Votruba
361a2936d7 import rector self 2019-08-21 19:14:03 +02:00
Tomas Votruba
49e36355c4 [CodingStyle] Import short classes as well [ref #1877] 2019-08-21 18:57:05 +02:00
Tomas Votruba
222912be5e add ref 2019-08-19 15:41:47 +02:00
Tomas Votruba
c59e842eb2 merge ArrayPropertyDefaultValueRector to superior AddArrayDefaultToArrayPropertyRector 2019-08-17 15:05:42 +02:00
Tomas Votruba
31a46f0ad8 [CodingStyle] Add AddArrayDefaultToArrayPropertyRector 2019-08-15 14:00:48 +02:00
Tomas Votruba
14f096f8ae skip same-namespace-short name in ImportFullyQualifiedNamesRector 2019-08-08 16:31:31 +02:00
Tomas Votruba
dbacd0ed35 typo 2019-08-08 12:02:16 +02:00
Tomas Votruba
abf60e04db allow multiline empty spaces strings 2019-08-08 11:47:10 +02:00
Tomas Votruba
702624b959 simplify ManualJsonStringToJsonEncodeArrayRector 2019-08-08 11:33:43 +02:00
Tomas Votruba
c3c8e7c21f add concat + multiline case to ManualJsonStringToJsonEncodeArrayRector 2019-08-08 09:48:23 +02:00
Tomas Votruba
7baf954aef add implode support to ManualJsonStringToJsonEncodeArrayRector 2019-08-08 01:04:54 +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
72b91209c7 [DeadCode] Add RemoveUnusedDoctrineEntityMethodAndPropertyRector 2019-08-04 23:39:48 +02:00
Tomas Votruba
201a8f31fa update getName() 2019-08-04 20:41:51 +02:00
Tomas Votruba
5a0258cc55 [CodingStyle] remove extra break from BinarySwitchToIfElseRector 2019-08-01 14:09:18 +02:00
Tomas Votruba
4596d656b7 [CodingStyle] Add ManualJsonStringToJsonEncodeArrayRector 2019-07-24 16:28:32 +02:00
Tomas Votruba
953de95cf0 [CodeQuality] Add RemoveAlwaysTrueConditionSetInConstructorRector 2019-07-19 21:49:42 +02:00
Tomas Votruba
28f51cd5ce [CodingStyle] Improve NewlineBeforeNewAssignSetRector 2019-07-16 22:47:29 +02:00
Tomas Votruba
473460e1e5 [CodingStyle] Add NewlineBeforeNewAssignSetRector 2019-07-15 20:35:52 +02:00
Tomas Votruba
495063dc60 [CodingStyle] Add EncapsedStringsToSprintfRector 2019-07-10 16:42:22 +02:00
Ravan Scafi
7c9e153e6a
Don't mess with lines between docblock comment and var type. 2019-07-08 11:51:50 -03:00
Tomas Votruba
16ebd05cee [CodingStyle] Fix extra slash in array simple types 2019-06-23 16:42:50 +02:00
Tomas Votruba
2c632b2b79 remove duplicated CompleteVarDocTypeConstantRector 2019-06-23 16:42:50 +02:00
Tomas Votruba
c3c4574266 Fix reporting of changed nodes [close #1534] 2019-06-05 16:37:54 +02:00
Tomas Votruba
f02b639549 fix cs 2019-06-05 16:37:54 +02:00
Tomas Votruba
d94f47b276 [ClassMethod] Add AddMethodParentCallRector 2019-06-05 16:36:19 +02:00
Tomas Votruba
f4cefb18d3 add CallableNodeTraverserTrait 2019-06-04 23:39:57 +03:00