Add support for os-families-exclude
in extensions composer.json
#244
Annotations
10 errors
Run Psalm:
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)
|
Run Psalm:
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)
|
Run Psalm:
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)
|
Run Psalm:
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)
|
Run Psalm:
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)
|
Run Psalm:
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)
|
Run Psalm:
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)
|
Run Psalm:
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)
|
Run Psalm:
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)
|
Run Psalm:
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)
|
Loading