Added CI job to run automatic tests #1
Annotations
30 errors
Tests (7.4):
src/bundle/DependencyInjection/IbexaAutomatedTranslationExtension.php#L63
Parameter #2 $callback of function array_filter expects (callable(mixed): bool)|null, Closure(mixed): (array|null) given.
|
Tests (7.4):
src/bundle/EventListener/ContentProxyTranslateListener.php#L77
Parameter #3 $remoteServiceKey of method Ibexa\AutomatedTranslation\Translator::getTranslatedContent() expects string, string|null given.
|
Tests (7.4):
src/bundle/Form/Extension/ContentEditType.php#L70
Parameter #3 $remoteServiceKey of method Ibexa\AutomatedTranslation\Translator::getTranslatedFields() expects string, string|null given.
|
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 (7.4):
tests/lib/Encoder/Field/PageBuilderFieldEncoderTest.php#L45
Call to an undefined method Ibexa\AutomatedTranslation\Encoder\BlockAttribute\BlockAttributeEncoderManager::method().
|
Tests (7.4):
tests/lib/Encoder/Field/PageBuilderFieldEncoderTest.php#L53
Parameter #2 $blockDefinitionFactory of class Ibexa\AutomatedTranslation\Encoder\Field\PageBuilderFieldEncoder constructor expects Ibexa\FieldTypePage\FieldType\Page\Block\Definition\BlockDefinitionFactory, Ibexa\Contracts\FieldTypePage\FieldType\Page\Block\Definition\BlockDefinitionFactory given.
|
Tests (7.4):
tests/lib/Encoder/Field/PageBuilderFieldEncoderTest.php#L66
Parameter #2 $blockDefinitionFactory of class Ibexa\AutomatedTranslation\Encoder\Field\PageBuilderFieldEncoder constructor expects Ibexa\FieldTypePage\FieldType\Page\Block\Definition\BlockDefinitionFactory, Ibexa\Contracts\FieldTypePage\FieldType\Page\Block\Definition\BlockDefinitionFactory given.
|
Tests (8.3):
src/bundle/DependencyInjection/IbexaAutomatedTranslationExtension.php#L63
Parameter #2 $callback of function array_filter expects (callable(mixed): bool)|null, Closure(mixed): (array|null) given.
|
Tests (8.3):
src/bundle/EventListener/ContentProxyTranslateListener.php#L77
Parameter #3 $remoteServiceKey of method Ibexa\AutomatedTranslation\Translator::getTranslatedContent() expects string, string|null given.
|
Tests (8.3):
src/bundle/Form/Extension/ContentEditType.php#L70
Parameter #3 $remoteServiceKey of method Ibexa\AutomatedTranslation\Translator::getTranslatedFields() expects string, string|null given.
|
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 (8.3):
tests/lib/Encoder/Field/PageBuilderFieldEncoderTest.php#L35
Class Ibexa\Contracts\FieldTypePage\FieldType\Page\Block\Definition\BlockDefinitionFactory not found.
|
Tests (8.3):
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.3):
tests/lib/Encoder/Field/PageBuilderFieldEncoderTest.php#L45
Call to an undefined method Ibexa\AutomatedTranslation\Encoder\BlockAttribute\BlockAttributeEncoderManager::method().
|
Tests (8.2):
src/bundle/DependencyInjection/IbexaAutomatedTranslationExtension.php#L63
Parameter #2 $callback of function array_filter expects (callable(mixed): bool)|null, Closure(mixed): (array|null) given.
|
Tests (8.2):
src/bundle/EventListener/ContentProxyTranslateListener.php#L77
Parameter #3 $remoteServiceKey of method Ibexa\AutomatedTranslation\Translator::getTranslatedContent() expects string, string|null given.
|
Tests (8.2):
src/bundle/Form/Extension/ContentEditType.php#L70
Parameter #3 $remoteServiceKey of method Ibexa\AutomatedTranslation\Translator::getTranslatedFields() expects string, string|null given.
|
Tests (8.2):
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.2):
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.2):
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.2):
tests/lib/Encoder/Field/PageBuilderFieldEncoderTest.php#L34
Return type of call to method PHPUnit\Framework\TestCase::createMock() contains unresolvable type.
|
Tests (8.2):
tests/lib/Encoder/Field/PageBuilderFieldEncoderTest.php#L35
Class Ibexa\Contracts\FieldTypePage\FieldType\Page\Block\Definition\BlockDefinitionFactory not found.
|
Tests (8.2):
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.2):
tests/lib/Encoder/Field/PageBuilderFieldEncoderTest.php#L45
Call to an undefined method Ibexa\AutomatedTranslation\Encoder\BlockAttribute\BlockAttributeEncoderManager::method().
|