Skip to content

chore(deps): update phpstan packages to v2 (major) #437

chore(deps): update phpstan packages to v2 (major)

chore(deps): update phpstan packages to v2 (major) #437

Triggered via pull request December 31, 2024 07:51
Status Failure
Total duration 41s
Artifacts

pullrequest.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

23 errors and 1 warning
build (ubuntu-latest, 8.0): src/implementation/flags/MutableAttributes.php#L32
Parameter #1 $attributesMap of class OpenFeature\implementation\flags\MutableAttributes constructor expects array<array<mixed>|bool|DateTime|float|int|string|null>, array given.
build (ubuntu-latest, 8.0): tests/unit/HookContextBuilderTest.php#L21
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'OpenFeature\\interfaces\\hooks\\HookContext' and OpenFeature\interfaces\hooks\HookContext will always evaluate to true.
build (ubuntu-latest, 8.0): tests/unit/HookContextBuilderTest.php#L31
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'OpenFeature\\interfaces\\hooks\\HookContext' and OpenFeature\interfaces\hooks\HookContext will always evaluate to true.
build (ubuntu-latest, 8.0): tests/unit/HooksTest.php#L146
Call to method PHPUnit\Framework\Assert::assertNull() with null will always evaluate to true.
build (ubuntu-latest, 8.0): tests/unit/HooksTest.php#L177
Call to method PHPUnit\Framework\Assert::assertNull() with null will always evaluate to true.
build (ubuntu-latest, 8.0): tests/unit/HooksTest.php#L207
Call to method PHPUnit\Framework\Assert::assertNull() with null will always evaluate to true.
build (ubuntu-latest, 8.0): tests/unit/HooksTest.php#L221
PHPDoc tag @var with type OpenFeature\interfaces\hooks\HookHints is not subtype of native type OpenFeature\implementation\hooks\HookHints.
build (ubuntu-latest, 8.0): tests/unit/HooksTest.php#L238
PHPDoc tag @var with type OpenFeature\interfaces\hooks\HookHints is not subtype of native type OpenFeature\implementation\hooks\HookHints.
build (ubuntu-latest, 8.0): tests/unit/HooksTest.php#L339
PHPDoc tag @var with type OpenFeature\interfaces\hooks\Hook is not subtype of native type OpenFeature\Test\TestHook.
build (ubuntu-latest, 8.0): tests/unit/HooksTest.php#L341
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'OpenFeature\\interfaces\\hooks\\Hook' and OpenFeature\interfaces\hooks\Hook will always evaluate to true.
build (ubuntu-latest, 8.1)
The job was canceled because "ubuntu-latest_8_0" failed.
build (ubuntu-latest, 8.1): src/implementation/flags/MutableAttributes.php#L32
Parameter #1 $attributesMap of class OpenFeature\implementation\flags\MutableAttributes constructor expects array<array<mixed>|bool|DateTime|float|int|string|null>, array given.
build (ubuntu-latest, 8.1): tests/unit/HookContextBuilderTest.php#L21
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'OpenFeature\\interfaces\\hooks\\HookContext' and OpenFeature\interfaces\hooks\HookContext will always evaluate to true.
build (ubuntu-latest, 8.1): tests/unit/HookContextBuilderTest.php#L31
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'OpenFeature\\interfaces\\hooks\\HookContext' and OpenFeature\interfaces\hooks\HookContext will always evaluate to true.
build (ubuntu-latest, 8.1): tests/unit/HooksTest.php#L146
Call to method PHPUnit\Framework\Assert::assertNull() with null will always evaluate to true.
build (ubuntu-latest, 8.1): tests/unit/HooksTest.php#L177
Call to method PHPUnit\Framework\Assert::assertNull() with null will always evaluate to true.
build (ubuntu-latest, 8.1): tests/unit/HooksTest.php#L207
Call to method PHPUnit\Framework\Assert::assertNull() with null will always evaluate to true.
build (ubuntu-latest, 8.1): tests/unit/HooksTest.php#L221
PHPDoc tag @var with type OpenFeature\interfaces\hooks\HookHints is not subtype of native type OpenFeature\implementation\hooks\HookHints.
build (ubuntu-latest, 8.1): tests/unit/HooksTest.php#L238
PHPDoc tag @var with type OpenFeature\interfaces\hooks\HookHints is not subtype of native type OpenFeature\implementation\hooks\HookHints.
build (ubuntu-latest, 8.1): tests/unit/HooksTest.php#L339
PHPDoc tag @var with type OpenFeature\interfaces\hooks\Hook is not subtype of native type OpenFeature\Test\TestHook.
build (ubuntu-latest, 8.1): tests/unit/HooksTest.php#L341
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'OpenFeature\\interfaces\\hooks\\Hook' and OpenFeature\interfaces\hooks\Hook will always evaluate to true.
build (ubuntu-latest, 8.2)
The job was canceled because "ubuntu-latest_8_0" failed.
build (ubuntu-latest, 8.2)
The operation was canceled.
build (ubuntu-latest, 8.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636