Skip to content

Commit 5517a77

Browse files
authored
Dropped FQCN rule (#15)
1 parent 329dc21 commit 5517a77

File tree

6 files changed

+1
-8
lines changed

6 files changed

+1
-8
lines changed

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"require": {
1616
"php": ">=7.4",
1717
"friendsofphp/php-cs-fixer": "v3.75.0",
18-
"adamwojs/php-cs-fixer-phpdoc-force-fqcn": "^2.0",
1918
"composer-runtime-api": ">=2.0"
2019
},
2120
"require-dev": {

src/lib/PhpCsFixer/Sets/AbstractIbexaRuleSet.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
namespace Ibexa\CodeStyle\PhpCsFixer\Sets;
1010

11-
use AdamWojs\PhpCsFixerPhpdocForceFQCN\Fixer\Phpdoc\ForceFQCNFixer;
1211
use Ibexa\CodeStyle\PhpCsFixer\Rule\MultilineParametersFixer;
1312
use PhpCsFixer\Config;
1413

@@ -26,7 +25,6 @@ public function getRules(): array
2625
{
2726
return [
2827
'@PSR12' => false,
29-
'AdamWojs/phpdoc_force_fqcn_fixer' => true,
3028
'Ibexa/multiline_parameters' => true,
3129
'array_syntax' => [
3230
'syntax' => 'short',
@@ -206,7 +204,7 @@ public function getRules(): array
206204
public function buildConfig(): Config
207205
{
208206
$config = new Config();
209-
$config->registerCustomFixers([new ForceFQCNFixer(), new MultilineParametersFixer()]);
207+
$config->registerCustomFixers([new MultilineParametersFixer()]);
210208

211209
$config->setRules(array_merge(
212210
$config->getRules(),

tests/lib/PhpCsFixer/Sets/expected_rules/4_6_rule_set/local_rules.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
return [
1212
'@PSR12' => false,
13-
'AdamWojs/phpdoc_force_fqcn_fixer' => true,
1413
'array_syntax' => [
1514
'syntax' => 'short',
1615
],

tests/lib/PhpCsFixer/Sets/expected_rules/4_6_rule_set/php_cs_fixer_rules.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
'switch_case_space' => true,
4444
'encoding' => true,
4545
'full_opening_tag' => true,
46-
'AdamWojs/phpdoc_force_fqcn_fixer' => true,
4746
'array_syntax' => [
4847
'syntax' => 'short',
4948
],

tests/lib/PhpCsFixer/Sets/expected_rules/5_0_rule_set/local_rules.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
return [
1212
'@PER-CS2.0' => true,
1313
'@PSR12' => false,
14-
'AdamWojs/phpdoc_force_fqcn_fixer' => true,
1514
'array_syntax' => [
1615
'syntax' => 'short',
1716
],

tests/lib/PhpCsFixer/Sets/expected_rules/5_0_rule_set/php_cs_fixer_rules.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
'switch_case_space' => true,
5757
'encoding' => true,
5858
'full_opening_tag' => true,
59-
'AdamWojs/phpdoc_force_fqcn_fixer' => true,
6059
'array_syntax' => [
6160
'syntax' => 'short',
6261
],

0 commit comments

Comments
 (0)