1181 Commits

Author SHA1 Message Date
Tomas Votruba
f4fb5a2529 surround string with # 2018-08-31 14:45:57 +02:00
Tomas Votruba
a11f9f98e1 add expectExceptionMessageRegExp support 2018-08-31 14:45:57 +02:00
Tomas Votruba
6b4c049b3a add test cases for exception code and multiple lines in try 2018-08-31 14:17:49 +02:00
Tomas Votruba
03ae776833 decouple isThisMethodCallWithNames() to MethodCallAnalyzer 2018-08-31 14:08:59 +02:00
Tomas Votruba
f2cfaa8c96 init TryCatchToExpectExceptionRector 2018-08-31 01:41:32 +02:00
Tomas Votruba
8b36e42058 add rector/utils to NodeTypeResolver deps 2018-08-30 23:07:51 +02:00
Tomas Votruba
aadf95ea24 indent yaml 2018-08-30 23:07:40 +02:00
Tomas Votruba
010a55a261 decouple FilesystemTweaker 2018-08-30 22:45:06 +02:00
Tomas Votruba
1c51f5d9bf allow loading --config and --level together [closes #613] 2018-08-30 22:23:51 +02:00
Tomas Votruba
8c41f00ac7 cleanups 2018-08-29 23:05:49 +02:00
Tomas Votruba
ba5385cea1 simplify classes map 2018-08-29 19:10:29 +02:00
Tomas Votruba
dba8a478af add case with already callback 2018-08-29 19:04:21 +02:00
Tomas Votruba
8e88fd24b1 extends SimpleFunctionRector to SimpleFilter as well 2018-08-29 16:05:12 +02:00
Tomas Votruba
edb7c44483 add twig112 set 2018-08-29 14:52:27 +02:00
Tomas Votruba
e56dc665fe [Twig] Add SimpleFunctionRector [closes #599] 2018-08-29 14:42:26 +02:00
Tomas Votruba
e09bfd06b7 add File suffix and specific variable content case 2018-08-29 12:17:33 +02:00
Tomas Votruba
9f2dbb7822 add support for various quotes 2018-08-29 12:05:29 +02:00
Tomas Votruba
ae994a0efd [Symfony] Add ParseFileRector [closes #600] 2018-08-28 18:27:13 +02:00
Tomas Votruba
933e818cab [NodeTypeResolver] fix loading of external config when installed as dependency 2018-08-21 18:09:39 +02:00
Tomas Votruba
e6f66a726b revert removed Autowire-Public-Default compiler passes, they were messy 2018-08-21 00:28:20 +02:00
Tomas Votruba
9479f2a6dd fix InterfaceTypeResolver cover 2018-08-16 12:15:18 +02:00
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
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