forked from phth/bzga_beratungsstellensuche
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrector.yaml
More file actions
21 lines (20 loc) · 1.12 KB
/
rector.yaml
File metadata and controls
21 lines (20 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# my_config.yaml
parameters:
# FQN classes are not imported by default. If you don't to do do it manually after every Rector run, enable it by:
auto_import_names: true
# this will not import root namespace classes, like \DateTime or \Exception
import_short_classes: false
# this will not import classes used in PHP DocBlocks, like in /** @var \Some\Class */
import_doc_blocks: false
php_version_features: '7.2'
imports:
#- { resource: '.Build/vendor/ssch/typo3-rector/config/services.yaml' }
#- { resource: '.Build/vendor/ssch/typo3-rector/config/typo3-90.yaml' }
#- { resource: '.Build/vendor/ssch/typo3-rector/config/typo3-93.yaml' }
#- { resource: '.Build/vendor/ssch/typo3-rector/config/typo3-94.yaml' }
#- { resource: '.Build/vendor/ssch/typo3-rector/config/typo3-95.yaml' }
services:
Rector\TypeDeclaration\Rector\FunctionLike\ReturnTypeDeclarationRector: ~
Rector\TypeDeclaration\Rector\Property\PropertyTypeDeclarationRector: ~
Rector\TypeDeclaration\Rector\FunctionLike\ParamTypeDeclarationRector: ~
# Ssch\TYPO3Rector\Rector\Fluid\ViewHelpers\MoveRenderArgumentsToInitializeArgumentsMethodRector: ~