45 Commits

Author SHA1 Message Date
TomasVotruba
6ce219b0a4 add namespace to tests, more real 2017-10-25 01:12:48 +02:00
TomasVotruba
89a7a4a754 add PropertyNameReplacerRector 2017-10-22 00:04:15 +02:00
TomasVotruba
adfc6cc200 make it work 2017-10-21 18:16:03 +02:00
TomasVotruba
b9c5352d18 ParentTypehtinedArgumentRector init 2017-10-21 14:08:02 +02:00
TomasVotruba
647dbd0cc6 add ClassConstantReplacerRector 2017-10-20 20:29:23 +02:00
TomasVotruba
4cb6ca7fbd finish 2017-10-20 17:57:24 +02:00
TomasVotruba
12a523c632 allow MethodNameReplacerRector to change static class as well 2017-10-20 17:54:20 +02:00
TomasVotruba
9c58ad3785 typo and space 2017-10-16 21:56:39 +02:00
TomasVotruba
4d879e42f0 update to recent nikic/php-parser; helps with formatting 2017-10-16 21:25:56 +02:00
TomasVotruba
56bfd53788 add expected file 2017-10-16 20:05:33 +02:00
TomasVotruba
c78cf24465 move Namespace node creating to NodeFactory 2017-10-16 20:00:54 +02:00
TomasVotruba
cc8a5aec00 make it work again 2017-10-16 19:58:22 +02:00
TomasVotruba
3484239b2c class rename wip 2017-10-16 19:56:33 +02:00
TomasVotruba
382a4c3e3e add partialing namespace 2017-10-16 19:06:12 +02:00
TomasVotruba
c0f9c99454 add partial use statement 2017-10-16 18:36:38 +02:00
TomasVotruba
bf81be715a improve test 2017-10-16 18:34:56 +02:00
TomasVotruba
14cab79628 PseudoNamespaceRector init 2017-10-16 18:15:55 +02:00
TomasVotruba
0e375e713b make it work 2017-10-14 23:59:28 +02:00
TomasVotruba
d9c09cc2e4 simplify Dynamic tests 2017-10-14 23:38:11 +02:00
TomasVotruba
099bd6ab01 misc 2017-10-14 21:58:15 +02:00
TomasVotruba
4e78e2283a [MethodArgumentChangerRector] add another test 2017-10-14 21:51:32 +02:00
TomasVotruba
9a000872a3 make first test pass 2017-10-14 21:33:59 +02:00
TomasVotruba
2c71f647f7 MethodArgumentChangerRector init 2017-10-14 20:58:22 +02:00
TomasVotruba
28d87a98cd prevent PHPStorm reports 2017-10-11 21:10:32 +02:00
TomasVotruba
abafa9c0e7 [PHPUnit] add namespace change 2017-10-11 21:05:15 +02:00
TomasVotruba
185eedb9e4 fix NamespaceReplacerRector order 2017-10-07 22:05:33 +02:00
TomasVotruba
26c391c324 details 2017-10-07 17:17:25 +02:00
TomasVotruba
a20725e9bc NamespaceReplaceRector: add partial namesepace 2017-10-07 17:16:26 +02:00
TomasVotruba
3bf55d19d1 decomment tests 2017-10-07 13:43:51 +02:00
TomasVotruba
6092e43fb9 NamespaceReplaceRector: add argument typehints 2017-10-07 13:36:31 +02:00
TomasVotruba
c4aad2e3b1 NamespaceReplaceRector: add fqn class statement 2017-10-07 13:28:13 +02:00
TomasVotruba
70953dd9fc NamespaceReplaceRector: add fqn class statements 2017-10-07 12:40:43 +02:00
TomasVotruba
426f7baecf NamespaceReplaceRector: add use statements 2017-10-07 12:21:09 +02:00
TomasVotruba
a8ee47c4c5 init NamespaceReplacerRector [ref #62] 2017-10-07 11:56:13 +02:00
TomasVotruba
b8465ebd7f use dataProvider in test 2017-10-06 14:45:09 +02:00
TomasVotruba
309644d5e9 ClassReplacerRector: small improvements 2017-10-06 14:42:52 +02:00
TomasVotruba
e8a68db60c cleanup 2017-10-06 14:40:56 +02:00
TomasVotruba
236479f3d7 merge parent class feature to ClassReplacerRector 2017-10-06 14:37:20 +02:00
TomasVotruba
093d64bd52 phpstan cleanups 2017-10-06 14:13:49 +02:00
TomasVotruba
503fe63a63 add MethodNameReplacerRector 2017-10-06 14:13:49 +02:00
TomasVotruba
b43592214f fixed 2017-10-06 14:13:49 +02:00
TomasVotruba
6efc9aec53 fix 2017-10-06 14:13:49 +02:00
TomasVotruba
c80f831e4a test UseStatement class rename duplication 2017-10-06 14:13:49 +02:00
TomasVotruba
97b0ad01f1 add RectorClassNormalizer, move under Configuration with Validator 2017-10-05 17:22:13 +02:00
TomasVotruba
51b06ef2c5 complete test case for ClassReplacerRector 2017-10-05 12:51:48 +02:00