Skip to content

Commit c9dfd56

Browse files
committed
Missed a word in the message
1 parent 8724ea2 commit c9dfd56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CodeSniffer/Standards/PSR1/Sniffs/Files/SideEffectsSniff.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
6363
$result = $this->_searchForConflict($phpcsFile, 0, ($phpcsFile->numTokens - 1), $tokens);
6464

6565
if ($result['symbol'] !== null && $result['effect'] !== null) {
66-
$error = 'A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line %s and the first effect is on line %s.';
66+
$error = 'A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line %s and the first side effect is on line %s.';
6767
$data = array(
6868
$tokens[$result['symbol']]['line'],
6969
$tokens[$result['effect']]['line'],

0 commit comments

Comments
 (0)