716 Commits

Author SHA1 Message Date
TomasVotruba
b3bf64ceb0 fix 2017-10-14 22:37:55 +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
909e25e715 [Symfony] add ContainerBuilder::compile() arg Rector 2017-10-14 21:48:19 +02:00
TomasVotruba
1dba1a4382 fix cs 2017-10-14 21:39:13 +02:00
TomasVotruba
9a000872a3 make first test pass 2017-10-14 21:33:59 +02:00
TomasVotruba
7aa73fbdc0 MethodCallAnalyzer - added isMethodCallTypeAndMethod + misc 2017-10-14 21:00:26 +02:00
TomasVotruba
2c71f647f7 MethodArgumentChangerRector init 2017-10-14 20:58:22 +02:00
TomasVotruba
8f3c22a075 details 2017-10-14 17:24:02 +02:00
TomasVotruba
f5c82bbf0c drop phpstan for now, since its broken by php-parser dev 2017-10-14 17:14:02 +02:00
TomasVotruba
4f8a6f26c4 [DeprecationExtractor] decouple RectorGuessFilter 2017-10-14 17:06:47 +02:00
TomasVotruba
105243f85c [DeprecationExtractor] add filtering for useless RectorGuesses 2017-10-14 17:03:04 +02:00
TomasVotruba
c4f5a6b47a [NodeValueResolver] ConcatValue resolves always string 2017-10-14 16:39:45 +02:00
TomasVotruba
44831c368c [DeprecationExtractor] decoupel RectorGuess method 2017-10-14 16:39:31 +02:00
TomasVotruba
177aeb2865 [Symfony] add ChildDefinition rector 2017-10-14 16:39:17 +02:00
TomasVotruba
f3ba8b279e fix cs 2017-10-12 17:51:57 +02:00
TomasVotruba
da9cec3cdf [Nette] outsource node creation to NodeFactory 2017-10-12 17:50:37 +02:00
TomasVotruba
07a33f4826 README: fix locations to Rector cofigs 2017-10-12 17:31:55 +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
Tomáš Votruba
369c4414d6 gitignore: remove .idea 2017-10-12 17:28:09 +02:00
Tomáš Votruba
34e82bbef3 Merge pull request #84 from RectorPHP/better-reflection-nikic-dev-compat
drop patcher, apply own BetterReflection package
2017-10-12 17:21:33 +02:00
TomasVotruba
58b0a7294d fix cs 2017-10-12 16:47:17 +02:00
Edo Barnas
782d97f39f Fixed CS 2017-10-12 11:54:02 +02:00
Edo Barnas
e1630c4575 Fixed CS 2017-10-12 11:09:00 +02:00
TomasVotruba
a18e95f991 fix incompatibilities 2017-10-12 01:44:22 +02:00
TomasVotruba
560e4c568d typo 2017-10-12 01:37:32 +02:00
TomasVotruba
4688bb3657 drop patcher, apply own BetterReflection package 2017-10-12 01:36:02 +02:00
Tomáš Votruba
e7df01487e Merge pull request #83 from RectorPHP/phpunit-rectors
[PHPUnit] rectors for 6.0 complete
2017-10-12 01:03:10 +02:00
TomasVotruba
a5be7b4f48 [PHPUnit] add GetMockRector 2017-10-12 00:55:47 +02:00
TomasVotruba
a120eaa331 cleanup 2017-10-12 00:47:14 +02:00
TomasVotruba
b14a417824 fix cs 2017-10-12 00:45:08 +02:00
TomasVotruba
153c4c63d6 fix failed tests 2017-10-12 00:43:29 +02:00
TomasVotruba
a3a5122e1c fix 2017-10-12 00:36:39 +02:00
TomasVotruba
0e888e4646 NodeFactory: add method call with args 2017-10-12 00:27:54 +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
2675c05589 [PHPUnit] add rest of ns 2017-10-11 21:08:27 +02:00
TomasVotruba
abafa9c0e7 [PHPUnit] add namespace change 2017-10-11 21:05:15 +02:00
Tomáš Votruba
5916eb2a36 Merge pull request #77 from RectorPHP/deprecation-extract
[DeprecationExtractor] improvements, guess only - more reliable
2017-10-11 20:44:47 +02:00
TomasVotruba
20c7214b03 cleanup final 2017-10-11 20:34:16 +02:00
TomasVotruba
caf496628b [DeprecationExtractor] cleanup - drop ClassAndMethodMatcher 2017-10-11 20:30:52 +02:00
TomasVotruba
56840b0b51 [DeprecationExtractor] provide more context to reported deprecations 2017-10-11 20:10:28 +02:00
Edo Barnas
6a5de9f570 Added new rector, that refactor expand function to Static expand function 2017-10-11 20:01:30 +02:00
TomasVotruba
1d5a01fcb0 [DeprecationExtractor] add TYPE_UNSUPPORTED to RectorGuess 2017-10-11 19:24:52 +02:00
TomasVotruba
fd45756be2 [DeprecationExtractor] Deprecation class added, UnsupportedDeprecationFilter extracted 2017-10-11 19:20:48 +02:00
TomasVotruba
0bdc6aa6e8 [DeprecationExtractor] merge to single RectorGuesser WIP 2017-10-11 18:56:02 +02:00
TomasVotruba
705c635c49 add ArgValueResolver, simplify DeprecationCollector 2017-10-11 18:46:48 +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
afb1a45705 [DeprecationExtractor] move to deprecation message only - add deprecations 2017-10-11 13:23:12 +02:00