166 Commits

Author SHA1 Message Date
Tomas Votruba
8cce043697 make use of BinaryOpMaintainer 2018-11-07 01:24:44 +01:00
Tomas Votruba
082864b772 fix SimplifyEmptyArrayCheckRector for non-empty cases 2018-11-07 01:07:31 +01:00
Tomas Votruba
7deeab99ec merge ClassLikeMaintainer + ClassDependencyMaintaienr to ClassMaintainer 2018-11-04 20:13:03 +01:00
Tomas Votruba
1d56621757 move Builder under PhpParser\Node namespace 2018-11-04 19:06:27 +01:00
Tomas Votruba
aaf409eed2 move php-parser related code under PhpParser namespace, add Maintainer type for services reading/writing to nodes 2018-11-04 02:17:02 +01:00
Tomas Votruba
058c7d8c56 move PropertyFetchNodeFactory to NodeFactoryTrait 2018-11-03 23:05:29 +01:00
Tomas Votruba
d71d6a1f12 make use of NodeFactoryTrait 2018-11-03 21:53:08 +01:00
Tomas Votruba
075707447a [Symfony] Add FormTypeInstanceToClassConstRector 2018-10-24 12:06:35 +02:00
Tomas Votruba
9374604bc2 Improve MethodNameReplacerRector 2018-10-22 19:40:27 +02:00
Tomas Votruba
09027d06eb resolve phpstan reports 2018-10-22 18:02:36 +02:00
Tomas Votruba
f823f2a50c [Arguments] Refactor to constistent config 2018-10-22 00:16:41 +02:00
Tomas Votruba
486f7f4b64 [PHPUnit] Add SimplifyForeachInstanceOfRector 2018-10-21 13:17:20 +02:00
Tomas Votruba
a2c0fd23b1 fix new phpstan reports 2018-10-21 10:53:32 +02:00
Tomas Votruba
f02c5810ab Add var fallback to JmsInjectAnnotationRector 2018-10-19 08:04:16 +02:00
Tomas Votruba
c5970494c3 phpstan: disable reporting of old errors 2018-10-19 08:04:16 +02:00
Tomas Votruba
4faa1425c8 [PHP] Add BarewordStringRector 2018-10-17 10:16:32 +02:00
Tomas Votruba
a7afe1fed9 [CodeQuality] Add SimplifyFalseComparisonToNegateRector 2018-10-15 21:47:46 +08:00
Tomas Votruba
5deb94f9ff unite refactor(node) naming to node, to make clear the main argument name 2018-10-15 14:45:34 +08:00
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