Skip to content

Fix list of attributes in MM List as CE and Module #329

Fix list of attributes in MM List as CE and Module

Fix list of attributes in MM List as CE and Module #329

Triggered via pull request June 1, 2025 12:46
Status Failure
Total duration 1m 37s
Artifacts 2

diagnostics.yml

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

Annotations

10 errors
PHP: 8.2 Contao: ~5.3.0
Process completed with exit code 1.
PHP: 8.2 Contao: ~5.3.0: src/Helper/ToolboxFile.php#L1101
PossiblyNullArrayOffset: Cannot access value on variable $this->uuidMap[$file->uuid] using possibly null offset null|string (reported by psalm)
PHP: 8.2 Contao: ~5.3.0: src/Helper/ToolboxFile.php#L1015
PossiblyNullArgument: Argument 1 of Contao\StringUtil::binToUuid cannot be null, possibly null value provided (reported by psalm)
PHP: 8.2 Contao: ~5.3.0: src/CoreBundle/Contao/Hooks/AbstractContentElementAndModuleCallback.php#L297
InvalidReturnStatement: The inferred type 'array{attributes?: array<string, non-empty-string>, meta: array{id: string, random: string, sorting: string}}' does not match the declared return type 'array<array-key, string>' for MetaModels\CoreBundle\Contao\Hooks\AbstractContentElementAndModuleCallback::getAttributeNames (reported by psalm)
PHP: 8.2 Contao: ~5.3.0: src/CoreBundle/Contao/Hooks/AbstractContentElementAndModuleCallback.php#L253
InvalidReturnType: The declared return type 'array<array-key, string>' for MetaModels\CoreBundle\Contao\Hooks\AbstractContentElementAndModuleCallback::getAttributeNames is incorrect, got 'array{attributes?: array<string, non-empty-string>, meta?: array{id: string, random: string, sorting: string}}' (reported by psalm)
PHP: 8.3 Contao: ~5.3.0
Process completed with exit code 1.
PHP: 8.3 Contao: ~5.3.0: src/Helper/ToolboxFile.php#L1101
PossiblyNullArrayOffset: Cannot access value on variable $this->uuidMap[$file->uuid] using possibly null offset null|string (reported by psalm)
PHP: 8.3 Contao: ~5.3.0: src/Helper/ToolboxFile.php#L1015
PossiblyNullArgument: Argument 1 of Contao\StringUtil::binToUuid cannot be null, possibly null value provided (reported by psalm)
PHP: 8.3 Contao: ~5.3.0: src/CoreBundle/Contao/Hooks/AbstractContentElementAndModuleCallback.php#L297
InvalidReturnStatement: The inferred type 'array{attributes?: array<string, non-empty-string>, meta: array{id: string, random: string, sorting: string}}' does not match the declared return type 'array<array-key, string>' for MetaModels\CoreBundle\Contao\Hooks\AbstractContentElementAndModuleCallback::getAttributeNames (reported by psalm)
PHP: 8.3 Contao: ~5.3.0: src/CoreBundle/Contao/Hooks/AbstractContentElementAndModuleCallback.php#L253
InvalidReturnType: The declared return type 'array<array-key, string>' for MetaModels\CoreBundle\Contao\Hooks\AbstractContentElementAndModuleCallback::getAttributeNames is incorrect, got 'array{attributes?: array<string, non-empty-string>, meta?: array{id: string, random: string, sorting: string}}' (reported by psalm)

Artifacts

Produced during runtime
Name Size Digest
phpcq-builds-php-8.2-~5.3.0 Expired
8.39 KB
sha256:49d4536a0d2a37569c241188ee460812673a1be62a654be25d63b30c581b799e
phpcq-builds-php-8.3-~5.3.0 Expired
9.46 KB
sha256:edf1de95aa55afe6a59b4bd6a4d044443436a34f59f59b31de05d170379777da