Skip to content

Fix composer.json for PHP 8 #13

Fix composer.json for PHP 8

Fix composer.json for PHP 8 #13

Re-run triggered March 27, 2024 13:45
Status Failure
Total duration 58s
Artifacts 2

diagnostics.yml

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

Annotations

31 errors and 5 warnings
PHP 8.3
Process completed with exit code 1.
PHP 8.2: src/ContaoDictionaryProvider.php#L69
RiskyTruthyFalsyComparison: Operand of type list<array{map: string, name: string, table: string}|string>|null contains type list<array{map: string, name: string, table: string}|string>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (reported by psalm)
PHP 8.2: src/Extractor/AbstractSerializingCompoundExtractor.php#L147
PossiblyUndefinedArrayOffset: Possibly undefined array key $chunks[1] on list{0: string, 1?: string} (reported by psalm)
PHP 8.2: src/Extractor/AbstractSerializingCompoundExtractor.php#L147
PossiblyNullArgument: Argument 1 of CyberSpectrum\I18N\Contao\Extractor\MultiStringExtractorInterface::set cannot be null, possibly null value provided (reported by psalm)
PHP 8.2: src/Extractor/ArrayExtractor.php#L104
PossiblyUndefinedArrayOffset: Possibly undefined array key $chunks[1] on list{0: string, 1?: string, 2?: string} (reported by psalm)
PHP 8.2: src/Extractor/ArrayExtractor.php#L104
PossiblyNullArgument: Argument 1 of CyberSpectrum\I18N\Contao\Extractor\ArrayExtractor::getExtractor cannot be null, possibly null value provided (reported by psalm)
PHP 8.2: src/Extractor/ArrayExtractor.php#L108
PossiblyUndefinedArrayOffset: Possibly undefined array key $chunks[2] on list{0: string, 1?: string, 2?: string} (reported by psalm)
PHP 8.2: src/Extractor/ArrayExtractor.php#L108
PossiblyNullArgument: Argument 1 of CyberSpectrum\I18N\Contao\Extractor\MultiStringExtractorInterface::get cannot be null, possibly null value provided (reported by psalm)
PHP 8.2: src/Extractor/ArrayExtractor.php#L127
UnsupportedPropertyReferenceUsage: This reference cannot be analyzed by Psalm. (reported by psalm)
PHP 8.2: src/Extractor/ArrayExtractor.php#L133
UnsupportedReferenceUsage: This reference cannot be analyzed by Psalm (reported by psalm)
PHP 8.2: src/Extractor/TableExtractor.php#L64
RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (reported by psalm)
PHP 8.1: src/ContaoDictionaryProvider.php#L69
RiskyTruthyFalsyComparison: Operand of type list<array{map: string, name: string, table: string}|string>|null contains type list<array{map: string, name: string, table: string}|string>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (reported by psalm)
PHP 8.1: src/Extractor/AbstractSerializingCompoundExtractor.php#L147
PossiblyUndefinedArrayOffset: Possibly undefined array key $chunks[1] on list{0: string, 1?: string} (reported by psalm)
PHP 8.1: src/Extractor/AbstractSerializingCompoundExtractor.php#L147
PossiblyNullArgument: Argument 1 of CyberSpectrum\I18N\Contao\Extractor\MultiStringExtractorInterface::set cannot be null, possibly null value provided (reported by psalm)
PHP 8.1: src/Extractor/ArrayExtractor.php#L104
PossiblyUndefinedArrayOffset: Possibly undefined array key $chunks[1] on list{0: string, 1?: string, 2?: string} (reported by psalm)
PHP 8.1: src/Extractor/ArrayExtractor.php#L104
PossiblyNullArgument: Argument 1 of CyberSpectrum\I18N\Contao\Extractor\ArrayExtractor::getExtractor cannot be null, possibly null value provided (reported by psalm)
PHP 8.1: src/Extractor/ArrayExtractor.php#L108
PossiblyUndefinedArrayOffset: Possibly undefined array key $chunks[2] on list{0: string, 1?: string, 2?: string} (reported by psalm)
PHP 8.1: src/Extractor/ArrayExtractor.php#L108
PossiblyNullArgument: Argument 1 of CyberSpectrum\I18N\Contao\Extractor\MultiStringExtractorInterface::get cannot be null, possibly null value provided (reported by psalm)
PHP 8.1: src/Extractor/ArrayExtractor.php#L127
UnsupportedPropertyReferenceUsage: This reference cannot be analyzed by Psalm. (reported by psalm)
PHP 8.1: src/Extractor/ArrayExtractor.php#L133
UnsupportedReferenceUsage: This reference cannot be analyzed by Psalm (reported by psalm)
PHP 8.1: src/Extractor/TableExtractor.php#L64
RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (reported by psalm)
PHP 8.1: src/ContaoDictionaryProvider.php#L69
RiskyTruthyFalsyComparison: Operand of type list<array{map: string, name: string, table: string}|string>|null contains type list<array{map: string, name: string, table: string}|string>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (reported by psalm)
PHP 8.1: src/Extractor/AbstractSerializingCompoundExtractor.php#L147
PossiblyUndefinedArrayOffset: Possibly undefined array key $chunks[1] on list{0: string, 1?: string} (reported by psalm)
PHP 8.1: src/Extractor/AbstractSerializingCompoundExtractor.php#L147
PossiblyNullArgument: Argument 1 of CyberSpectrum\I18N\Contao\Extractor\MultiStringExtractorInterface::set cannot be null, possibly null value provided (reported by psalm)
PHP 8.1: src/Extractor/ArrayExtractor.php#L104
PossiblyUndefinedArrayOffset: Possibly undefined array key $chunks[1] on list{0: string, 1?: string, 2?: string} (reported by psalm)
PHP 8.1: src/Extractor/ArrayExtractor.php#L104
PossiblyNullArgument: Argument 1 of CyberSpectrum\I18N\Contao\Extractor\ArrayExtractor::getExtractor cannot be null, possibly null value provided (reported by psalm)
PHP 8.1: src/Extractor/ArrayExtractor.php#L108
PossiblyUndefinedArrayOffset: Possibly undefined array key $chunks[2] on list{0: string, 1?: string, 2?: string} (reported by psalm)
PHP 8.1: src/Extractor/ArrayExtractor.php#L108
PossiblyNullArgument: Argument 1 of CyberSpectrum\I18N\Contao\Extractor\MultiStringExtractorInterface::get cannot be null, possibly null value provided (reported by psalm)
PHP 8.1: src/Extractor/ArrayExtractor.php#L127
UnsupportedPropertyReferenceUsage: This reference cannot be analyzed by Psalm. (reported by psalm)
PHP 8.1: src/Extractor/ArrayExtractor.php#L133
UnsupportedReferenceUsage: This reference cannot be analyzed by Psalm (reported by psalm)
PHP 8.1: src/Extractor/TableExtractor.php#L64
RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (reported by psalm)
PHP 8.3
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.3
No files were found with the provided path: .phpcq/build/. No artifacts will be uploaded.
PHP 8.2
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
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
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/.

Artifacts

Produced during runtime
Name Size
phpcq-builds-php-8.1 Expired
27.1 KB
phpcq-builds-php-8.2 Expired
27.7 KB