Skip to content

Added missing CI instructions #3

Added missing CI instructions

Added missing CI instructions #3

Triggered via pull request May 23, 2024 12:01
Status Failure
Total duration 43s
Artifacts

ci.yml

on: pull_request
Matrix: Run code style check
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

30 errors
Tests (8.3): src/bundle/DependencyInjection/IbexaAutomatedTranslationExtension.php#L33
Offset 'system' on array in empty() always exists and is not falsy.
Tests (8.3): src/bundle/DependencyInjection/IbexaAutomatedTranslationExtension.php#L67
Parameter #2 $callback of function array_filter expects (callable(mixed): bool)|null, Closure(mixed): (array|null) given.
Tests (8.3): src/lib/Encoder/Field/PageBuilderFieldEncoder.php#L107
Ignored error pattern #^Instantiated class Ibexa\\FieldTypePage\\FieldType\\LandingPage\\Value not found\.$# in path /home/runner/work/automated-translation/automated-translation/src/lib/Encoder/Field/PageBuilderFieldEncoder.php is expected to occur 1 time, but occurred 2 times.
Tests (8.3): src/lib/Encoder/Field/PageBuilderFieldEncoder.php#L107
Ignored error pattern #^Method Ibexa\\AutomatedTranslation\\Encoder\\Field\\PageBuilderFieldEncoder\:\:decode\(\) should return Ibexa\\Core\\FieldType\\Value but returns Ibexa\\FieldTypePage\\FieldType\\LandingPage\\Value\.$# in path /home/runner/work/automated-translation/automated-translation/src/lib/Encoder/Field/PageBuilderFieldEncoder.php is expected to occur 1 time, but occurred 2 times.
Tests (8.3): src/lib/Encoder/Field/PageBuilderFieldEncoder.php#L125
Instantiated class Ibexa\FieldTypePage\FieldType\LandingPage\Value not found.
Tests (8.3): src/lib/Encoder/Field/PageBuilderFieldEncoder.php#L125
Method Ibexa\AutomatedTranslation\Encoder\Field\PageBuilderFieldEncoder::decode() should return Ibexa\Core\FieldType\Value but returns Ibexa\FieldTypePage\FieldType\LandingPage\Value.
Tests (8.3): tests/bundle/DependencyInjection/IbexaAutomatedTranslationExtensionTest.php#L1
Ignored error pattern #^Parameter \#1 \$function of function call_user_func_array expects callable\(\)\: mixed, array\{Ibexa\\Bundle\\AutomatedTranslation\\DependencyInjection\\IbexaAutomatedTranslationExtension, mixed\} given\.$# in path /home/runner/work/automated-translation/automated-translation/tests/bundle/DependencyInjection/IbexaAutomatedTranslationExtensionTest.php was not matched in reported errors.
Tests (8.3): tests/bundle/DependencyInjection/IbexaAutomatedTranslationExtensionTest.php#L86
Parameter #1 $callback of function call_user_func_array expects callable(): mixed, array{Ibexa\Bundle\AutomatedTranslation\DependencyInjection\IbexaAutomatedTranslationExtension, mixed} given.
Tests (8.3): tests/lib/Encoder/Field/PageBuilderFieldEncoderTest.php#L30
Property Ibexa\Tests\AutomatedTranslation\Encoder\Field\PageBuilderFieldEncoderTest::$blockDefinitionFactoryMock has unknown class Ibexa\Contracts\FieldTypePage\FieldType\Page\Block\Definition\BlockDefinitionFactory as its type.
Tests (8.3): tests/lib/Encoder/Field/PageBuilderFieldEncoderTest.php#L34
Return type of call to method PHPUnit\Framework\TestCase::createMock() contains unresolvable type.
Tests (7.4): src/bundle/DependencyInjection/IbexaAutomatedTranslationExtension.php#L33
Offset 'system' on array in empty() always exists and is not falsy.
Tests (7.4): src/bundle/DependencyInjection/IbexaAutomatedTranslationExtension.php#L67
Parameter #2 $callback of function array_filter expects (callable(mixed): bool)|null, Closure(mixed): (array|null) given.
Tests (7.4): src/lib/Encoder/Field/PageBuilderFieldEncoder.php#L107
Ignored error pattern #^Instantiated class Ibexa\\FieldTypePage\\FieldType\\LandingPage\\Value not found\.$# in path /home/runner/work/automated-translation/automated-translation/src/lib/Encoder/Field/PageBuilderFieldEncoder.php is expected to occur 1 time, but occurred 2 times.
Tests (7.4): src/lib/Encoder/Field/PageBuilderFieldEncoder.php#L107
Ignored error pattern #^Method Ibexa\\AutomatedTranslation\\Encoder\\Field\\PageBuilderFieldEncoder\:\:decode\(\) should return Ibexa\\Core\\FieldType\\Value but returns Ibexa\\FieldTypePage\\FieldType\\LandingPage\\Value\.$# in path /home/runner/work/automated-translation/automated-translation/src/lib/Encoder/Field/PageBuilderFieldEncoder.php is expected to occur 1 time, but occurred 2 times.
Tests (7.4): src/lib/Encoder/Field/PageBuilderFieldEncoder.php#L125
Instantiated class Ibexa\FieldTypePage\FieldType\LandingPage\Value not found.
Tests (7.4): src/lib/Encoder/Field/PageBuilderFieldEncoder.php#L125
Method Ibexa\AutomatedTranslation\Encoder\Field\PageBuilderFieldEncoder::decode() should return Ibexa\Core\FieldType\Value but returns Ibexa\FieldTypePage\FieldType\LandingPage\Value.
Tests (7.4): tests/lib/Encoder/Field/PageBuilderFieldEncoderTest.php#L30
Property Ibexa\Tests\AutomatedTranslation\Encoder\Field\PageBuilderFieldEncoderTest::$blockDefinitionFactoryMock has unknown class Ibexa\Contracts\FieldTypePage\FieldType\Page\Block\Definition\BlockDefinitionFactory as its type.
Tests (7.4): tests/lib/Encoder/Field/PageBuilderFieldEncoderTest.php#L34
Return type of call to method PHPUnit\Framework\TestCase::createMock() contains unresolvable type.
Tests (7.4): tests/lib/Encoder/Field/PageBuilderFieldEncoderTest.php#L35
Class Ibexa\Contracts\FieldTypePage\FieldType\Page\Block\Definition\BlockDefinitionFactory not found.
Tests (7.4): tests/lib/Encoder/Field/PageBuilderFieldEncoderTest.php#L40
Call to method method() on an unknown class Ibexa\Contracts\FieldTypePage\FieldType\Page\Block\Definition\BlockDefinitionFactory.
Tests (8.0): src/bundle/DependencyInjection/IbexaAutomatedTranslationExtension.php#L33
Offset 'system' on array in empty() always exists and is not falsy.
Tests (8.0): src/bundle/DependencyInjection/IbexaAutomatedTranslationExtension.php#L67
Parameter #2 $callback of function array_filter expects (callable(mixed): bool)|null, Closure(mixed): (array|null) given.
Tests (8.0): src/lib/Encoder/Field/PageBuilderFieldEncoder.php#L107
Ignored error pattern #^Instantiated class Ibexa\\FieldTypePage\\FieldType\\LandingPage\\Value not found\.$# in path /home/runner/work/automated-translation/automated-translation/src/lib/Encoder/Field/PageBuilderFieldEncoder.php is expected to occur 1 time, but occurred 2 times.
Tests (8.0): src/lib/Encoder/Field/PageBuilderFieldEncoder.php#L107
Ignored error pattern #^Method Ibexa\\AutomatedTranslation\\Encoder\\Field\\PageBuilderFieldEncoder\:\:decode\(\) should return Ibexa\\Core\\FieldType\\Value but returns Ibexa\\FieldTypePage\\FieldType\\LandingPage\\Value\.$# in path /home/runner/work/automated-translation/automated-translation/src/lib/Encoder/Field/PageBuilderFieldEncoder.php is expected to occur 1 time, but occurred 2 times.
Tests (8.0): src/lib/Encoder/Field/PageBuilderFieldEncoder.php#L125
Instantiated class Ibexa\FieldTypePage\FieldType\LandingPage\Value not found.
Tests (8.0): src/lib/Encoder/Field/PageBuilderFieldEncoder.php#L125
Method Ibexa\AutomatedTranslation\Encoder\Field\PageBuilderFieldEncoder::decode() should return Ibexa\Core\FieldType\Value but returns Ibexa\FieldTypePage\FieldType\LandingPage\Value.
Tests (8.0): tests/bundle/DependencyInjection/IbexaAutomatedTranslationExtensionTest.php#L1
Ignored error pattern #^Parameter \#1 \$function of function call_user_func_array expects callable\(\)\: mixed, array\{Ibexa\\Bundle\\AutomatedTranslation\\DependencyInjection\\IbexaAutomatedTranslationExtension, mixed\} given\.$# in path /home/runner/work/automated-translation/automated-translation/tests/bundle/DependencyInjection/IbexaAutomatedTranslationExtensionTest.php was not matched in reported errors.
Tests (8.0): tests/bundle/DependencyInjection/IbexaAutomatedTranslationExtensionTest.php#L86
Parameter #1 $callback of function call_user_func_array expects callable(): mixed, array{Ibexa\Bundle\AutomatedTranslation\DependencyInjection\IbexaAutomatedTranslationExtension, mixed} given.
Tests (8.0): tests/lib/Encoder/Field/PageBuilderFieldEncoderTest.php#L30
Property Ibexa\Tests\AutomatedTranslation\Encoder\Field\PageBuilderFieldEncoderTest::$blockDefinitionFactoryMock has unknown class Ibexa\Contracts\FieldTypePage\FieldType\Page\Block\Definition\BlockDefinitionFactory as its type.
Tests (8.0): tests/lib/Encoder/Field/PageBuilderFieldEncoderTest.php#L34
Return type of call to method PHPUnit\Framework\TestCase::createMock() contains unresolvable type.