diff --git a/phpcs.xml.dist b/phpcs.xml.dist
index 53b28bc6a8..ecefff0561 100644
--- a/phpcs.xml.dist
+++ b/phpcs.xml.dist
@@ -41,7 +41,9 @@
-
+
+
+
diff --git a/src/Standards/Generic/Sniffs/ControlStructures/DisallowYodaConditionsSniff.php b/src/Standards/Generic/Sniffs/ControlStructures/DisallowYodaConditionsSniff.php
index 3dc7795b37..666b1916e7 100644
--- a/src/Standards/Generic/Sniffs/ControlStructures/DisallowYodaConditionsSniff.php
+++ b/src/Standards/Generic/Sniffs/ControlStructures/DisallowYodaConditionsSniff.php
@@ -146,7 +146,7 @@ public function isArrayStatic(File $phpcsFile, $arrayToken)
$end = $tokens[$arrayToken]['parenthesis_closer'];
} else {
// Shouldn't be possible but may happen if external sniffs are using this method.
- return true;
+ return true; // @codeCoverageIgnore
}
$staticTokens = Tokens::$emptyTokens;
diff --git a/src/Standards/Generic/Sniffs/Strings/UnnecessaryHeredocSniff.php b/src/Standards/Generic/Sniffs/Strings/UnnecessaryHeredocSniff.php
index bf923ebe56..7698b28cf6 100644
--- a/src/Standards/Generic/Sniffs/Strings/UnnecessaryHeredocSniff.php
+++ b/src/Standards/Generic/Sniffs/Strings/UnnecessaryHeredocSniff.php
@@ -44,7 +44,7 @@ public function process(File $phpcsFile, $stackPtr)
if (isset($tokens[$stackPtr]['scope_closer']) === false) {
// Just to be safe. Shouldn't be possible as in that case, the opener shouldn't be tokenized
// to T_START_HEREDOC by PHP.
- return;
+ return; // @codeCoverageIgnore
}
$closer = $tokens[$stackPtr]['scope_closer'];
diff --git a/src/Util/Help.php b/src/Util/Help.php
index a7602b7d9d..5a686a97aa 100644
--- a/src/Util/Help.php
+++ b/src/Util/Help.php
@@ -270,8 +270,7 @@ private function printUsage()
{
$command = 'phpcs';
if (defined('PHP_CODESNIFFER_CBF') === true && PHP_CODESNIFFER_CBF === true) {
- // @codeCoverageIgnore
- $command = 'phpcbf';
+ $command = 'phpcbf'; // @codeCoverageIgnore
}
$this->printCategoryHeader('Usage');