Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

Commit f661aa5

Browse files
author
danielbannert
committed
disable comment_to_phpdoc fixers, breaks CodeCoverageIgnore comments
moved overwriteRules variable call to the end
1 parent 9efb258 commit f661aa5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/Config.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public function getRules(): array
6060
],
6161
'phpdoc_no_empty_return' => false,
6262
'phpdoc_to_return_type' => true,
63+
'comment_to_phpdoc' => false,
6364
'blank_line_before_return' => true,
6465
'date_time_immutable' => false,
6566
'yoda_style' => false,
@@ -94,8 +95,8 @@ public function getRules(): array
9495
return \array_merge(
9596
$this->ruleSet->rules(),
9697
$overrideRules,
97-
$this->overwriteRules,
98-
$pedroTrollerRules
98+
$pedroTrollerRules,
99+
$this->overwriteRules
99100
);
100101
}
101102
}

tests/ConfigTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ protected function getContribRules(): array
260260
'class_keyword_remove' => false,
261261
'combine_consecutive_issets' => true,
262262
'combine_consecutive_unsets' => true,
263-
'comment_to_phpdoc' => true,
263+
'comment_to_phpdoc' => false,
264264
'compact_nullable_typehint' => true,
265265
'date_time_immutable' => false,
266266
'declare_strict_types' => true,

0 commit comments

Comments
 (0)