140 Commits

Author SHA1 Message Date
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
0b86554364 migrate to ServiceNameToTypeProvider that better maches use case 2017-10-15 11:27:34 +02:00
TomasVotruba
0e375e713b make it work 2017-10-14 23:59:28 +02:00
TomasVotruba
3a77d0e556 prevent some undefined index errors 2017-10-14 23:48:47 +02:00
TomasVotruba
d9c09cc2e4 simplify Dynamic tests 2017-10-14 23:38:11 +02:00
TomasVotruba
d8795a68ac [Nette] GetServiceToConstructorInjectionRector init 2017-10-14 23:30:05 +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
Tomáš Votruba
eba7fd3ec9 Merge pull request #81 from RectorPHP/nette24expand
[Nette] Added ContainerBuilder expand() Rectors
2017-10-12 17:30:16 +02:00
Edo Barnas
e1630c4575 Fixed CS 2017-10-12 11:09:00 +02:00
TomasVotruba
a5be7b4f48 [PHPUnit] add GetMockRector 2017-10-12 00:55:47 +02:00
TomasVotruba
a3a5122e1c fix 2017-10-12 00:36:39 +02:00
TomasVotruba
97e140baf4 StatementToMethodAdder init 2017-10-12 00:17:49 +02:00
TomasVotruba
821b4d8ca0 [PHPUnit] init ExceptionRector 2017-10-11 22:51:05 +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
Edo Barnas
6a5de9f570 Added new rector, that refactor expand function to Static expand function 2017-10-11 20:01:30 +02:00
Edo Barnas
c3a611e5e2 Added rector class (nette2.4) that change expand function to parameters array 2017-10-11 18:09:49 +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
e3f0c08d97 cleanup 2017-10-06 14:38:01 +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
ff0193bd8f move PhpGenratorDocumentMethodRector to dynamic 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
a7c1a80d30 cleanup 2017-10-06 00:33:14 +02:00
TomasVotruba
9250416fec move the rest of rectors to ClassReplacerRector 2017-10-06 00:29:36 +02:00
TomasVotruba
1f7c0fa89c use ClassReplacerRector for PHPUnit 2017-10-06 00:09:32 +02:00
TomasVotruba
9f08967524 move FrameworkBundleClassReplacementsRector to ClassReplacerRector 2017-10-05 18:16:19 +02:00
TomasVotruba
b7696ec597 move ClassNamign20Rector to ClassReplacerRector [ref #69] 2017-10-05 18:14:14 +02:00
TomasVotruba
97b0ad01f1 add RectorClassNormalizer, move under Configuration with Validator 2017-10-05 17:22:13 +02:00