195 Commits

Author SHA1 Message Date
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
Tomas Votruba
20374f53a4 add return typehint for yield to array 2019-01-03 17:39:25 +01:00
Tomas Votruba
e6a5f55f94 drop ArrayToYieldDataProviderRector instead, update docs 2019-01-03 17:39:25 +01:00
Tomas Votruba
7f50b8b5a6 Add ReturnArrayClassMethodToYieldRector 2019-01-03 17:39:25 +01:00
Tomas Votruba
ca1588309b Add YieldClassMethodToArrayClassMethodRector 2019-01-03 17:39:25 +01:00
Tomas Votruba
98bfe2b03e fix static 2019-01-03 00:09:45 +01:00
Tomas Votruba
f9a94edb26 fix cs 2019-01-02 22:24:00 +01:00
Tomas Votruba
3414bd925e [CodingStyle] Add RemoveUnusedAliasRector 2019-01-02 20:22:58 +01:00
Tomas Votruba
38faba727a [CodingStyle] Add SetTypeToCastRector 2019-01-02 17:02:47 +01:00
Tomas Votruba
861a86580b [CodingStyle] Add ConsistentImplodeRector 2019-01-02 16:23:21 +01:00
Tomas Votruba
226214261d Make IdenticalFalseToBooleanNotRector skip for false|0 return types [closes #924] 2019-01-02 14:17:50 +01:00
Tomas Votruba
26b83be1f7 [CodingStyle] Add CompleteVarDocTypeConstantRector 2018-12-22 15:22:44 +01:00
Tomas Votruba
65764c4eec shorten indent on test file list 2018-12-17 01:28:51 +01:00
Tomas Votruba
2a00f0d51b rename Wrong ns to Fixture in tests 2018-12-07 21:51:59 +01:00
Tomas Votruba
ef288d4045 [tests] rename test files to fixtures 2018-12-06 02:09:02 +01:00
Tomas Votruba
3420edeae3 add JoinWrongAndCorrectTestsRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 03:10:15 +01:00
Tomas Votruba
7c6a8be85e simlify tests by SimplifyTestsRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 22:53:11 +01:00
Tomas Votruba
73466ac247 rename test files method to provideFiles()
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 20:13:46 +01:00
Tomas Votruba
b62c31bcad Add NodeRemovingCommander 2018-11-07 21:30:55 +01:00
Tomas Votruba
8cce043697 make use of BinaryOpMaintainer 2018-11-07 01:24:44 +01:00
Tomas Votruba
1d23411611 Move SimplifyArrayCallableRector to SimpleArrayCallableToStringRector in CodingStyle level 2018-11-05 00:07:09 +01:00
Tomas Votruba
5eb323638f Move SimplifyBinarySwitchRector to BinarySwitchToIfElseRector in CodingStyle level 2018-11-04 23:48:59 +01:00
Tomas Votruba
785ac37cb7 Move SimplifyIdenticalFalseToBooleanNotRector to CodeQuality level 2018-11-04 23:36:51 +01:00
Tomas Votruba
c3558f65c4 [CodingStyle] Add NullableCompareToNullRector + add NodeFactoryTrait + cleanup 2018-11-03 18:01:19 +01:00