Skip to content

Commit e482eca

Browse files
committed
Fix coding style
1 parent a6930e5 commit e482eca

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.php-cs-fixer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
'remove_inheritdoc' => true,
2828
'allow_unused_params' => false,
2929
],
30-
'no_trailing_comma_in_singleline_array' => true,
30+
'no_trailing_comma_in_singleline' => true,
3131
'no_unused_imports' => true,
3232
'ordered_imports' => ['imports_order' => ['class', 'function', 'const'], 'sort_algorithm' => 'alpha'],
3333
'phpdoc_add_missing_param_annotation' => ['only_untyped' => true],

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"test": [
7878
"@phpunit",
7979
"@phpstan",
80-
"@phpcs"
80+
"@phpcs:fix"
8181
]
8282
},
8383
"scripts-descriptions": {

src/Rules.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,6 @@ private function getPublicSuffixLengthFromSection(DomainName $domain, string $se
306306
// https://github.com/jeremykendall/php-domain-parser/issues/321
307307
// https://github.com/jeremykendall/php-domain-parser/issues/334
308308
if (self::PRIVATE_DOMAINS === $section && self::hasRemainingRuleLabels($rules)) {
309-
310309
$labelCount = 0;
311310
}
312311
break;

0 commit comments

Comments
 (0)