-
Notifications
You must be signed in to change notification settings - Fork 3
/
rector.yml
17 lines (16 loc) · 967 Bytes
/
rector.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# rector.yaml
parameters:
import_short_classes: false # this will not import root namespace classes, like \DateTime or \Exception
import_doc_blocks: false # this will not import classes used in PHP DocBlocks, like in /** @var \Some\Class */
autoload_paths:
- '_lib/autoload.php'
services:
Rector\TypeDeclaration\Rector\Closure\AddClosureReturnTypeRector: ~
Rector\TypeDeclaration\Rector\FunctionLike\ReturnTypeDeclarationRector: ~
Rector\TypeDeclaration\Rector\Property\PropertyTypeDeclarationRector: ~
Rector\CodeQuality\Rector\Class_\CompleteDynamicPropertiesRector: ~
Rector\TypeDeclaration\Rector\Property\CompleteVarDocTypePropertyRector: ~
Rector\TypeDeclaration\Rector\ClassMethod\AddArrayParamDocTypeRector: ~
Rector\TypeDeclaration\Rector\ClassMethod\AddArrayReturnDocTypeRector: ~
Rector\TypeDeclaration\Rector\ClassMethod\AddParamTypeDeclarationRector: ~
Rector\TypeDeclaration\Rector\FunctionLike\ParamTypeDeclarationRector: ~