Skip to content

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

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

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

Triggered via pull request November 20, 2024 08:24
Status Failure
Total duration 3m 11s
Artifacts

continuous-integration.yml

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

Annotations

12 errors
InvalidReturnType: test/unit/Command/CommandHelperTest.php#L188
test/unit/Command/CommandHelperTest.php:188:17: InvalidReturnType: The declared return type 'Generator<int, list<list{0?: string}>, mixed, void>' for Php\PieUnitTest\Command\CommandHelperTest::provideOsFamilies is incorrect, got 'Generator<int, list{list{0?: string, 1?: '*'}}, mixed, void>' (see https://psalm.dev/011)
PossiblyUnusedMethod: test/unit/Command/CommandHelperTest.php#L189
test/unit/Command/CommandHelperTest.php:189:28: PossiblyUnusedMethod: Cannot find any calls to method Php\PieUnitTest\Command\CommandHelperTest::provideOsFamilies (see https://psalm.dev/087)
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': list{'WINDOWS', 'Darwin'}} with additional array shape fields (os-families) 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': list{'*'}} with additional array shape fields (os-families) was provided (see https://psalm.dev/004)
static-analysis
Process completed with exit code 2.
unit-tests (windows-latest, 8.1)
Process completed with exit code 1.
unit-tests (windows-latest, 8.4)
The job was canceled because "windows-latest_8_1" failed.
unit-tests (windows-latest, 8.4)
The operation was canceled.
unit-tests (windows-latest, 8.3)
The job was canceled because "windows-latest_8_1" failed.
unit-tests (windows-latest, 8.3)
The operation was canceled.
unit-tests (windows-latest, 8.2)
The job was canceled because "windows-latest_8_1" failed.
unit-tests (windows-latest, 8.2)
The operation was canceled.