@@ -116,6 +116,12 @@ public static function reset()
116
116
*/
117
117
public function testNoProgressIsShownWhenDisabled ()
118
118
{
119
+ if (version_compare (Config::VERSION , '4.0 ' , '>= ' ) === true ) {
120
+ // This test is temporarily disabled on PHPCS 4.x as the stdOut/stdErr handling needs
121
+ // a rewrite, as, as things are, it makes testing impossible.
122
+ $ this ->markTestSkipped ('This test is incompatible with PHPCS 4.0 (for now) ' );
123
+ }
124
+
119
125
$ this ->expectOutputString ('' );
120
126
121
127
self ::$ config ->showProgress = false ;
@@ -134,6 +140,12 @@ public function testNoProgressIsShownWhenDisabled()
134
140
*/
135
141
public function testProgressDotSkippedFiles ()
136
142
{
143
+ if (version_compare (Config::VERSION , '4.0 ' , '>= ' ) === true ) {
144
+ // This test is temporarily disabled on PHPCS 4.x as the stdOut/stdErr handling needs
145
+ // a rewrite, as, as things are, it makes testing impossible.
146
+ $ this ->markTestSkipped ('This test is incompatible with PHPCS 4.0 (for now) ' );
147
+ }
148
+
137
149
$ nrOfFiles = 10 ;
138
150
$ this ->expectOutputString ('.S.S.S.S.S 10 / 10 (100%) ' .PHP_EOL );
139
151
@@ -162,6 +174,12 @@ public function testProgressDotSkippedFiles()
162
174
*/
163
175
public function testEndOfLineSummary ($ nrOfFiles , $ expected )
164
176
{
177
+ if (version_compare (Config::VERSION , '4.0 ' , '>= ' ) === true ) {
178
+ // This test is temporarily disabled on PHPCS 4.x as the stdOut/stdErr handling needs
179
+ // a rewrite, as, as things are, it makes testing impossible.
180
+ $ this ->markTestSkipped ('This test is incompatible with PHPCS 4.0 (for now) ' );
181
+ }
182
+
165
183
$ this ->expectOutputString ($ expected );
166
184
167
185
for ($ i = 1 ; $ i <= $ nrOfFiles ; $ i ++) {
0 commit comments