Skip to content

Make (in)compatible OS families non-empty-list or a nullable to expre… #168

Make (in)compatible OS families non-empty-list or a nullable to expre…

Make (in)compatible OS families non-empty-list or a nullable to expre… #168

Triggered via push November 28, 2024 07:52
Status Failure
Total duration 2m 16s
Artifacts
Matrix: unit-tests
coding-standards
23s
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

26 errors
coding-standards
Process completed with exit code 2.
MixedAssignment: src/DependencyResolver/Package.php#L78
src/DependencyResolver/Package.php:78:9: MixedAssignment: Unable to determine the type that $compatibleOsFamilies is being assigned to (see https://psalm.dev/032)
MixedAssignment: src/DependencyResolver/Package.php#L82
src/DependencyResolver/Package.php:82:9: MixedAssignment: Unable to determine the type that $incompatibleOsFamilies is being assigned to (see https://psalm.dev/032)
MixedArgument: src/DependencyResolver/Package.php#L101
src/DependencyResolver/Package.php:101:64: MixedArgument: Argument 1 of Php\Pie\DependencyResolver\Package::convertInputStringsToOperatingSystemFamilies cannot be mixed|null, expecting list<string>|null (see https://psalm.dev/030)
MixedArgument: src/DependencyResolver/Package.php#L102
src/DependencyResolver/Package.php:102:64: MixedArgument: Argument 1 of Php\Pie\DependencyResolver\Package::convertInputStringsToOperatingSystemFamilies cannot be mixed|null, expecting list<string>|null (see https://psalm.dev/030)
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.4)
Process completed with exit code 2.
unit-tests (windows-latest, 8.4)
The job was canceled because "ubuntu-latest_8_4" failed.
unit-tests (windows-latest, 8.4)
The operation was canceled.
unit-tests (windows-latest, 8.2)
The job was canceled because "ubuntu-latest_8_4" 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_4" failed.
unit-tests (windows-latest, 8.3)
The operation was canceled.
unit-tests (ubuntu-latest, 8.2)
The job was canceled because "ubuntu-latest_8_4" failed.
unit-tests (ubuntu-latest, 8.2)
The operation was canceled.
unit-tests (ubuntu-latest, 8.1)
The job was canceled because "ubuntu-latest_8_4" failed.
unit-tests (ubuntu-latest, 8.1)
The operation was canceled.
unit-tests (ubuntu-latest, 8.3)
The job was canceled because "ubuntu-latest_8_4" failed.
unit-tests (ubuntu-latest, 8.3)
The operation was canceled.
unit-tests (windows-latest, 8.1)
The job was canceled because "ubuntu-latest_8_4" failed.
unit-tests (windows-latest, 8.1)
The operation was canceled.