We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b6b4aa commit 0c2563aCopy full SHA for 0c2563a
wordpress-coding-standards/php.md
@@ -559,7 +559,7 @@ In a `switch` statement, it's okay to have multiple empty cases fall through to
559
switch ( $foo ) {
560
case 'bar': // Correct, an empty case can fall through without comment.
561
case 'baz':
562
- echo esc_html( $foo ); // Incorrect, a case with a block must break, return, or have a comment.
+ echo esc_html( $foo ); // Incorrect, a case with a block must break, return, or have a comment.
563
case 'cat':
564
echo 'mouse';
565
break; // Correct, a case with a break does not require a comment.
0 commit comments