306 Commits

Author SHA1 Message Date
Tomas Votruba
6c0564a337 Add --rule option to process only single rule from set 2019-06-23 13:05:37 +02:00
Tomas Votruba
78ff3533db [DeadCode] Add RemoveZeroAndOneBinaryRector 2019-06-10 00:39:10 +02:00
Tomas Votruba
c59a014be5 fix static 2019-06-04 18:28:01 +03:00
Tomas Votruba
4b7376031c cleanup static 2019-05-28 22:48:57 +02:00
Tomas Votruba
bc4da3b79a fix incompatibilites 2019-05-28 20:11:19 +02:00
Tomas Votruba
cc2b9df06d [Legacy] Add ChangeSingletonToServiceRector 2019-05-26 18:35:20 +02:00
Tomas Votruba
0735925796 [SOLID] Add AbstractChildlessUnusedClassesRector 2019-05-26 14:24:23 +02:00
Tomas Votruba
f0e86b25bf introduce OutputFormatterCollector to allow extension of output formatters 2019-05-25 20:34:10 +02:00
Tomas Votruba
c0415f9216 do not override printing files with previous stmts if possible 2019-05-23 22:07:25 +02:00
Tomas Votruba
7c6c6aaa45 [Psr4] Add supprot for namespace less MultipleClassFileToPsr4ClassesRector 2019-05-23 08:09:28 +02:00
Tomas Votruba
53cd941dcd refactor ImportFullyQualifiedNamesRector to allow non-namespaced elements 2019-05-22 17:33:51 +02:00
Tomas Votruba
66b9b6dde2 Narrow ArraySpreadInsteadOfArrayMergeRector to numeric-arrays only 2019-05-19 11:43:08 +02:00
Tomas Votruba
ee1f606827 [CodeQuality] Add ForToForeachRector 2019-05-19 01:02:19 +02:00
Tomas Votruba
e2fba5c6fd [PHP 7.4] Add array spread operator 2019-05-16 01:37:12 +02:00
Tomas Votruba
83f527d571 use stable php-parser with arrow functoin 2019-05-11 15:07:00 +02:00
Tomas Votruba
83d2219ca7 [TypeDeclaration] Add AddFunctionReturnTypeRector 2019-05-10 14:55:55 +02:00
Tomas Votruba
45940ade54 use phpstan 0.11.6 2019-05-10 12:39:37 +02:00
Tomas Votruba
de331920c8 fix CallableThisArrayToAnonymousFunctionRector for empty first item in array 2019-05-07 15:52:19 +02:00
Tomas Votruba
e38feaf055 decouple FlowOfControlLocator 2019-05-07 14:41:11 +02:00
Tomas Votruba
dde57cc931 phpstan: remove unmatched errors 2019-04-29 07:20:23 +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
d87837ad47 [RemovingStatic] Add StaticTypeToSetterInjectionRector 2019-04-25 16:45:09 +02:00
Tomas Votruba
0973ceb8be apply import on packages 2019-04-17 22:28:45 +02:00
Tomas Votruba
9dab3a1e67 merge class, trait and function collecting together 2019-04-14 01:08:44 +02:00
Tomas Votruba
7a07fe6a70 make use of createStaticCall 2019-04-01 13:40:09 +02:00
Tomas Votruba
cbddceb06a add different scope support to RemoveDoubleAssignRector 2019-03-31 21:33:32 +02:00
Tomas Votruba
b9fbb3654d apply code-quality level 2019-03-31 14:48:06 +02:00
Tomas Votruba
bbad5b83ae bump phpstan to 0.11.5 2019-03-27 17:46:25 +01:00
Tomas Votruba
f4fa2c90fc [PhpSpecToPHPUnit] Add no-let method 2019-03-27 00:37:42 +01:00
Tomas Votruba
a5089602da cleanup phpstan errors 2019-03-18 12:10:33 +01:00
Tomas Votruba
cce3bc22bd fix PseudoNamespaceToNamespaceRector for docblocks 2019-03-16 01:26:35 +01:00
Tomas Votruba
4fc9be383d [PhpSpecToPHPUnit] Init new package 2019-03-15 13:42:28 +01:00
Tomas Votruba
ca204319b1 [PHPUnit] Add ReplaceAssertArraySubsetRector 2019-03-13 11:14:29 +01:00
Tomas Votruba
c8478557d4 Add RemoveTraitRector 2019-03-09 18:02:18 +00:00
Tomas Votruba
c6628917f2 rename StaticMethodReplacerRector to RenameStaticMethodRector 2019-03-09 12:56:58 +00:00
Tomas Votruba
c819bb0c26 Add BetterPhpDocParser package 2019-03-01 00:12:44 +01:00
Tomáš Votruba
f80f1ed191
Merge pull request #1131 from rectorphp/naming
rename Analyzer and Maintainer to Manipulator
2019-02-27 23:00:59 +01:00
Tomas Votruba
8208eff75e rename Analyzer and Maintainer to Manipulator 2019-02-27 22:54:39 +01:00
Tomas Votruba
7c6ee5690f [NetteToSymfony] Fix new route for already present annotation above method 2019-02-27 19:45:12 +01:00
Tomas Votruba
c5ee28cc2d Add "dump-node-help" command 2019-02-23 00:49:32 +01:00
Tomas Votruba
f574c3374f use node-class based naming 2019-02-22 18:34:41 +01:00
Tomas Votruba
26dc927e31 add VisibilityTrait 2019-02-22 00:08:38 +01:00
Tomas Votruba
7beababe25 rename utils/phsptan to utils/PHPStanExtensions 2019-02-21 19:18:09 +01:00
Tomas Votruba
1e8443b4ab [DeadCode] Add RemoveUnusedPrivateConstantRector 2019-02-18 18:46:36 +01:00
Tomas Votruba
2bdbbe0527 [DeadCode] Add RemoveOverridenValuesRector 2019-02-18 17:02:57 +01:00
Tomas Votruba
f94ddfcd5f [CodeQuality] Add SimplifyIfIssetToNullCoalescingRector 2019-02-17 02:13:29 +01:00
Tomas Votruba
84846d685a add test case to keep namespace imported, make use of new type detection 2019-02-16 22:18:05 +01:00
Tomas Votruba
140a397ecc ignore test case in static analysis 2019-02-16 13:11:04 +01:00
Tomas Votruba
135efcaab2 add static inverse on non-static call 2019-02-09 17:30:17 +01:00
Tomas Votruba
7523aa6d6c fix static 2019-02-09 13:40:07 +01:00