Skip to content

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

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

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

Triggered via pull request November 26, 2024 15:22
Status Failure
Total duration 2m 8s
Artifacts

continuous-integration.yml

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

Annotations

25 errors
TooFewArguments: test/integration/Building/UnixBuildTest.php#L197
test/integration/Building/UnixBuildTest.php:197:13: TooFewArguments: Too few arguments for Php\Pie\DependencyResolver\Package::__construct - expecting compatibleOsFamilies to be passed (see https://psalm.dev/025)
TooFewArguments: test/integration/Building/UnixBuildTest.php#L197
test/integration/Building/UnixBuildTest.php:197:13: TooFewArguments: Too few arguments for Php\Pie\DependencyResolver\Package::__construct - expecting incompatibleOsFamilies to be passed (see https://psalm.dev/025)
TooFewArguments: test/integration/Building/UnixBuildTest.php#L239
test/integration/Building/UnixBuildTest.php:239:13: TooFewArguments: Too few arguments for Php\Pie\DependencyResolver\Package::__construct - expecting compatibleOsFamilies to be passed (see https://psalm.dev/025)
TooFewArguments: test/integration/Building/UnixBuildTest.php#L239
test/integration/Building/UnixBuildTest.php:239:13: TooFewArguments: Too few arguments for Php\Pie\DependencyResolver\Package::__construct - expecting incompatibleOsFamilies to be passed (see https://psalm.dev/025)
InvalidArgument: test/unit/DependencyResolver/PackageTest.php#L51
test/unit/DependencyResolver/PackageTest.php:51:45: InvalidArgument: Argument 1 of Composer\Package\CompletePackage::setPhpExt expects array{'build-path'?: null|string, '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#L65
test/unit/DependencyResolver/PackageTest.php:65:45: InvalidArgument: Argument 1 of Composer\Package\CompletePackage::setPhpExt expects array{'build-path'?: null|string, 'configure-options'?: list<array{description?: string, name: string}>, 'extension-name'?: string, 'support-nts'?: bool, 'support-zts'?: bool, priority?: int}|null, but array{'os-families': list{'windOWS', 'DarWiN'}} with additional array shape fields (os-families) was provided (see https://psalm.dev/004)
InvalidArgument: test/unit/DependencyResolver/PackageTest.php#L80
test/unit/DependencyResolver/PackageTest.php:80:45: InvalidArgument: Argument 1 of Composer\Package\CompletePackage::setPhpExt expects array{'build-path'?: null|string, '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': array<never, never>} with additional array shape fields (os-families-exclude) was provided (see https://psalm.dev/004)
InvalidArgument: test/unit/DependencyResolver/PackageTest.php#L95
test/unit/DependencyResolver/PackageTest.php:95:45: InvalidArgument: Argument 1 of Composer\Package\CompletePackage::setPhpExt expects array{'build-path'?: null|string, '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)
InvalidArgument: test/unit/DependencyResolver/PackageTest.php#L110
test/unit/DependencyResolver/PackageTest.php:110:45: InvalidArgument: Argument 1 of Composer\Package\CompletePackage::setPhpExt expects array{'build-path'?: null|string, 'configure-options'?: list<array{description?: string, name: string}>, 'extension-name'?: string, 'support-nts'?: bool, 'support-zts'?: bool, priority?: int}|null, but array{'os-families': list{'Darwin'}, 'os-families-exclude': list{'Windows'}} with additional array shape fields (os-families-exclude, os-families) was provided (see https://psalm.dev/004)
InvalidArgument: test/unit/DependencyResolver/PackageTest.php#L121
test/unit/DependencyResolver/PackageTest.php:121:45: InvalidArgument: Argument 1 of Composer\Package\CompletePackage::setPhpExt expects array{'build-path'?: null|string, 'configure-options'?: list<array{description?: string, name: string}>, 'extension-name'?: string, 'support-nts'?: bool, 'support-zts'?: bool, priority?: int}|null, but array{'os-families': list{'Not an OS'}} with additional array shape fields (os-families) was provided (see https://psalm.dev/004)
unit-tests (ubuntu-latest, 8.1)
Process completed with exit code 2.
unit-tests (windows-latest, 8.2)
The job was canceled because "ubuntu-latest_8_1" failed.
unit-tests (windows-latest, 8.2)
The operation was canceled.
unit-tests (windows-latest, 8.3)
The job was canceled because "ubuntu-latest_8_1" failed.
unit-tests (windows-latest, 8.3)
The operation was canceled.
unit-tests (windows-latest, 8.4)
The job was canceled because "ubuntu-latest_8_1" failed.
unit-tests (windows-latest, 8.4)
The operation was canceled.
unit-tests (windows-latest, 8.1)
The job was canceled because "ubuntu-latest_8_1" failed.
unit-tests (windows-latest, 8.1)
The operation was canceled.
unit-tests (ubuntu-latest, 8.4)
The job was canceled because "ubuntu-latest_8_1" failed.
unit-tests (ubuntu-latest, 8.4)
The operation was canceled.
unit-tests (ubuntu-latest, 8.2)
The job was canceled because "ubuntu-latest_8_1" failed.
unit-tests (ubuntu-latest, 8.2)
The operation was canceled.
unit-tests (ubuntu-latest, 8.3)
The job was canceled because "ubuntu-latest_8_1" failed.
unit-tests (ubuntu-latest, 8.3)
The operation was canceled.