Skip to content

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

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

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

Triggered via pull request November 21, 2024 14:37
Status Failure
Total duration 1m 41s
Artifacts

continuous-integration.yml

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

Annotations

35 errors
coding-standards
Process completed with exit code 2.
UndefinedMethod: src/Command/InstallCommand.php#L68
src/Command/InstallCommand.php:68:9: UndefinedMethod: Method Php\Pie\Command\CommandHelper::ensureosfamilycompatibilityfrompackage does not exist (see https://psalm.dev/022)
InvalidArgument: test/unit/DependencyResolver/PackageTest.php#L50
test/unit/DependencyResolver/PackageTest.php:50: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#L64
test/unit/DependencyResolver/PackageTest.php:64: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': list{'windOWS', 'DarWiN'}} with additional array shape fields (os-families) was provided (see https://psalm.dev/004)
InvalidArgument: test/unit/DependencyResolver/PackageTest.php#L79
test/unit/DependencyResolver/PackageTest.php:79: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': array<never, never>} with additional array shape fields (os-families-exclude) was provided (see https://psalm.dev/004)
InvalidArgument: test/unit/DependencyResolver/PackageTest.php#L94
test/unit/DependencyResolver/PackageTest.php:94: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)
InvalidArgument: test/unit/DependencyResolver/PackageTest.php#L109
test/unit/DependencyResolver/PackageTest.php:109: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': 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#L120
test/unit/DependencyResolver/PackageTest.php:120: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': list{'Not an OS'}} with additional array shape fields (os-families) was provided (see https://psalm.dev/004)
InvalidArgument: test/unit/DependencyResolver/PackageTest.php#L131
test/unit/DependencyResolver/PackageTest.php:131: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{'Not an OS'}} with additional array shape fields (os-families-exclude) was provided (see https://psalm.dev/004)
InvalidArgument: test/unit/DependencyResolver/ResolveDependencyWithComposerTest.php#L220
test/unit/DependencyResolver/ResolveDependencyWithComposerTest.php:220:25: 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{'extension-name': 'testext', 'os-families': list{'Solaris', 'Darwin'}} with additional array shape fields (os-families) was provided (see https://psalm.dev/004)
InvalidArgument: test/unit/DependencyResolver/ResolveDependencyWithComposerTest.php#L266
test/unit/DependencyResolver/ResolveDependencyWithComposerTest.php:266:25: 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{'extension-name': 'testext', 'os-families-exclude': list{'Darwin', 'Solaris'}} with additional array shape fields (os-families-exclude) was provided (see https://psalm.dev/004)
behaviour-tests (ubuntu-latest, 8.4)
Process completed with exit code 1.
behaviour-tests (ubuntu-latest, 8.3)
The job was canceled because "ubuntu-latest_8_4" failed.
behaviour-tests (ubuntu-latest, 8.3)
The operation was canceled.
behaviour-tests (windows-latest, 8.4)
The job was canceled because "ubuntu-latest_8_4" failed.
behaviour-tests (windows-latest, 8.4)
The operation was canceled.
behaviour-tests (windows-latest, 8.2)
The job was canceled because "ubuntu-latest_8_4" failed.
behaviour-tests (windows-latest, 8.2)
The operation was canceled.
behaviour-tests (windows-latest, 8.3)
The job was canceled because "ubuntu-latest_8_4" failed.
behaviour-tests (windows-latest, 8.1)
The job was canceled because "ubuntu-latest_8_4" failed.
behaviour-tests (ubuntu-latest, 8.2)
The job was canceled because "ubuntu-latest_8_4" failed.
behaviour-tests (ubuntu-latest, 8.2)
The operation was canceled.
behaviour-tests (ubuntu-latest, 8.1)
The job was canceled because "ubuntu-latest_8_4" failed.
behaviour-tests (ubuntu-latest, 8.1)
The operation was canceled.
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.3)
The job was canceled because "ubuntu-latest_8_1" failed.
unit-tests (windows-latest, 8.4)
The job was canceled because "ubuntu-latest_8_1" failed.
unit-tests (windows-latest, 8.1)
The job was canceled because "ubuntu-latest_8_1" failed.
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.
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.