Skip to content

chore: make code more stable #542

chore: make code more stable

chore: make code more stable #542

Triggered via pull request June 17, 2025 19:10
Status Failure
Total duration 3m 9s
Artifacts

test.yml

on: pull_request
get-matrix
4s
get-matrix
Matrix: IntegrationTest
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

70 errors
Test (v6.7.0.0-rc1, 8.4): custom/plugins/FroshPlatformThumbnailProcessor/src/Service/ThumbnailUrlTemplate.php#L18
Parameter #2 $replace of function str_replace expects array<string>|string, array<int, int<min, -1>|int<1, max>|string> given.
Test (v6.7.0.0-rc1, 8.4): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/GeneratorCompilerPass.php#L102
Method Frosh\ThumbnailProcessor\DependencyInjection\GeneratorCompilerPass::getPhpParser() should return PhpParser\Parser but returns mixed.
Test (v6.7.0.0-rc1, 8.4): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/GeneratorCompilerPass.php#L98
Call to function method_exists() with 'PhpParser\\ParserFactory' and 'createForHostVersion' will always evaluate to true.
Test (v6.7.0.0-rc1, 8.4): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/GeneratorCompilerPass.php#L65
Property PhpParser\Node\Stmt\Namespace_::$stmts (array<PhpParser\Node\Stmt>) does not accept array<PhpParser\Node\Stmt>|null.
Test (v6.7.0.0-rc1, 8.4): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/FileSaver.php#L103
Call to function is_string() with string will always evaluate to true.
Test (v6.7.0.0-rc1, 8.4): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/FileSaver.php#L63
Parameter #4 $metadata of method Frosh\ThumbnailProcessor\DependencyInjection\FileSaver::updateMediaEntity() expects array<string, mixed>|null, array|null given.
Test (v6.7.0.0-rc1, 8.4): custom/plugins/FroshPlatformThumbnailProcessor/src/Core/Media/MediaUrlGenerator.php#L65
Call to function is_string() with string will always evaluate to true.
Test (v6.7.0.0-rc1, 8.4): custom/plugins/FroshPlatformThumbnailProcessor/src/Core/Media/MediaUrlGenerator.php#L65
Call to function assert() with true will always evaluate to true.
Test (v6.7.0.0-rc5, 8.4): custom/plugins/FroshPlatformThumbnailProcessor/src/Service/ThumbnailUrlTemplate.php#L18
Parameter #2 $replace of function str_replace expects array<string>|string, array<int, int<min, -1>|int<1, max>|string> given.
Test (v6.7.0.0-rc5, 8.4): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/GeneratorCompilerPass.php#L102
Method Frosh\ThumbnailProcessor\DependencyInjection\GeneratorCompilerPass::getPhpParser() should return PhpParser\Parser but returns mixed.
Test (v6.7.0.0-rc5, 8.4): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/GeneratorCompilerPass.php#L98
Call to function method_exists() with 'PhpParser\\ParserFactory' and 'createForHostVersion' will always evaluate to true.
Test (v6.7.0.0-rc5, 8.4): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/GeneratorCompilerPass.php#L65
Property PhpParser\Node\Stmt\Namespace_::$stmts (array<PhpParser\Node\Stmt>) does not accept array<PhpParser\Node\Stmt>|null.
Test (v6.7.0.0-rc5, 8.4): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/FileSaver.php#L103
Call to function is_string() with string will always evaluate to true.
Test (v6.7.0.0-rc5, 8.4): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/FileSaver.php#L63
Parameter #4 $metadata of method Frosh\ThumbnailProcessor\DependencyInjection\FileSaver::updateMediaEntity() expects array<string, mixed>|null, array|null given.
Test (v6.7.0.0-rc5, 8.4): custom/plugins/FroshPlatformThumbnailProcessor/src/Core/Media/MediaUrlGenerator.php#L65
Call to function is_string() with string will always evaluate to true.
Test (v6.7.0.0-rc5, 8.4): custom/plugins/FroshPlatformThumbnailProcessor/src/Core/Media/MediaUrlGenerator.php#L65
Call to function assert() with true will always evaluate to true.
Test (v6.7.0.0-rc5, 8.2): custom/plugins/FroshPlatformThumbnailProcessor/src/Service/ThumbnailUrlTemplate.php#L18
Parameter #2 $replace of function str_replace expects array<string>|string, array<int, int<min, -1>|int<1, max>|string> given.
Test (v6.7.0.0-rc5, 8.2): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/GeneratorCompilerPass.php#L102
Method Frosh\ThumbnailProcessor\DependencyInjection\GeneratorCompilerPass::getPhpParser() should return PhpParser\Parser but returns mixed.
Test (v6.7.0.0-rc5, 8.2): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/GeneratorCompilerPass.php#L98
Call to function method_exists() with 'PhpParser\\ParserFactory' and 'createForHostVersion' will always evaluate to true.
Test (v6.7.0.0-rc5, 8.2): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/GeneratorCompilerPass.php#L65
Property PhpParser\Node\Stmt\Namespace_::$stmts (array<PhpParser\Node\Stmt>) does not accept array<PhpParser\Node\Stmt>|null.
Test (v6.7.0.0-rc5, 8.2): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/FileSaver.php#L103
Call to function is_string() with string will always evaluate to true.
Test (v6.7.0.0-rc5, 8.2): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/FileSaver.php#L63
Parameter #4 $metadata of method Frosh\ThumbnailProcessor\DependencyInjection\FileSaver::updateMediaEntity() expects array<string, mixed>|null, array|null given.
Test (v6.7.0.0-rc5, 8.2): custom/plugins/FroshPlatformThumbnailProcessor/src/Core/Media/MediaUrlGenerator.php#L65
Call to function is_string() with string will always evaluate to true.
Test (v6.7.0.0-rc5, 8.2): custom/plugins/FroshPlatformThumbnailProcessor/src/Core/Media/MediaUrlGenerator.php#L65
Call to function assert() with true will always evaluate to true.
Test (trunk, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/Core/Media/MediaUrlLoader.php#L68
Construct empty() is not allowed. Use more strict comparison.
Test (trunk, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/Core/Media/MediaUrlLoader.php#L21
Construct empty() is not allowed. Use more strict comparison.
Test (trunk, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/Core/Media/MediaUrlGenerator.php#L114
Construct empty() is not allowed. Use more strict comparison.
Test (trunk, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/Core/Media/MediaUrlGenerator.php#L100
Call to function array_filter() requires parameter #2 to be passed to avoid loose comparison semantics.
Test (trunk, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/Core/Media/MediaUrlGenerator.php#L74
Construct empty() is not allowed. Use more strict comparison.
Test (trunk, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/Core/Media/MediaUrlGenerator.php#L65
Call to function is_string() with string will always evaluate to true.
Test (trunk, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/Core/Media/MediaUrlGenerator.php#L65
Call to function assert() with true will always evaluate to true.
Test (trunk, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/Controller/Api/TestController.php#L133
Only booleans are allowed in an if condition, Shopware\Core\Content\Media\MediaEntity|null given.
Test (trunk, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/Controller/Api/TestController.php#L103
Only booleans are allowed in an if condition, Shopware\Core\Content\Media\MediaEntity|null given.
Test (trunk, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/Controller/Api/TestController.php#L86
Construct empty() is not allowed. Use more strict comparison.
Test (v6.7.0.0-rc1, 8.2): custom/plugins/FroshPlatformThumbnailProcessor/src/Service/ThumbnailUrlTemplate.php#L18
Parameter #2 $replace of function str_replace expects array<string>|string, array<int, int<min, -1>|int<1, max>|string> given.
Test (v6.7.0.0-rc1, 8.2): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/GeneratorCompilerPass.php#L102
Method Frosh\ThumbnailProcessor\DependencyInjection\GeneratorCompilerPass::getPhpParser() should return PhpParser\Parser but returns mixed.
Test (v6.7.0.0-rc1, 8.2): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/GeneratorCompilerPass.php#L98
Call to function method_exists() with 'PhpParser\\ParserFactory' and 'createForHostVersion' will always evaluate to true.
Test (v6.7.0.0-rc1, 8.2): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/GeneratorCompilerPass.php#L65
Property PhpParser\Node\Stmt\Namespace_::$stmts (array<PhpParser\Node\Stmt>) does not accept array<PhpParser\Node\Stmt>|null.
Test (v6.7.0.0-rc1, 8.2): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/FileSaver.php#L103
Call to function is_string() with string will always evaluate to true.
Test (v6.7.0.0-rc1, 8.2): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/FileSaver.php#L63
Parameter #4 $metadata of method Frosh\ThumbnailProcessor\DependencyInjection\FileSaver::updateMediaEntity() expects array<string, mixed>|null, array|null given.
Test (v6.7.0.0-rc1, 8.2): custom/plugins/FroshPlatformThumbnailProcessor/src/Core/Media/MediaUrlGenerator.php#L65
Call to function is_string() with string will always evaluate to true.
Test (v6.7.0.0-rc1, 8.2): custom/plugins/FroshPlatformThumbnailProcessor/src/Core/Media/MediaUrlGenerator.php#L65
Call to function assert() with true will always evaluate to true.
Test (v6.7.0.0-rc5, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/Service/ThumbnailUrlTemplate.php#L18
Parameter #2 $replace of function str_replace expects array<string>|string, array<int, int<min, -1>|int<1, max>|string> given.
Test (v6.7.0.0-rc5, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/GeneratorCompilerPass.php#L102
Method Frosh\ThumbnailProcessor\DependencyInjection\GeneratorCompilerPass::getPhpParser() should return PhpParser\Parser but returns mixed.
Test (v6.7.0.0-rc5, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/GeneratorCompilerPass.php#L98
Call to function method_exists() with 'PhpParser\\ParserFactory' and 'createForHostVersion' will always evaluate to true.
Test (v6.7.0.0-rc5, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/GeneratorCompilerPass.php#L65
Property PhpParser\Node\Stmt\Namespace_::$stmts (array<PhpParser\Node\Stmt>) does not accept array<PhpParser\Node\Stmt>|null.
Test (v6.7.0.0-rc5, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/FileSaver.php#L103
Call to function is_string() with string will always evaluate to true.
Test (v6.7.0.0-rc5, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/FileSaver.php#L63
Parameter #4 $metadata of method Frosh\ThumbnailProcessor\DependencyInjection\FileSaver::updateMediaEntity() expects array<string, mixed>|null, array|null given.
Test (v6.7.0.0-rc5, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/Core/Media/MediaUrlGenerator.php#L65
Call to function is_string() with string will always evaluate to true.
Test (v6.7.0.0-rc5, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/Core/Media/MediaUrlGenerator.php#L65
Call to function assert() with true will always evaluate to true.
Test (v6.7.0.0-rc1, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/Service/ThumbnailUrlTemplate.php#L18
Parameter #2 $replace of function str_replace expects array<string>|string, array<int, int<min, -1>|int<1, max>|string> given.
Test (v6.7.0.0-rc1, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/GeneratorCompilerPass.php#L102
Method Frosh\ThumbnailProcessor\DependencyInjection\GeneratorCompilerPass::getPhpParser() should return PhpParser\Parser but returns mixed.
Test (v6.7.0.0-rc1, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/GeneratorCompilerPass.php#L98
Call to function method_exists() with 'PhpParser\\ParserFactory' and 'createForHostVersion' will always evaluate to true.
Test (v6.7.0.0-rc1, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/GeneratorCompilerPass.php#L65
Property PhpParser\Node\Stmt\Namespace_::$stmts (array<PhpParser\Node\Stmt>) does not accept array<PhpParser\Node\Stmt>|null.
Test (v6.7.0.0-rc1, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/FileSaver.php#L103
Call to function is_string() with string will always evaluate to true.
Test (v6.7.0.0-rc1, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/DependencyInjection/FileSaver.php#L63
Parameter #4 $metadata of method Frosh\ThumbnailProcessor\DependencyInjection\FileSaver::updateMediaEntity() expects array<string, mixed>|null, array|null given.
Test (v6.7.0.0-rc1, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/Core/Media/MediaUrlGenerator.php#L65
Call to function is_string() with string will always evaluate to true.
Test (v6.7.0.0-rc1, 8.3): custom/plugins/FroshPlatformThumbnailProcessor/src/Core/Media/MediaUrlGenerator.php#L65
Call to function assert() with true will always evaluate to true.