282 Commits

Author SHA1 Message Date
Tomas Votruba
8b6331bc01 add AbstarctPriorityAwareTypeInferer 2019-09-02 10:47:09 +02:00
Tomas Votruba
e466a14616 add removeNodeFromStatements() method to remove statement by key easily 2019-08-31 10:44:41 +02:00
Tomas Votruba
e6de2a7d38 add Sensio TemplateTagValueNode 2019-08-30 09:56:56 +02:00
Tomas Votruba
93a71ce302 rename level to set to prevent confusion of duplicate 2019-08-29 22:50:37 +02:00
Tomas Votruba
a9931f2e7b [phpstan] remove extra errors 2019-08-28 12:04:33 +02:00
Tomas Votruba
51021de0a6 skip relation mirroring if target entity does not have uuid property 2019-08-28 12:02:33 +02:00
Tomas Votruba
bb73e893de [DoctrinePhpDocParser] Add relation tags and join column 2019-08-27 12:53:29 +02:00
Tomas Votruba
faaf605e19 update DoctrineColumnPropertyTypeInferer to work with doctrine annotation nodes 2019-08-26 21:58:01 +02:00
Tomas Votruba
42cbfd8905 [BetterPhpDocParser] Add support for parsing Doctrine annotations 2019-08-26 21:52:16 +02:00
Tomas Votruba
97db6114e7 cleanup phpstan errors 2019-08-19 16:52:02 +02:00
Tomas Votruba
03a5e8ae4e fix phpstan 0.11.14 compat 2019-08-17 15:33:45 +02:00
Tomas Votruba
70665ccad6 skip nested function returns 2019-08-17 14:59:10 +02:00
Tomas Votruba
1f9f5c7e0d add PHPUnitEnvironment 2019-08-10 13:11:22 +02:00
Tomas Votruba
6000b30369 [DeadCode] Add RemoveSetterOnlyPropertyAndMethodCallRector 2019-08-06 12:50:53 +02:00
Tomas Votruba
a4302b44be Improve trait node scope resolving 2019-08-05 21:13:37 +02:00
Tomas Votruba
9145e6685f composer: require nette/di to allow phpstan extension with Reference class 2019-08-05 16:50:34 +02:00
Tomas Votruba
d22f3d009c trait resolving can work with missing vendor parent class 2019-08-05 14:57:29 +02:00
Tomas Votruba
72b91209c7 [DeadCode] Add RemoveUnusedDoctrineEntityMethodAndPropertyRector 2019-08-04 23:39:48 +02:00
Tomas Votruba
02463d2bc3 cleanup phpstan errors 2019-08-04 20:49:03 +02:00
Tomas Votruba
9410c0039e add iterable return type for yield values in ReturnTypeDeclarationRector 2019-08-04 13:05:40 +02:00
Tomas Votruba
bc34d7895a set kernel and dummy id parameter to app symfony container 2019-07-30 13:27:08 +02:00
Tomas Votruba
4596d656b7 [CodingStyle] Add ManualJsonStringToJsonEncodeArrayRector 2019-07-24 16:28:32 +02:00
Tomas Votruba
dcb9c88e51 [SymfonyCodeQuality] Add EventListenerToEventSubscriberRector 2019-07-22 21:20:16 +02:00
Ravan Scafi
f33531b878
Fix tests according to review and a few typos 2019-07-09 11:27:55 -03:00
Tomas Votruba
57602fc3a9 fix new phpstan reports 2019-07-04 12:29:37 +03:00
Tomas Votruba
82a379dc2b fix InjectAnnotationClassRector for @var case 2019-07-02 17:07:11 +02:00
Tomas Votruba
6c0564a337 Add --rule option to process only single rule from set 2019-06-23 13:05:37 +02:00
Tomas Votruba
78ff3533db [DeadCode] Add RemoveZeroAndOneBinaryRector 2019-06-10 00:39:10 +02:00
Tomas Votruba
c59a014be5 fix static 2019-06-04 18:28:01 +03:00
Tomas Votruba
4b7376031c cleanup static 2019-05-28 22:48:57 +02:00
Tomas Votruba
bc4da3b79a fix incompatibilites 2019-05-28 20:11:19 +02:00
Tomas Votruba
cc2b9df06d [Legacy] Add ChangeSingletonToServiceRector 2019-05-26 18:35:20 +02:00
Tomas Votruba
0735925796 [SOLID] Add AbstractChildlessUnusedClassesRector 2019-05-26 14:24:23 +02:00
Tomas Votruba
f0e86b25bf introduce OutputFormatterCollector to allow extension of output formatters 2019-05-25 20:34:10 +02:00
Tomas Votruba
c0415f9216 do not override printing files with previous stmts if possible 2019-05-23 22:07:25 +02:00
Tomas Votruba
7c6c6aaa45 [Psr4] Add supprot for namespace less MultipleClassFileToPsr4ClassesRector 2019-05-23 08:09:28 +02:00
Tomas Votruba
53cd941dcd refactor ImportFullyQualifiedNamesRector to allow non-namespaced elements 2019-05-22 17:33:51 +02:00
Tomas Votruba
66b9b6dde2 Narrow ArraySpreadInsteadOfArrayMergeRector to numeric-arrays only 2019-05-19 11:43:08 +02:00
Tomas Votruba
ee1f606827 [CodeQuality] Add ForToForeachRector 2019-05-19 01:02:19 +02:00
Tomas Votruba
e2fba5c6fd [PHP 7.4] Add array spread operator 2019-05-16 01:37:12 +02:00
Tomas Votruba
83f527d571 use stable php-parser with arrow functoin 2019-05-11 15:07:00 +02:00
Tomas Votruba
83d2219ca7 [TypeDeclaration] Add AddFunctionReturnTypeRector 2019-05-10 14:55:55 +02:00
Tomas Votruba
45940ade54 use phpstan 0.11.6 2019-05-10 12:39:37 +02:00
Tomas Votruba
de331920c8 fix CallableThisArrayToAnonymousFunctionRector for empty first item in array 2019-05-07 15:52:19 +02:00
Tomas Votruba
e38feaf055 decouple FlowOfControlLocator 2019-05-07 14:41:11 +02:00
Tomas Votruba
dde57cc931 phpstan: remove unmatched errors 2019-04-29 07:20:23 +02:00
Tomas Votruba
71f1af830c [tests] Refactor tests to use container just once, if not enforced config 2019-04-29 00:36:52 +02:00
Tomas Votruba
d87837ad47 [RemovingStatic] Add StaticTypeToSetterInjectionRector 2019-04-25 16:45:09 +02:00
Tomas Votruba
0973ceb8be apply import on packages 2019-04-17 22:28:45 +02:00
Tomas Votruba
9dab3a1e67 merge class, trait and function collecting together 2019-04-14 01:08:44 +02:00