diff --git a/composer.json b/composer.json index 3334194..dddb504 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,6 @@ "require": { "php": ">=7.4", "friendsofphp/php-cs-fixer": "v3.75.0", - "adamwojs/php-cs-fixer-phpdoc-force-fqcn": "^2.0", "composer-runtime-api": ">=2.0" }, "require-dev": { diff --git a/src/lib/PhpCsFixer/Sets/AbstractIbexaRuleSet.php b/src/lib/PhpCsFixer/Sets/AbstractIbexaRuleSet.php index 079b8fb..8cead75 100644 --- a/src/lib/PhpCsFixer/Sets/AbstractIbexaRuleSet.php +++ b/src/lib/PhpCsFixer/Sets/AbstractIbexaRuleSet.php @@ -8,7 +8,6 @@ namespace Ibexa\CodeStyle\PhpCsFixer\Sets; -use AdamWojs\PhpCsFixerPhpdocForceFQCN\Fixer\Phpdoc\ForceFQCNFixer; use Ibexa\CodeStyle\PhpCsFixer\Rule\MultilineParametersFixer; use PhpCsFixer\Config; @@ -26,7 +25,6 @@ public function getRules(): array { return [ '@PSR12' => false, - 'AdamWojs/phpdoc_force_fqcn_fixer' => true, 'Ibexa/multiline_parameters' => true, 'array_syntax' => [ 'syntax' => 'short', @@ -206,7 +204,7 @@ public function getRules(): array public function buildConfig(): Config { $config = new Config(); - $config->registerCustomFixers([new ForceFQCNFixer(), new MultilineParametersFixer()]); + $config->registerCustomFixers([new MultilineParametersFixer()]); $config->setRules(array_merge( $config->getRules(), diff --git a/tests/lib/PhpCsFixer/Sets/expected_rules/4_6_rule_set/local_rules.php b/tests/lib/PhpCsFixer/Sets/expected_rules/4_6_rule_set/local_rules.php index 53a74b5..116705e 100644 --- a/tests/lib/PhpCsFixer/Sets/expected_rules/4_6_rule_set/local_rules.php +++ b/tests/lib/PhpCsFixer/Sets/expected_rules/4_6_rule_set/local_rules.php @@ -10,7 +10,6 @@ return [ '@PSR12' => false, - 'AdamWojs/phpdoc_force_fqcn_fixer' => true, 'array_syntax' => [ 'syntax' => 'short', ], diff --git a/tests/lib/PhpCsFixer/Sets/expected_rules/4_6_rule_set/php_cs_fixer_rules.php b/tests/lib/PhpCsFixer/Sets/expected_rules/4_6_rule_set/php_cs_fixer_rules.php index 700bc04..23754f0 100644 --- a/tests/lib/PhpCsFixer/Sets/expected_rules/4_6_rule_set/php_cs_fixer_rules.php +++ b/tests/lib/PhpCsFixer/Sets/expected_rules/4_6_rule_set/php_cs_fixer_rules.php @@ -43,7 +43,6 @@ 'switch_case_space' => true, 'encoding' => true, 'full_opening_tag' => true, - 'AdamWojs/phpdoc_force_fqcn_fixer' => true, 'array_syntax' => [ 'syntax' => 'short', ], diff --git a/tests/lib/PhpCsFixer/Sets/expected_rules/5_0_rule_set/local_rules.php b/tests/lib/PhpCsFixer/Sets/expected_rules/5_0_rule_set/local_rules.php index f0685d5..503278d 100644 --- a/tests/lib/PhpCsFixer/Sets/expected_rules/5_0_rule_set/local_rules.php +++ b/tests/lib/PhpCsFixer/Sets/expected_rules/5_0_rule_set/local_rules.php @@ -11,7 +11,6 @@ return [ '@PER-CS2.0' => true, '@PSR12' => false, - 'AdamWojs/phpdoc_force_fqcn_fixer' => true, 'array_syntax' => [ 'syntax' => 'short', ], diff --git a/tests/lib/PhpCsFixer/Sets/expected_rules/5_0_rule_set/php_cs_fixer_rules.php b/tests/lib/PhpCsFixer/Sets/expected_rules/5_0_rule_set/php_cs_fixer_rules.php index e4b9f51..dfce38e 100644 --- a/tests/lib/PhpCsFixer/Sets/expected_rules/5_0_rule_set/php_cs_fixer_rules.php +++ b/tests/lib/PhpCsFixer/Sets/expected_rules/5_0_rule_set/php_cs_fixer_rules.php @@ -56,7 +56,6 @@ 'switch_case_space' => true, 'encoding' => true, 'full_opening_tag' => true, - 'AdamWojs/phpdoc_force_fqcn_fixer' => true, 'array_syntax' => [ 'syntax' => 'short', ],