Skip to content

Merge branch 'hotfix/fix_be_language_at_trans_models' into 'release/2… #268

Merge branch 'hotfix/fix_be_language_at_trans_models' into 'release/2…

Merge branch 'hotfix/fix_be_language_at_trans_models' into 'release/2… #268

Triggered via push January 9, 2025 12:39
Status Failure
Total duration 1m 27s
Artifacts 3

diagnostics.yml

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

Annotations

24 errors and 3 warnings
PHP: 8.3 Contao: ~4.13.0: src/CoreBundle/EventListener/DcGeneral/MetaModel/CreateVariantButtonListener.php#L118
[118 - 194] The method handleCreateVariantAction() has a Cyclomatic Complexity of 11. The configured cyclomatic complexity threshold is 10. (Ruleset: Code Size Rules, https://phpmd.org/rules/codesize.html#cyclomaticcomplexity) (reported by phpmd: CyclomaticComplexity)
PHP: 8.3 Contao: ~4.13.0: src/CoreBundle/EventListener/DcGeneral/MetaModel/CreateVariantButtonListener.php#L118
[118 - 194] The method handleCreateVariantAction() has an NPath complexity of 432. The configured NPath complexity threshold is 200. (Ruleset: Code Size Rules, https://phpmd.org/rules/codesize.html#npathcomplexity) (reported by phpmd: NPathComplexity)
PHP: 8.3 Contao: ~4.13.0: src/CoreBundle/EventListener/DcGeneral/MetaModel/CreateVariantButtonListener.php#L143
PossiblyNullIterator: Cannot iterate over nullable var ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\PropertiesDefinitionInterface|null (reported by psalm)
PHP: 8.3 Contao: ~4.13.0: src/CoreBundle/EventListener/DcGeneral/MetaModel/CreateVariantButtonListener.php#L145
Expected 1 space after IF keyword; 0 found (reported by phpcs: Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword)
PHP: 8.3 Contao: ~4.13.0: src/CoreBundle/EventListener/DcGeneral/MetaModel/CreateVariantButtonListener.php#L151
TooManyArguments: Too many arguments for method MetaModels\DcGeneral\Data\Driver::createvariant - saw 2 (reported by psalm)
PHP: 8.3 Contao: ~4.13.0: src/CoreBundle/EventListener/DcGeneral/Table/MetaModel/SelectModeButtonsListener.php#L29
Opening brace should be on a new line (reported by phpcs: Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine)
PHP: 8.3 Contao: ~4.13.0: src/Events/DatabaseBackedListener.php#L249
[249 - 296] createMetaModel accesses the super-global variable $GLOBALS. (Ruleset: Controversial Rules, #) (reported by phpmd: Superglobals)
PHP: 8.3 Contao: ~4.13.0
Process completed with exit code 1.
PHP: 8.1 Contao: ~4.13.0: src/CoreBundle/EventListener/DcGeneral/MetaModel/CreateVariantButtonListener.php#L118
[118 - 194] The method handleCreateVariantAction() has a Cyclomatic Complexity of 11. 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/CoreBundle/EventListener/DcGeneral/MetaModel/CreateVariantButtonListener.php#L118
[118 - 194] The method handleCreateVariantAction() has an NPath complexity of 432. 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: src/CoreBundle/EventListener/DcGeneral/MetaModel/CreateVariantButtonListener.php#L143
PossiblyNullIterator: Cannot iterate over nullable var ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\PropertiesDefinitionInterface|null (reported by psalm)
PHP: 8.1 Contao: ~4.13.0: src/CoreBundle/EventListener/DcGeneral/MetaModel/CreateVariantButtonListener.php#L145
Expected 1 space after IF keyword; 0 found (reported by phpcs: Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword)
PHP: 8.1 Contao: ~4.13.0: src/CoreBundle/EventListener/DcGeneral/MetaModel/CreateVariantButtonListener.php#L151
TooManyArguments: Too many arguments for method MetaModels\DcGeneral\Data\Driver::createvariant - saw 2 (reported by psalm)
PHP: 8.1 Contao: ~4.13.0: src/CoreBundle/EventListener/DcGeneral/Table/MetaModel/SelectModeButtonsListener.php#L29
Opening brace should be on a new line (reported by phpcs: Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine)
PHP: 8.1 Contao: ~4.13.0: src/Events/DatabaseBackedListener.php#L249
[249 - 296] createMetaModel accesses the super-global variable $GLOBALS. (Ruleset: Controversial Rules, #) (reported by phpmd: Superglobals)
PHP: 8.1 Contao: ~4.13.0
Process completed with exit code 1.
PHP: 8.2 Contao: ~4.13.0: src/CoreBundle/EventListener/DcGeneral/MetaModel/CreateVariantButtonListener.php#L118
[118 - 194] The method handleCreateVariantAction() has a Cyclomatic Complexity of 11. 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/CoreBundle/EventListener/DcGeneral/MetaModel/CreateVariantButtonListener.php#L118
[118 - 194] The method handleCreateVariantAction() has an NPath complexity of 432. 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: src/CoreBundle/EventListener/DcGeneral/MetaModel/CreateVariantButtonListener.php#L143
PossiblyNullIterator: Cannot iterate over nullable var ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\PropertiesDefinitionInterface|null (reported by psalm)
PHP: 8.2 Contao: ~4.13.0: src/CoreBundle/EventListener/DcGeneral/MetaModel/CreateVariantButtonListener.php#L145
Expected 1 space after IF keyword; 0 found (reported by phpcs: Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword)
PHP: 8.2 Contao: ~4.13.0: src/CoreBundle/EventListener/DcGeneral/MetaModel/CreateVariantButtonListener.php#L151
TooManyArguments: Too many arguments for method MetaModels\DcGeneral\Data\Driver::createvariant - saw 2 (reported by psalm)
PHP: 8.2 Contao: ~4.13.0: src/CoreBundle/EventListener/DcGeneral/Table/MetaModel/SelectModeButtonsListener.php#L29
Opening brace should be on a new line (reported by phpcs: Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine)
PHP: 8.2 Contao: ~4.13.0: src/Events/DatabaseBackedListener.php#L249
[249 - 296] createMetaModel accesses the super-global variable $GLOBALS. (Ruleset: Controversial Rules, #) (reported by phpmd: Superglobals)
PHP: 8.2 Contao: ~4.13.0
Process completed with exit code 1.
PHP: 8.3 Contao: ~4.13.0
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP: 8.1 Contao: ~4.13.0
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP: 8.2 Contao: ~4.13.0
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
phpcq-builds-php-8.1-~4.13.0
8.86 KB
phpcq-builds-php-8.2-~4.13.0
8.89 KB
phpcq-builds-php-8.3-~4.13.0
8.86 KB