diff --git a/.php-cs-fixer.php-lowest.php b/.php-cs-fixer.php-lowest.php index c7b02eacfc3..0b10a39d3e7 100644 --- a/.php-cs-fixer.php-lowest.php +++ b/.php-cs-fixer.php-lowest.php @@ -33,6 +33,13 @@ $config->setRules([ 'phpdoc_to_param_type' => true, 'phpdoc_to_return_type' => true, + 'phpdoc_to_property_type' => [ + 'types_map' => [ + 'TFixerInputConfig' => 'array', + 'TFixerComputedConfig' => 'array', + 'TFixer' => '\PhpCsFixer\AbstractFixer', + ], + ], ]); return $config; diff --git a/tests/Fixer/ControlStructure/YodaStyleFixerTest.php b/tests/Fixer/ControlStructure/YodaStyleFixerTest.php index b20621ff887..7e8a11c387a 100644 --- a/tests/Fixer/ControlStructure/YodaStyleFixerTest.php +++ b/tests/Fixer/ControlStructure/YodaStyleFixerTest.php @@ -15,7 +15,6 @@ namespace PhpCsFixer\Tests\Fixer\ControlStructure; use PhpCsFixer\ConfigurationException\InvalidFixerConfigurationException; -use PhpCsFixer\FixerDefinition\FixerDefinitionInterface; use PhpCsFixer\Tests\Test\AbstractFixerTestCase; /**