Skip to content

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

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

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

Triggered via pull request November 11, 2024 10:22
Status Failure
Total duration 38s
Artifacts

pullrequest.yml

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

Annotations

32 errors
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.0)
The job was canceled because "ubuntu-latest_8_1" failed.
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.2)
The job was canceled because "ubuntu-latest_8_1" failed.
build (ubuntu-latest, 8.2): 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.2): 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.2): 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.2): tests/unit/HooksTest.php#L146
Call to method PHPUnit\Framework\Assert::assertNull() with null will always evaluate to true.
build (ubuntu-latest, 8.2): tests/unit/HooksTest.php#L177
Call to method PHPUnit\Framework\Assert::assertNull() with null will always evaluate to true.
build (ubuntu-latest, 8.2): tests/unit/HooksTest.php#L207
Call to method PHPUnit\Framework\Assert::assertNull() with null will always evaluate to true.
build (ubuntu-latest, 8.2): 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.2): 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.2): 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.2): 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.