Skip to content

Commit 070de50

Browse files
committed
- Updated error message for namespace underscore sniff
1 parent cbcb68d commit 070de50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom-standards/Flyeralarm/Sniffs/File/NamespacesSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function process(File $phpcsFile, $stackPtr)
2727
while($ptr = $phpcsFile->findNext(T_NS_SEPARATOR, $ptr + 1)) {
2828
if (strpos($tokens[$ptr + 1]['content'], '_') !== false) {
2929
$phpcsFile->addError(
30-
'Using underscores within namespaces is discouraged',
30+
'Using underscore within namespaces is discouraged',
3131
$stackPtr,
3232
'NamespaceDeclarationWithInvalidCapitalization'
3333
);

0 commit comments

Comments
 (0)