148 Commits

Author SHA1 Message Date
Tomas Votruba
f0fdc8e410 remove unused methods 2018-10-15 14:36:25 +08:00
Tomas Votruba
0e33b525fe Remove unused methods 2018-10-15 14:36:25 +08:00
Tomas Votruba
9b569f6c44 make use of TypeAnalyzerTrait 2018-10-15 08:14:21 +08:00
Tomas Votruba
dee5c4e427 [ContributorTools] Add CreateRectorCommand 2018-10-14 15:29:56 +08:00
Tomas Votruba
0934960e6d make use of CallAnalyzer to prevent Var string errors with non-string funciton and method call names 2018-10-13 23:13:13 +08:00
Tomas Votruba
0fe2624033 composer: bump phpstan-strict-rules 2018-10-13 00:59:06 +08:00
Tomas Votruba
2b2049c923 [PHP] Add ArrayKeyFirstLastRector 2018-10-11 14:17:41 +08:00
Tomas Votruba
7fd2d119c0 bump to php-parser 4.1 2018-10-10 23:17:55 +08:00
Tomas Votruba
39c9c6982a [PHP] Add EregToPregMatchRector 2018-10-09 13:05:50 +08:00
Tomas Votruba
658cef5fc2 [PHP] Add MultiExceptionCatchRector 2018-10-08 12:52:26 +08:00
Tomas Votruba
4fd1e19113 [PHP] Add ListSplitStringRector 2018-10-07 19:56:07 +08:00
Tomas Votruba
318f5b30f8 [NodeTraverser] Apply array param autowire 2018-10-06 23:21:07 +08:00
Tomas Votruba
bca4d5eadc Use AutowireArrayParameterCompilerPass 2018-10-06 23:21:07 +08:00
Tomas Votruba
7d989cd58f [NodeTypeResolver] Unwrap standalone usage, not working and ContainerFactory is better approach ATM 2018-10-06 10:19:57 +08:00
Tomas Votruba
31f6649908 Add TolerantRectorYamlFileLoader 2018-10-06 09:26:35 +08:00
Tomas Votruba
02dc77215e make use of ConfigurableCollector 2018-10-03 20:30:23 +08:00
Tomas Votruba
1d22c76638 fix static 2018-10-01 01:49:23 +08:00
Tomas Votruba
488ef3b40a init MultipleClassFileToPsr4ClassesRector 2018-09-29 00:12:35 +08:00
Tomas Votruba
75f2611722 use symplify/phpstan-extensions 2018-09-28 01:29:27 +08:00
Tomas Votruba
0f709a66d5 static fixes 2018-09-26 19:41:53 +08:00
Tomas Votruba
2b3c3b60d9 extend cakephp34 level 2018-09-26 19:34:03 +08:00
Tomas Votruba
db385652c8 add SplFileInfo->getRealPath() custom type provider for PHPStan to save many irelevant reports 2018-09-21 07:50:14 +02:00
Tomas Votruba
f07480c773 apply thecodingmachine/safe 2018-09-21 07:50:14 +02:00
Tomas Votruba
316830f50c MethodNameReplacerRector - fix variable type of identifier 2018-09-16 19:30:17 +02:00
Tomas Votruba
cba00b618e bump to Symplify 5.0 stable 2018-09-15 20:52:08 +02:00
Tomas Votruba
b10617c4c1 few annotations 2018-09-15 20:52:08 +02:00
Tomas Votruba
a11f9f98e1 add expectExceptionMessageRegExp support 2018-08-31 14:45:57 +02:00
Tomas Votruba
f2cfaa8c96 init TryCatchToExpectExceptionRector 2018-08-31 01:41:32 +02:00
Tomas Votruba
5817e17234 Add 'exclude_paths' option to exclude files or directories [closes #609] 2018-08-29 23:05:49 +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
b9c9005d78 manual update 2018-08-15 11:11:15 +02:00
Tomas Votruba
87a5cf6ed7 fix tests - remove .inc 2018-08-14 13:32:40 +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
1ef798f215 make use of factory to drop NodeTypeResolverCollectorCompilerPass 2018-08-13 18:17:34 +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
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
3abdb80921 Fix interface suffix property naming, resolve to parent interface if not accessible 2018-08-09 14:51:17 +02:00
Tomas Votruba
2a67452445 static fixes 2018-08-09 10:03:18 +02:00
Tomas Votruba
ac1ca7dfda make PHPStan service part of Rector container 2018-08-06 14:05:44 +02:00
Tomas Votruba
72353aed25 remove unused ConstructorPropertyTypesExtractor 2018-08-06 12:35:26 +02:00
Tomas Votruba
ffb62b6185 Symfony Rectors fixes 2018-08-06 12:35:26 +02:00
Tomas Votruba
b2eae61cb6 fix classReflection resolving for Class_ 2018-08-06 12:35:26 +02:00
Tomas Votruba
a5f44c997d use service type resolving over global one 2018-08-06 12:35:26 +02:00
Tomas Votruba
3e27db2411 use service type resolving over global one 2018-08-06 12:35:26 +02:00
Tomas Votruba
65a0b5bed3 fix too soon name resolving 2018-08-06 12:35:26 +02:00
Tomas Votruba
078ef36d2e static and cs fixes 2018-08-06 12:35:26 +02:00