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

Commit

Permalink
disable comment_to_phpdoc fixers, breaks CodeCoverageIgnore comments
Browse files Browse the repository at this point in the history
moved overwriteRules variable call to the end
  • Loading branch information
danielbannert committed Oct 12, 2018
1 parent 9efb258 commit f661aa5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public function getRules(): array
],
'phpdoc_no_empty_return' => false,
'phpdoc_to_return_type' => true,
'comment_to_phpdoc' => false,
'blank_line_before_return' => true,
'date_time_immutable' => false,
'yoda_style' => false,
Expand Down Expand Up @@ -94,8 +95,8 @@ public function getRules(): array
return \array_merge(
$this->ruleSet->rules(),
$overrideRules,
$this->overwriteRules,
$pedroTrollerRules
$pedroTrollerRules,
$this->overwriteRules
);
}
}
2 changes: 1 addition & 1 deletion tests/ConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ protected function getContribRules(): array
'class_keyword_remove' => false,
'combine_consecutive_issets' => true,
'combine_consecutive_unsets' => true,
'comment_to_phpdoc' => true,
'comment_to_phpdoc' => false,
'compact_nullable_typehint' => true,
'date_time_immutable' => false,
'declare_strict_types' => true,
Expand Down

0 comments on commit f661aa5

Please sign in to comment.