File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ public function testOutput()
116116 $ this ->expectOutputString ($ expected );
117117 $ this ->setOutputCallback ([$ this , 'normalizeLineEndings ' ]);
118118
119- if (empty ($ this ->ruleset ->tokenListeners )) {
119+ if (empty (self :: $ phpcsFile ->ruleset ->tokenListeners )) {
120120 // PHPCSUtils 1.0.9+.
121121 $ sniffFile = \dirname (\dirname (__DIR__ )) . \DIRECTORY_SEPARATOR . 'Sniffs ' ;
122122 $ sniffFile .= \DIRECTORY_SEPARATOR . 'Debug ' . \DIRECTORY_SEPARATOR . 'TokenListSniff.php ' ;
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ public function testOutput()
136136 $ this ->expectOutputString ($ expected );
137137 $ this ->setOutputCallback ([$ this , 'normalizeLineEndings ' ]);
138138
139- if (empty ($ this ->ruleset ->tokenListeners )) {
139+ if (empty (self :: $ phpcsFile ->ruleset ->tokenListeners )) {
140140 // PHPCSUtils 1.0.9+.
141141 $ sniffFile = \dirname (\dirname (__DIR__ )) . \DIRECTORY_SEPARATOR . 'Sniffs ' ;
142142 $ sniffFile .= \DIRECTORY_SEPARATOR . 'Debug ' . \DIRECTORY_SEPARATOR . 'TokenListSniff.php ' ;
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ public function testOutput()
109109 $ this ->expectOutputString ($ expected );
110110 $ this ->setOutputCallback ([$ this , 'normalizeLineEndings ' ]);
111111
112- if (empty ($ this ->ruleset ->tokenListeners )) {
112+ if (empty (self :: $ phpcsFile ->ruleset ->tokenListeners )) {
113113 // PHPCSUtils 1.0.9+.
114114 $ sniffFile = \dirname (\dirname (__DIR__ )) . \DIRECTORY_SEPARATOR . 'Sniffs ' ;
115115 $ sniffFile .= \DIRECTORY_SEPARATOR . 'Debug ' . \DIRECTORY_SEPARATOR . 'TokenListSniff.php ' ;
You can’t perform that action at this time.
0 commit comments