1006 Commits

Author SHA1 Message Date
Tomas Votruba
5e08ebc29a merge NodeTraverserQueue to Application 2018-08-15 15:50:02 +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
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
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
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
Tomas Votruba
8a5235293d [Silverstripe] Add ConstantToStaticCallRector 2018-08-12 20:23:39 +02:00
Tomas Votruba
cdaa7d33be [Silverstripe] Add DefineConstantToStaticCallRector [ref #535] 2018-08-12 14:59:32 +02:00
Tomáš Votruba
9cf3134b92
Merge pull request #567 from rectorphp/update-type-resolver
Improve NodeTypeResolver decoupling
2018-08-10 19:12:00 +02:00
Tomas Votruba
5f82f775aa add .travis.yml to subpackage 2018-08-10 18:56:20 +02:00
Tomas Votruba
1c38169690 decrease complexity of NodeScopeResolver 2018-08-10 17:17:09 +02:00
Tomas Votruba
0685ece179 move responsibility to NodeDecorators and use glue in MetadataNodeVisitor only 2018-08-10 16:45:27 +02:00
Tomas Votruba
009e6ebf03 fix NodeVisitors suffixes 2018-08-10 16:45:27 +02:00
Tomas Votruba
b5a3333c5e README: add compiler pass + inspiration 2018-08-10 16:45:27 +02:00
Tomas Votruba
e44a887f73 decouple Scope to TypeAttribute for better NodeTypeResolver usage 2018-08-10 16:45:27 +02:00
Tomas Votruba
b38c7b5272 decouple metadata attributes to MetadataAttributes for better NodeTypeResolver decoupling 2018-08-10 16:45:27 +02:00
Tomas Votruba
0acd7d3a75 update README 2018-08-10 12:25:46 +02:00
Tomas Votruba
9182a5f770 Rename METHOD_CALL to METHOD_CALL_NAME, improve README 2018-08-10 11:28:34 +02:00
Tomas Votruba
2342219033 [NodeTypeResolver] prepare for standalone release 2018-08-10 08:35:21 +02:00
Tomas Votruba
3abdb80921 Fix interface suffix property naming, resolve to parent interface if not accessible 2018-08-09 14:51:17 +02:00
Tomas Votruba
4b9750b399 Keep publish CompilerPass 2018-08-09 12:17:26 +02:00
Tomas Votruba
9ba461f98c fixup! Fix Symfony ContainerFactory 2018-08-09 12:15:55 +02:00
Tomas Votruba
847fe92738 Fix Symfony ContainerFactory 2018-08-09 12:15:50 +02:00
Tomas Votruba
4f9f86900c fixup! fix variable override 2018-08-09 12:06:50 +02:00
Tomas Votruba
98281b8b8e fix variable override 2018-08-09 12:05:05 +02:00