Skip to content

Add translation keys for MM support #519

Add translation keys for MM support

Add translation keys for MM support #519

Triggered via pull request May 7, 2024 07:21
Status Failure
Total duration 1m 58s
Artifacts 2

diagnostics.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 5 warnings
PHP: 8.2 Contao: ~4.13.0: composer.json#L1
Unknown symbols found: "never" - is there a dependency missing? (reported by composer-require-checker)
PHP: 8.2 Contao: ~4.13.0: src/Contao/View/Contao2BackendView/ButtonRenderer.php#L325
[325 - 415] The method buildCommand() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. (Ruleset: Code Size Rules, https://phpmd.org/rules/codesize.html#cyclomaticcomplexity) (reported by phpmd: CyclomaticComplexity)
PHP: 8.2 Contao: ~4.13.0: src/Contao/View/Contao2BackendView/Subscriber/CheckPermission.php#L57
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (reported by phpcs: Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace)
PHP: 8.2 Contao: ~4.13.0: src/Contao/View/Contao2BackendView/ViewHelpers.php#L295
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (reported by phpcs: Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace)
PHP: 8.2 Contao: ~4.13.0: src/EventListener/StoreRefererListener.php#L52
[52 - 97] The method __invoke() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. (Ruleset: Code Size Rules, https://phpmd.org/rules/codesize.html#cyclomaticcomplexity) (reported by phpmd: CyclomaticComplexity)
PHP: 8.2 Contao: ~4.13.0: src/EventListener/StoreRefererListener.php#L52
[52 - 97] The method __invoke() has an NPath complexity of 384. The configured NPath complexity threshold is 200. (Ruleset: Code Size Rules, https://phpmd.org/rules/codesize.html#npathcomplexity) (reported by phpmd: NPathComplexity)
PHP: 8.2 Contao: ~4.13.0: tests/Contao/View/Contao2BackendView/Subscriber/CheckPermissionTest.php#L69
ContaoCommunityAlliance\DcGeneral\Test\Contao\View\Contao2BackendView\Subscriber\CheckPermissionTest::testCheckPermissionForProperties ArgumentCountError: Too few arguments to function ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Subscriber\CheckPermission::__construct(), 1 passed in tests/Contao/View/Contao2BackendView/Subscriber/CheckPermissionTest.php on line 132 and exactly 2 expected src/Contao/View/Contao2BackendView/Subscriber/CheckPermission.php:53 tests/Contao/View/Contao2BackendView/Subscriber/CheckPermissionTest.php:132 (reported by phpunit: ArgumentCountError)
PHP: 8.2 Contao: ~4.13.0: tests/DataDefinition/Definition/View/CommandCollectionTest.php#L114
ContaoCommunityAlliance\DcGeneral\Test\DataDefinition\Definition\View\CommandCollectionTest::testAddTwoBefore Failed asserting that 1 is identical to 0. tests/DataDefinition/Definition/View/CommandCollectionTest.php:35 tests/DataDefinition/Definition/View/CommandCollectionTest.php:134 (reported by phpunit: PHPUnit\Framework\ExpectationFailedException)
PHP: 8.2 Contao: ~4.13.0
Process completed with exit code 1.
PHP: 8.1 Contao: ~4.13.0: composer.json#L1
Unknown symbols found: "never" - is there a dependency missing? (reported by composer-require-checker)
PHP: 8.1 Contao: ~4.13.0: src/Contao/View/Contao2BackendView/ButtonRenderer.php#L325
[325 - 415] The method buildCommand() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. (Ruleset: Code Size Rules, https://phpmd.org/rules/codesize.html#cyclomaticcomplexity) (reported by phpmd: CyclomaticComplexity)
PHP: 8.1 Contao: ~4.13.0: src/Contao/View/Contao2BackendView/Subscriber/CheckPermission.php#L57
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (reported by phpcs: Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace)
PHP: 8.1 Contao: ~4.13.0: src/Contao/View/Contao2BackendView/ViewHelpers.php#L295
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (reported by phpcs: Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace)
PHP: 8.1 Contao: ~4.13.0: src/EventListener/StoreRefererListener.php#L52
[52 - 97] The method __invoke() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. (Ruleset: Code Size Rules, https://phpmd.org/rules/codesize.html#cyclomaticcomplexity) (reported by phpmd: CyclomaticComplexity)
PHP: 8.1 Contao: ~4.13.0: src/EventListener/StoreRefererListener.php#L52
[52 - 97] The method __invoke() has an NPath complexity of 384. The configured NPath complexity threshold is 200. (Ruleset: Code Size Rules, https://phpmd.org/rules/codesize.html#npathcomplexity) (reported by phpmd: NPathComplexity)
PHP: 8.1 Contao: ~4.13.0: tests/Contao/View/Contao2BackendView/Subscriber/CheckPermissionTest.php#L69
ContaoCommunityAlliance\DcGeneral\Test\Contao\View\Contao2BackendView\Subscriber\CheckPermissionTest::testCheckPermissionForProperties ArgumentCountError: Too few arguments to function ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Subscriber\CheckPermission::__construct(), 1 passed in tests/Contao/View/Contao2BackendView/Subscriber/CheckPermissionTest.php on line 132 and exactly 2 expected src/Contao/View/Contao2BackendView/Subscriber/CheckPermission.php:53 tests/Contao/View/Contao2BackendView/Subscriber/CheckPermissionTest.php:132 (reported by phpunit: ArgumentCountError)
PHP: 8.1 Contao: ~4.13.0: tests/DataDefinition/Definition/View/CommandCollectionTest.php#L114
ContaoCommunityAlliance\DcGeneral\Test\DataDefinition\Definition\View\CommandCollectionTest::testAddTwoBefore Failed asserting that 1 is identical to 0. tests/DataDefinition/Definition/View/CommandCollectionTest.php:35 tests/DataDefinition/Definition/View/CommandCollectionTest.php:134 (reported by phpunit: PHPUnit\Framework\ExpectationFailedException)
PHP: 8.1 Contao: ~4.13.0
Process completed with exit code 1.
PHP: 8.2 Contao: ~4.13.0
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP: 8.2 Contao: ~4.13.0: src/Contao/View/Contao2BackendView/Subscriber/CheckPermission.php#L111
Line exceeds 120 characters; contains 147 characters (reported by phpcs: Generic.Files.LineLength.TooLong)
PHP: 8.1 Contao: ~4.13.0
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP: 8.1 Contao: ~4.13.0: src/Contao/View/Contao2BackendView/Subscriber/CheckPermission.php#L111
Line exceeds 120 characters; contains 147 characters (reported by phpcs: Generic.Files.LineLength.TooLong)
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "phpcq-builds-php-8.1-~4.13.0", "phpcq-builds-php-8.2-~4.13.0". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
phpcq-builds-php-8.1-~4.13.0 Expired
182 KB
phpcq-builds-php-8.2-~4.13.0 Expired
182 KB