429 Commits

Author SHA1 Message Date
TomasVotruba
fffc143c3e add note for weird code 2017-09-30 16:49:05 +02:00
TomasVotruba
d4c1e174d8 cleanup 2017-09-30 16:47:14 +02:00
TomasVotruba
e1856b17a9 fix tests 2017-09-30 16:46:27 +02:00
TomasVotruba
74bb999f49 fix cs 2017-09-30 16:45:30 +02:00
TomasVotruba
1adea347b3 make test pass 2017-09-30 16:18:28 +02:00
TomasVotruba
50477e0a60 move CurrentFileProvider to NodeTraverserQueue 2017-09-30 16:15:59 +02:00
TomasVotruba
65d5bce779 remove resolved comment 2017-09-30 16:14:49 +02:00
TomasVotruba
0719022bc1 silence PHPStorm report 2017-09-30 16:14:32 +02:00
TomasVotruba
0077b96b07 add string property name patch 2017-09-30 16:14:20 +02:00
TomasVotruba
6eb46fb90f add CurrentFileProvider and CurrentFileAwareClassReflector 2017-09-30 16:11:03 +02:00
TomasVotruba
df6374c659 make it work 2017-09-30 15:45:13 +02:00
TomasVotruba
c53bbd2ece MagicMethodRector: improve 2017-09-30 15:28:49 +02:00
TomasVotruba
ddd03ebcda BetterReflection: add support for file locator 2017-09-30 15:25:04 +02:00
TomasVotruba
d0786f30b4 try nulling nodes 2017-09-30 01:19:36 +02:00
TomasVotruba
ed04ab161e try removing parentNode 2017-09-29 23:41:56 +02:00
TomasVotruba
0fac28fb92 unbug fix 2017-09-29 23:35:16 +02:00
TomasVotruba
87641e9e6f misc, keep MagicMethodRector running 2017-09-29 21:57:20 +02:00
TomasVotruba
a6f829fbba DocBlockAnalyzer: add support for specific content annotation 2017-09-29 18:13:40 +02:00
TomasVotruba
ac0d5bc340 MagicMethodRector: add remove @method annotation 2017-09-29 18:11:18 +02:00
TomasVotruba
abe0f5f2a3 NodeFactory: add BuilderHelpers note 2017-09-29 17:56:00 +02:00
TomasVotruba
ff91d0f556 add namespace to tests (more likely use case) 2017-09-29 17:55:24 +02:00
TomasVotruba
0b4a4cbea8 spaces 2017-09-29 17:55:07 +02:00
TomasVotruba
22fa108942 MagicMethodRector: use old @method detection from Nette\Object 2017-09-29 17:54:55 +02:00
TomasVotruba
5b98157388 add MethodBuilder 2017-09-29 17:54:22 +02:00
TomasVotruba
2f1da362c0 travis: disable xdebug when not needed 2017-09-29 17:17:40 +02:00
TomasVotruba
33a267c001 register MagicMethodRector to nette24.yml 2017-09-29 14:45:16 +02:00
TomasVotruba
a7ff0fa990 init MagicMethodRector 2017-09-29 14:44:46 +02:00
Tomáš Votruba
1e88ffe897 Merge pull request #53 from RectorPHP/reflection-function-bug
Fix loading of non-existing function [ref #48] + various improvements
2017-09-29 14:35:06 +02:00
TomasVotruba
afa9add179 composer: narrow tested directories 2017-09-29 14:34:44 +02:00
TomasVotruba
5c1d6e243a few fixes 2017-09-29 14:06:16 +02:00
TomasVotruba
c2d356f80d improve FileProcessingException report 2017-09-29 13:47:35 +02:00
TomasVotruba
1ede5556d0 add string class name patch 2017-09-29 13:45:56 +02:00
TomasVotruba
a8be450c83 PhpFileFinder: skip polyfill, not likely to be refactored 2017-09-29 13:06:34 +02:00
TomasVotruba
a6fdc22465 SymfonyContainerCallsAnalyzer fix 2017-09-29 13:03:59 +02:00
TomasVotruba
577ae7ff89 composer: install only non-dev requirements for test projects 2017-09-29 12:58:16 +02:00
TomasVotruba
1de5ba6176 composer: added test projects install script 2017-09-29 12:41:17 +02:00
TomasVotruba
ac4ac1e82c composer: add test scripts 2017-09-29 12:26:22 +02:00
TomasVotruba
ee7a8411c6 temp: add git keep 2017-09-29 12:25:56 +02:00
TomasVotruba
4495b84175 PhpFilesFinder: sort by name 2017-09-29 12:12:54 +02:00
TomasVotruba
b5dba8bf7e cs fixes, ignore stubs in PhpFileFinder 2017-09-29 12:10:52 +02:00
TomasVotruba
a63dfbbc8e use NodeTraverserFactory 2017-09-29 12:10:20 +02:00
TomasVotruba
869292a9dc NodeTraverserQueue: fix bare NodeTraverser 2017-09-29 12:08:25 +02:00
TomasVotruba
0855dabea3 ProcessCommand: cleanup 2017-09-28 23:29:12 +02:00
TomasVotruba
31398e2f3d lower complexity 2017-09-28 23:26:29 +02:00
TomasVotruba
1f1ea6e9f6 decouple PhpFilesFinder 2017-09-28 23:22:42 +02:00
TomasVotruba
51933de2d5 NodeTraverserQueue: throw file-specific exception on fail 2017-09-28 23:18:38 +02:00
TomasVotruba
4c9b81eaca composer: add set test shortcuts 2017-09-28 22:53:08 +02:00
TomasVotruba
7a02433d3a travis: add symfony/symfony-demo 2017-09-28 22:49:54 +02:00
TomasVotruba
ae81c9feb4 TypeResolver: fix for variable name 2017-09-28 22:43:18 +02:00
TomasVotruba
eba983373c ProcessCommand: use Symfony\Finder, exclude tests 2017-09-28 22:38:12 +02:00