Skip to content

Commit 8a57486

Browse files
committed
Fixed file fixing debug backtrace output
1 parent c45181c commit 8a57486

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Fixer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ public function rollbackChangeset()
428428
if (empty($this->changeset) === false) {
429429
if (PHP_CODESNIFFER_VERBOSITY > 1) {
430430
$bt = debug_backtrace();
431-
if ($bt[1]['class'] === 'PHP_CodeSniffer_Fixer') {
431+
if ($bt[1]['class'] === 'PHP_CodeSniffer\Fixer') {
432432
$sniff = $bt[2]['class'];
433433
$line = $bt[1]['line'];
434434
} else {
@@ -483,7 +483,7 @@ public function replaceToken($stackPtr, $content)
483483

484484
if (PHP_CODESNIFFER_VERBOSITY > 1) {
485485
$bt = debug_backtrace();
486-
if ($bt[1]['class'] === 'PHP_CodeSniffer_Fixer') {
486+
if ($bt[1]['class'] === 'PHP_CodeSniffer\Fixer') {
487487
$sniff = $bt[2]['class'];
488488
$line = $bt[1]['line'];
489489
} else {
@@ -595,7 +595,7 @@ public function revertToken($stackPtr)
595595

596596
if (PHP_CODESNIFFER_VERBOSITY > 1) {
597597
$bt = debug_backtrace();
598-
if ($bt[1]['class'] === 'PHP_CodeSniffer_Fixer') {
598+
if ($bt[1]['class'] === 'PHP_CodeSniffer\Fixer') {
599599
$sniff = $bt[2]['class'];
600600
$line = $bt[1]['line'];
601601
} else {

0 commit comments

Comments
 (0)