3384 Commits

Author SHA1 Message Date
Tomas Votruba
c1bec276ee cleanup NodeScopeResolver 2018-08-16 12:15:18 +02:00
Tomas Votruba
7c28548ddc split MetadtaNodeVisitor to standalone visitors 2018-08-16 12:13:47 +02:00
Tomas Votruba
7034da6ae6 set files just once 2018-08-16 12:13:47 +02:00
Tomas Votruba
1addbc394d decrase traverse time 2018-08-16 12:13:47 +02:00
Tomas Votruba
61fb1c7541 naming + cache result of FilesFinder 2018-08-16 12:13:47 +02:00
Gabriel Caruso
e9ecb32358
Merge pull request #584 from rectorphp/rector-self
Rector itself - merge isCandidate() to refactor() + add getNodeType()
2018-08-15 20:59:56 -03:00
Tomas Votruba
5a757be2b3 update README 2018-08-15 16:10:47 +02:00
Tomas Votruba
3758719d27 over zero 2018-08-15 15:56:11 +02:00
Tomas Votruba
5e08ebc29a merge NodeTraverserQueue to Application 2018-08-15 15:50:02 +02:00
Tomas Votruba
63928c59f8 move MergeIsCandidateRector to examples 2018-08-15 11:11:15 +02:00
Tomas Votruba
b9c9005d78 manual update 2018-08-15 11:11:15 +02:00
Tomas Votruba
ff4315b0d3 Apply MergeIsCandidateRector on Rectro code 2018-08-15 11:11:15 +02:00
Tomas Votruba
a22ddbf3a2 Add MergeIsCandidateRector 2018-08-14 23:19:51 +02:00
Tomáš Votruba
b12d7a9880
Merge pull request #583 from rectorphp/phpdoc
merge BetterPhpDocParser to NodeTypeResolver
2018-08-14 13:50:21 +02:00
Tomas Votruba
44e5cf4adf fix cs 2018-08-14 13:44:33 +02:00
Tomas Votruba
2ed6644e62 remove comment 2018-08-14 13:41:23 +02:00
Tomas Votruba
472bc9d55b cleanup 2018-08-14 13:38:56 +02:00
Tomas Votruba
87a5cf6ed7 fix tests - remove .inc 2018-08-14 13:32:40 +02:00
Tomas Votruba
d8b430ff72 split ValueObjectRemoverDocBlockRector 2018-08-14 13:29:14 +02:00
Tomas Votruba
f53e9c2127 cleanup 2018-08-14 13:29:14 +02:00
Tomas Votruba
af316e4918 merge MetadataAttribute, TypeAttribute and Attribute to single Attribute 2018-08-14 13:29:14 +02:00
Tomas Votruba
f9b997ec6c cleanup 2018-08-14 13:29:10 +02:00
Tomas Votruba
45ca92729d symplify PropertyTypeResolver 2018-08-14 13:28:46 +02:00
Tomas Votruba
d91cf73b01 add /NodeTypeResolverAwareInterface 2018-08-13 23:25:44 +02:00
Tomas Votruba
0a127e7974 [NodeTypeResolver] Add test for property 2018-08-13 23:24:23 +02:00
Tomas Votruba
5571f83bf3 merge BetterPhpDocParser to NodeTypeResolver, add config.yml for each package and load it by default 2018-08-13 21:59:28 +02:00
Tomáš Votruba
5de8b58bea
Merge pull request #582 from rectorphp/node-type-resolver-tests
[NodeTypeResolver] Add standalone tests
2018-08-13 21:09:59 +02:00
Tomas Votruba
278d758d01 [Utils] Add PhpParser\NodeFinder to services 2018-08-13 20:50:17 +02:00
Tomas Votruba
9a087b3565 [NodeTypeResolver] Move Container to src, so it can be used in standalone code 2018-08-13 20:45:58 +02:00
Tomas Votruba
8dc06a625f improve README 2018-08-13 20:45:58 +02:00
Tomas Votruba
c09cbb6001 move BetterNodeFinder to Utils package 2018-08-13 20:45:58 +02:00
Tomas Votruba
3837cfbacd [NodeTypeResolver] Prepare standalone test battery 2018-08-13 20:45:58 +02:00
Tomáš Votruba
64e94190e8
Merge pull request #581 from rectorphp/node-type-resolver
Remove currentFileProvider [closes #577]
2018-08-13 19:29:13 +02:00
Tomas Votruba
74fce7ed2f rename decorateNodesAndFile() to more clear decorateNodesFromFile() 2018-08-13 18:51:36 +02:00
Tomas Votruba
745476cc52 improve travis build 2018-08-13 18:20:18 +02:00
Tomas Votruba
1ef798f215 make use of factory to drop NodeTypeResolverCollectorCompilerPass 2018-08-13 18:17:34 +02:00
Tomas Votruba
3d5e97ba7d use file path over SplFileInfo for better usability 2018-08-13 18:17:34 +02:00
Tomas Votruba
ffcd1671a3 move ParentAndNextNodeAddingNodeVisitor under NodeTypeResolver 2018-08-13 18:17:34 +02:00
Tomas Votruba
075852d110 move responsbility to NodeScopeAndMetadataDecorator 2018-08-13 18:17:34 +02:00
Tomas Votruba
eca7a256eb remove NamespaceResolver check from NodeScopeResolver 2018-08-13 18:17:34 +02:00
Tomas Votruba
d01ca0fd40 merge StandaloneTraverseNodeTraverser to NodeTraverserQueue 2018-08-13 15:25:02 +02:00
Tomas Votruba
547378054a Add NodeScopeAndMetadataDecorator 2018-08-13 13:04:18 +02:00
Tomas Votruba
2136624f53 remove CurrentFileProvider 2018-08-13 12:59:30 +02:00
Tomáš Votruba
1a207a7ee3
Merge pull request #580 from rectorphp/fluent-separate
Make FluentRemoverRector and ReturnThisRemoveRector work without each other
2018-08-13 12:32:42 +02:00
Tomas Votruba
e12b99318d remove ClearedFluentMethodCollector 2018-08-13 12:25:11 +02:00
Tomas Votruba
930b7ba089 decouple FluentReplaceRector test and cleanup usage 2018-08-13 12:18:27 +02:00
Tomáš Votruba
31e1a90b20
Merge pull request #576 from rectorphp/fluent-configurable
Decouple ReturnThisRemoveRector
2018-08-13 12:00:19 +02:00
Tomas Votruba
8ebbae5658 add fluent removal to guzzle50.yml 2018-08-13 11:54:31 +02:00
Tomas Votruba
7e3f1bc273 Remove @return annotation as well 2018-08-13 11:54:31 +02:00
Tomas Votruba
4cbcded68e make ReturnThisRemoveRector configurable 2018-08-13 11:54:31 +02:00