|
|
@@ -119,9 +119,15 @@ abstract class QROutputTestAbstract extends TestCase{
|
|
|
|
|
|
// may fail on CI, different PHP (platform) versions produce different output
|
|
|
// the samples were generated on php-7.4.3-Win32-vc15-x64
|
|
|
- if(PHP_OS_FAMILY !== 'Windows'
|
|
|
- && ($type === QRCode::OUTPUT_IMAGE_JPG || $type === QRCode::OUTPUT_IMAGICK || $type === QRCode::OUTPUT_MARKUP_SVG)){
|
|
|
+ if(
|
|
|
+ PHP_OS_FAMILY !== 'Windows' && (
|
|
|
+ $type === QRCode::OUTPUT_IMAGE_JPG
|
|
|
+ || $type === QRCode::OUTPUT_IMAGICK
|
|
|
+ || $type === QRCode::OUTPUT_MARKUP_SVG
|
|
|
+ )){
|
|
|
$this::markTestSkipped('may fail on CI');
|
|
|
+
|
|
|
+ /** @noinspection PhpUnreachableStatementInspection */
|
|
|
return;
|
|
|
}
|
|
|
|