Add support for os-families-exclude
in extensions composer.json
#245
continuous-integration.yml
on: pull_request
Matrix: unit-tests
Matrix: behaviour-tests
Matrix: build-phar / build-phar
Waiting for pending jobs
Annotations
10 errors
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)
|
InvalidArgument:
test/unit/DependencyResolver/PackageTest.php#L132
test/unit/DependencyResolver/PackageTest.php:132: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{'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{'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{'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{'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{'extension-name': 'testext', 'os-families-exclude': list{'Darwin', 'Solaris'}} with additional array shape fields (os-families-exclude) was provided (see https://psalm.dev/004)
|
static-analysis
Process completed with exit code 2.
|