73 Commits

Author SHA1 Message Date
Dezső BICZÓ
e5daee5397
Remove duplicated namespace separator
#1423
2019-05-13 09:43:50 +02:00
Dezső BICZÓ
6d7ef0c8e5
Allow to opt-out from doc block modification
#1409
2019-05-10 18:42:01 +02:00
Tomas Votruba
83d2219ca7 [TypeDeclaration] Add AddFunctionReturnTypeRector 2019-05-10 14:55:55 +02:00
Jan Mikeš
9958a44ec3
Added support for renaming class and it’s namespace 2019-05-08 13:00:28 +02:00
Tomas Votruba
adc50652a0 fix CallableThisArrayToAnonymousFunctionRector for invalid array items 2019-05-07 16:03:04 +02:00
Tomas Votruba
b8b37303dd [ref] apply code-quality 2019-05-07 15:32:27 +02:00
Tomas Votruba
b9b4c5c1b1 [cs] import namespaces 2019-05-05 20:48:46 +02:00
Tomas Votruba
bd87eadc55 fix ImportFullyQualifiedNamesRector on multiple files 2019-05-05 20:48:12 +02:00
Tomas Votruba
b63a0821c8 Add function support to ImportFullyQualifiedNamesRector 2019-05-03 00:10:27 +02:00
Tomas Votruba
f409a5fc70 fix already imported 2019-05-01 19:31:44 +02:00
Tomas Votruba
8ca0768040 fix already used names 2019-05-01 18:01:51 +02:00
Tomas Votruba
a1d600fc2c add failing test case 2019-05-01 14:57:36 +02:00
Tomas Votruba
87635a556b import just once 2019-05-01 14:53:58 +02:00
Tomas Votruba
3dcb1bf35f make ImportFullyQualifiedNamesRector take into account existing imports on combination of PHP and doc block 2019-05-01 14:37:04 +02:00
Tomas Votruba
c5fc331857 add ImportsInClassCollection 2019-05-01 13:51:56 +02:00
Tomas Votruba
85ff969f30 [CodingStyle] Fix ImportFullyQualifiedNamesRector for multiple same-ending doc types 2019-05-01 13:51:38 +02:00
Tomas Votruba
c15c8b1992 [CodingStyle] Fix ImportFullyQualifiedNamesRector for self imports 2019-05-01 11:30:06 +02:00
Tomas Votruba
9e0d83fdff [CodingStyle] Fix interface short name identical with class name in ImportFullyQualifiedNamesRector + add doc block import 2019-05-01 00:47:45 +02:00
Tomas Votruba
1fe23d12c8 merge getRectorClass() and getRectorConfiguration() 2019-04-29 07:36:22 +02:00
Tomas Votruba
1092cd91c0 fix cs 2019-04-29 01:10:39 +02:00
Tomas Votruba
71f1af830c [tests] Refactor tests to use container just once, if not enforced config 2019-04-29 00:36:52 +02:00
Tomas Votruba
9eb686feb7 improve code quality 2019-04-18 00:11:21 +02:00
Tomas Votruba
0973ceb8be apply import on packages 2019-04-17 22:28:45 +02:00
Tomas Votruba
b71be51f7d [CodingStyle] Add ImportFullyQualifiedNamesRector 2019-04-17 21:56:17 +02:00
Tomas Votruba
328d093724 [CodingStyle] Add SplitStringClassConstantToClassConstFetchRector 2019-04-17 21:54:36 +02:00
Tomas Votruba
7c9df2cefe rename Attribute to AttributeKey to prevent duplicated names with similar classes in 3rd party project 2019-04-13 14:21:36 +02:00
Tomas Votruba
e34a29ad15 Add BuilderFactory to AbstractRector 2019-04-13 01:32:50 +02:00
Tomas Votruba
e20ffc375f [CodingStyle] Add SplitGroupedConstantsAndPropertiesRector 2019-04-11 23:18:29 +02:00
Tomas Votruba
f4fa2c90fc [PhpSpecToPHPUnit] Add no-let method 2019-03-27 00:37:42 +01:00
Tomas Votruba
32bc37f099 [CodingStyle] Add || support for 2 cases with the same output 2019-03-09 12:45:06 +00:00
Tomas Votruba
8208eff75e rename Analyzer and Maintainer to Manipulator 2019-02-27 22:54:39 +01:00
Tomas Votruba
3d4f55c172 apply code-quality level 2019-02-27 14:21:11 +01:00
Tomas Votruba
31d1cf253f fix NullableCompareToNullRector for various arrays 2019-02-27 13:14:20 +01:00
Tomas Votruba
962956bda1 [CodingStyle] Improve nullable compare for empty scalars 2019-02-27 12:58:43 +01:00
Tomas Votruba
2a2703a0bc [DeadCode] Add RemoveDeadConstructorRector 2019-02-27 12:35:13 +01:00
Tomas Votruba
3302c21b5f [CodingStyle] Add SymplifyQuoteEscapeRector 2019-02-27 12:23:55 +01:00
Tomas Votruba
ea599e32be fix used doc alias 2019-02-26 01:12:03 +01:00
Tomas Votruba
59e76e887b correct Celebrity config 2019-02-23 13:10:45 +01:00
Tomas Votruba
f666bbe1de add class test to BinarySwitchToIfElseRector 2019-02-23 10:45:50 +01:00
Tomas Votruba
2bc71c3949 move SetTypeToCastRector to celebrity level 2019-02-23 09:38:31 +01:00
Tomas Votruba
945291a960 move ConsistentImplodeRector under Celebrity level 2019-02-23 01:11:40 +01:00
Tomas Votruba
f574c3374f use node-class based naming 2019-02-22 18:34:41 +01:00
Tomas Votruba
3175a8857a apply specific bool on code 2019-02-18 00:36:58 +01:00
Tomas Votruba
624d1b528d improve trait and interface support for RemoveUnusedAliasRector 2019-01-26 13:56:05 +01:00
Tomas Votruba
62fc1f102c Fix existing class name alias [closes #978] 2019-01-26 11:27:57 +01:00
Tomas Votruba
7c8a88cf73 add ResolvedNameReturnTypeExtension and apply 2019-01-25 16:06:56 +01:00
Tomas Votruba
2c878c7541 apply new static analysis 2019-01-25 16:06:56 +01:00
Tomas Votruba
25da54641b improve static code quality 2019-01-14 23:08:20 +01:00
Lars Moelleken
31e5e06091 [+]: fix for e.g. negative class const values 2019-01-12 03:34:05 +01:00
Tomas Votruba
9fae3bf1d1 update docs 2019-01-04 11:05:15 +01:00