272 Commits

Author SHA1 Message Date
TomasVotruba
65c7df925a ClassAnalyzer - improve anonymous class resolving 2017-11-06 03:45:23 +01:00
TomasVotruba
948707ef0b fix 2017-11-06 03:45:23 +01:00
TomasVotruba
6dbddb8a22 [ClassAnalyzer] add simple tests for resolveTypeAndParentTypes, fix for Trait and Interface 2017-11-06 03:45:23 +01:00
TomasVotruba
ad63e7bd8e delegate empty comment cleanup to Coding Style 2017-11-05 17:46:58 +01:00
TomasVotruba
d7e56e025a [PHPUnit] finish ExceptionAnnotationRector 2017-11-05 17:35:51 +01:00
TomasVotruba
3f08549901 [PHPUnit] ExceptionAnnotationRector wip 2017-11-05 13:00:40 +01:00
TomasVotruba
a35e715d3a fix ValueResoluver, add ClassConstFetchResolver 2017-11-02 16:22:01 +01:00
TomasVotruba
d44f23e734 [NodeTypeResolver] prepare for test nested method calls with changing return type 2017-11-02 15:04:46 +01:00
TomasVotruba
7a2f1d1d89 NodeCallerTypeResolver - fix for var 2017-11-02 14:47:41 +01:00
TomasVotruba
452e6748fa remove comments 2017-11-01 22:37:57 +01:00
TomasVotruba
7f9e1a3497 WIP 2017-11-01 19:16:51 +01:00
TomasVotruba
e9b1881df3 fix cs and complete README 2017-11-01 18:42:47 +01:00
TomasVotruba
97ca906586 cleanup 2017-11-01 18:39:16 +01:00
TomasVotruba
4cb9e310bb ArgumentRemoverMerge WIP 2017-11-01 18:18:40 +01:00
TomasVotruba
e3b7cb4d21 [ArgumentReplacerRector] unite API to be compatible with rest of rectors 2017-11-01 17:36:48 +01:00
TomasVotruba
1dd8180861 rename MethodArgumentChangerRector to ArgumentReplacerRector 2017-11-01 13:05:50 +01:00
TomasVotruba
d52655e1f6 [Dynamic] ArgumentRemoverRector init 2017-10-29 21:49:46 +01:00
TomasVotruba
9fa4105f99 [NodeTypeResolver] include direct classes as well 2017-10-29 19:33:08 +01:00
TomasVotruba
eb47668be8 fix cs 2017-10-29 19:20:26 +01:00
TomasVotruba
aa8833a6c1 [Doctrine] add ClassMetadataFactory typehint change 2017-10-29 19:19:13 +01:00
TomasVotruba
1abfbfd5a6 [Doctrine] simple init 2017-10-29 19:06:27 +01:00
TomasVotruba
7455ec6bef PHPUnit] add SpecificMethodRector [closes #115] 2017-10-29 16:09:58 +01:00
TomasVotruba
18bdd50f73 [PHPUnit] add support for _underscore matching 2017-10-29 15:55:51 +01:00
TomasVotruba
9acaccf91d use SmartClassReflector, to get parent classes 2017-10-29 15:35:43 +01:00
TomasVotruba
a7ff99d870 [PHPUnit] add setExpectedExceptionRegExp rector [ref #115] 2017-10-29 15:06:42 +01:00
TomasVotruba
19d323e00e decouple MethodNameAnalyzer, cleanup MethodNameReplacerRector 2017-10-29 02:31:27 +02:00
TomasVotruba
f75eedd9fa add test 2017-10-29 01:32:29 +02:00
TomasVotruba
26ba8a257b [MethodNameReplacerRector] add test 2017-10-29 01:29:29 +02:00
TomasVotruba
c0e0a2fcea [NodeTypeResolver] add parent to name resolver 2017-10-29 01:28:40 +02:00
TomasVotruba
6fd1b419c1 IdentifierRector fixes 2017-10-28 14:23:09 +02:00
TomasVotruba
1a13691cf1 make CloningNodeVistior pass 2017-10-28 14:20:57 +02:00
TomasVotruba
33a8969955 [NodeTypeResolver] fix multitypes for properties, resolve via DocBlockReflection and BetterReflection 2017-10-28 13:46:35 +02:00
TomasVotruba
ea2a918418 [NodeTypeResolver] deal with nested property 2017-10-27 23:27:53 +02:00
TomasVotruba
be26c7ebcd fixing PerNodeTypeResolver for property access 2017-10-27 21:22:48 +02:00
TomasVotruba
70bd97c5ca ClassReplacerRector test 2017-10-27 18:35:39 +02:00
TomasVotruba
4b244db5fd IdentifierRector: run just once 2017-10-27 18:26:11 +02:00
TomasVotruba
200ab47ff0 extend IdentifierRector test 2017-10-27 16:40:28 +02:00
TomasVotruba
0d6abdadaf add IdentifierRector test 2017-10-27 16:26:37 +02:00
TomasVotruba
f015173dd0 fix segfault in PropertyFetchTypeResolver 2017-10-26 21:49:17 +02:00
TomasVotruba
779966be23 add segfault test 2017-10-26 21:46:23 +02:00
TomasVotruba
5bfa37d5e8 misc 2017-10-26 21:22:47 +02:00
TomasVotruba
e1efffe823 make test pass 2017-10-26 18:48:00 +02:00
TomasVotruba
91559ab216 raw init of ExpressionRemover 2017-10-26 18:15:45 +02:00
TomasVotruba
367ec6d076 fix cs 2017-10-26 12:47:53 +02:00
TomasVotruba
2ee2049cf1 ClassReplacerRector - respect use statments import 2017-10-26 12:42:56 +02:00
TomasVotruba
9d17713908 [NodeTypeResolver] add AssignTypeResolver test, fix MethodReflector 2017-10-26 10:16:29 +02:00
TomasVotruba
d762898cdc property adder fixup 2017-10-26 02:34:32 +02:00
TomasVotruba
687560c636 move test to correct path 2017-10-25 01:37:01 +02:00
TomasVotruba
1c9133b28b [NodeTypeResolver] add namespace nodes instead of string 2017-10-25 01:13:38 +02:00
TomasVotruba
6ce219b0a4 add namespace to tests, more real 2017-10-25 01:12:48 +02:00