1521 Commits

Author SHA1 Message Date
Tomas Votruba
d7038ec3e2 Add ConstantReplacerRector 2019-02-19 15:53:31 +01:00
Tomas Votruba
4bb41138f0 fix for anonymous classes 2019-02-18 20:30:28 +01:00
Tomas Votruba
3a2a754c2a [DeadCode] Add RemoveUnusedPrivateMethodRector 2019-02-18 20:30:28 +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
3175a8857a apply specific bool on code 2019-02-18 00:36:58 +01:00
Tomas Votruba
8515839d8f [CodeQuality] Add ExplicitBoolCompareRector 2019-02-18 00:23:57 +01:00
Tomas Votruba
f94ddfcd5f [CodeQuality] Add SimplifyIfIssetToNullCoalescingRector 2019-02-17 02:13:29 +01:00
Tomas Votruba
5a801624dc [NTS] Add trans() param wrapper 2019-02-17 01:24:39 +01:00
Tomas Votruba
9a17cb95be fix CakePHP 3.4 with config method 2019-02-17 00:48:27 +01:00
Tomas Votruba
cdebbc8ae7 use ??= from php-parser 2019-02-16 23:51:11 +01:00
Tomas Votruba
40a11938c7 cleanup 2019-02-16 23:34:45 +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
d7a81eefe4 fix output test 2019-02-16 13:09:28 +01:00
Tomas Votruba
48be5d3fe7 fix nesting on SimplifyDeMorganBinaryRector 2019-02-12 01:56:10 +01:00
Tomas Votruba
a9c5dfd59d Fix param wrapper conversion in RouterListToControllerAnnotationsRector 2019-02-11 12:12:15 +01:00
Jan Mikeš
b3ef6ed539
Fix extra commas in EventInfosFactory 2019-02-11 06:40:35 +01:00
Tomas Votruba
9bb0e9afb5 Add StringToClassConstantRector 2019-02-10 00:13:03 +01:00
Tomas Votruba
d4fbe1776a Add core support to CreateRectorCommand 2019-02-10 00:07:22 +01:00
Tomas Votruba
a45eff72df apply code quality + add number of applied changes 2019-02-09 20:17:22 +01:00
Tomas Votruba
e8c2165e17 add event_class to RenameEventNamesInEventSubscriberRector 2019-02-09 19:56:54 +01:00
Tomas Votruba
6da9fc39ff Remove ctor param in RemoveUnusedParameterRector 2019-02-09 17:34:12 +01:00
Tomas Votruba
66e90a21ca add static inverse on non-static call 2019-02-09 17:32:05 +01:00
Tomas Votruba
135efcaab2 add static inverse on non-static call 2019-02-09 17:30:17 +01:00
Tomas Votruba
75cb2b35c4 move level config to autodiscovery path 2019-02-09 14:14:29 +01:00
Tomas Votruba
ef3f1da0bd add Request constants, getByType and addConfig to set 2019-02-09 14:07:14 +01:00
Tomas Votruba
5e050bcc63 update nette to symfony set 2019-02-09 14:03:57 +01:00
Tomas Votruba
b819d67eb0 move RouterListToControllerAnnotationsRetor under ClassMethod 2019-02-09 14:02:54 +01:00
Tomas Votruba
7523aa6d6c fix static 2019-02-09 13:40:07 +01:00
Tomas Votruba
73db408aeb remove duplicated key 2019-02-09 13:22:16 +01:00
Tomas Votruba
cdeb98f27a fix SpecificAssertContainsRector 2019-02-09 12:27:26 +01:00
Jan Mikeš
678905bba2 Fixed Contributte events namespaces and added missing 2019-02-09 12:27:26 +01:00
Tomas Votruba
117aeb6247 improve SpecificAssertContainsRector for final PHPUnit 8 2019-02-07 21:29:51 +01:00
Tomas Votruba
fe4782831a add Rector create manual to main README [closes #1017] 2019-02-07 13:52:15 +01:00
Tomas Votruba
aa1083882e report invalid array/param syntax in config [closes #983] 2019-02-07 09:17:42 +01:00
Tomas Votruba
7f7f48aea8 extend FromRequestGetParameterToAttributesGetRector test 2019-02-06 12:50:38 +01:00
Tomas Votruba
dbcf9dd5a3 Add FromHttpRequestGetHeaderToHeadersGetRector 2019-02-06 12:09:11 +01:00
Tomas Votruba
4665ce8944 fix tests 2019-02-06 11:56:16 +01:00
Tomas Votruba
6ee357c4bd Add FromRequestGetParameterToAttributesGetRector 2019-02-06 09:39:34 +01:00
Tomas Votruba
b7ae358168 add RenameEventNamesInEventSubscriberRector 2019-02-06 00:36:09 +01:00
Tomas Votruba
d722544d73 remove unused origin nuller 2019-02-04 15:05:18 +01:00
Tomas Votruba
b98213de1f decouple ComplexNodeTypeResolver, add PHP 7.4 type resolving from assigns 2019-02-04 05:18:40 +01:00
Tomas Votruba
ff67ab139e decouple RectorMetadataResolver, simplify category to package 2019-02-04 01:39:49 +01:00
Tomas Votruba
12b5395c85 add JsonOutpuFormatter for DumpRectors 2019-02-04 01:39:49 +01:00
Tomas Votruba
aeb402db5d change GenerateDocsCommand to DumpRectorsCommand with default markdown output formatter 2019-02-04 00:46:13 +01:00
Tomas Votruba
7c769a5724 decouple RectorsFinder 2019-02-04 00:46:13 +01:00
Tomas Votruba
0db2b07d49 rename *.yml to *.yaml 2019-02-03 18:46:45 +01:00
Tomas Votruba
0f07e03edb remove safe 2019-02-02 17:27:18 +01:00
Tomas Votruba
fdb21e8a17 remove uneeded check - already knonw route type 2019-02-02 17:25:38 +01:00
Tomas Votruba
c29c09348a add FQN route + check for existing one 2019-02-02 16:52:48 +01:00