Skip to content

Add support for os-families-exclude in extensions composer.json #193

Add support for os-families-exclude in extensions composer.json

Add support for os-families-exclude in extensions composer.json #193

Triggered via pull request November 20, 2024 11:59
Status Failure
Total duration 4m 44s
Artifacts

continuous-integration.yml

on: pull_request
Matrix: unit-tests
coding-standards
22s
coding-standards
static-analysis
26s
static-analysis
Matrix: behaviour-tests
Matrix: build-phar / build-phar
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

3 errors
InvalidArgument: test/unit/DependencyResolver/PackageTest.php#L48
test/unit/DependencyResolver/PackageTest.php:48:45: InvalidArgument: Argument 1 of Composer\Package\CompletePackage::setPhpExt expects array{'configure-options'?: list<array{description?: string, name: string}>, 'extension-name'?: string, 'support-nts'?: bool, 'support-zts'?: bool, priority?: int}|null, but array{'os-families-exclude': list{'WINDOWS', 'Darwin'}} with additional array shape fields (os-families-exclude) was provided (see https://psalm.dev/004)
InvalidArgument: test/unit/DependencyResolver/PackageTest.php#L62
test/unit/DependencyResolver/PackageTest.php:62:45: InvalidArgument: Argument 1 of Composer\Package\CompletePackage::setPhpExt expects array{'configure-options'?: list<array{description?: string, name: string}>, 'extension-name'?: string, 'support-nts'?: bool, 'support-zts'?: bool, priority?: int}|null, but array{'os-families': array<never, never>} with additional array shape fields (os-families) was provided (see https://psalm.dev/004)
static-analysis
Process completed with exit code 2.