Skip to content

Commit

Permalink
Merge pull request #147 from PHPCSStandards/universal/onestatementins…
Browse files Browse the repository at this point in the history
…hortechotag-improve-errorcode

Universal/OneStatementInShortEchoTag: improve error code
  • Loading branch information
jrfnl authored Nov 2, 2022
2 parents 72e5dbb + 1cf15ce commit 4ddaefc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Universal/Sniffs/PHP/OneStatementInShortEchoTagSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function process(File $phpcsFile, $stackPtr)
'Only one statement is allowed when using short open echo PHP tags.'
. ' Use the "<?php" open tag for multi-statement PHP.',
$nextNonEmpty,
'Found'
'MultipleFound'
);

if ($fix === true) {
Expand Down

0 comments on commit 4ddaefc

Please sign in to comment.