283 Commits

Author SHA1 Message Date
TomasVotruba
28c672312b make tests pass 2017-11-09 03:33:17 +01:00
TomasVotruba
7998094641 update tests to use FQN names, delegate to coding standard 2017-11-09 03:29:16 +01:00
TomasVotruba
325c818758 [Dynamic] ClassReplacerRector - use FQN, add Twig test case [ref #137] 2017-11-09 03:28:52 +01:00
TomasVotruba
749cc933e8 better name 2017-11-09 03:11:27 +01:00
TomasVotruba
644f76c0d4 return test 2017-11-09 02:57:37 +01:00
TomasVotruba
a1138364ab [PHPUnit] make tests pass 2017-11-09 02:56:56 +01:00
TomasVotruba
2c22cff952 drop BootstrapToRouterFactoryRector - too many big changes, should handle manually 2017-11-09 01:56:00 +01:00
TomasVotruba
4d1d5b783b temp 2017-11-08 20:35:03 +01:00
TomasVotruba
8924f3e03c phpstan lvl 0 2017-11-06 11:40:43 +01:00
TomasVotruba
85cbd393e6 rename ClassAnalyzer to correct ClassLikeAnalyzer 2017-11-06 03:45:23 +01:00
TomasVotruba
3dabe99ad0 add test for interface extending interface 2017-11-06 03:45:23 +01:00
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