Skip to content

Commit c2786fe

Browse files
committed
AC-659: Create phpcs static check for ModuleXMLTest
1 parent 7063659 commit c2786fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Magento2/Sniffs/Legacy/ModuleXMLSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function process(File $phpcsFile, $stackPtr)
4545
$phpcsFile->addError(
4646
sprintf(
4747
"Couldn't parse contents of '%s', check that they are in valid XML format",
48-
basename($phpcsFile->getFilename()),
48+
$phpcsFile->getFilename(),
4949
),
5050
$stackPtr,
5151
self::WARNING_CODE

0 commit comments

Comments
 (0)