Skip to content

Update build

Update build #36

Triggered via push January 16, 2025 15:45
Status Failure
Total duration 1m 41s
Artifacts

build.yml

on: push
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
Linting: src/Capsules/SessionKey.php#L109
Method Cerbero\LaravelEnum\Capsules\SessionKey::increment() should return float|int but returns mixed.
Linting: src/Capsules/SessionKey.php#L109
Parameter #2 $amount of static method Illuminate\Support\Facades\Session::increment() expects int, float|int given.
Linting: src/Capsules/SessionKey.php#L115
Method Cerbero\LaravelEnum\Capsules\SessionKey::decrement() never returns float so it can be removed from the return type.
Linting: src/Capsules/SessionKey.php#L117
Parameter #2 $amount of static method Illuminate\Support\Facades\Session::decrement() expects int, float|int given.
Linting: src/CasesCollection.php#L24
Template type TEnum is declared as covariant, but occurs in invariant position in implemented type Illuminate\Contracts\Support\Arrayable<(int|string), TEnum of UnitEnum> of class Cerbero\LaravelEnum\CasesCollection.
Linting: src/CasesCollection.php#L36
Template type TEnum is declared as covariant, but occurs in invariant position in return type of method Cerbero\LaravelEnum\CasesCollection::castUsing().
Linting: src/CasesCollection.php#L47
Template type TEnum is declared as covariant, but occurs in contravariant position in parameter enum of method Cerbero\LaravelEnum\CasesCollection::of().
Linting: src/CasesCollectionCast.php#L21
Type mixed in generic type Cerbero\LaravelEnum\CasesCollection<mixed> in PHPDoc tag @implements is not subtype of template type TEnum of UnitEnum of class Cerbero\LaravelEnum\CasesCollection.
Linting: src/CasesCollectionCast.php#L46
Type mixed in generic type Cerbero\LaravelEnum\CasesCollection<mixed> in PHPDoc tag @return is not subtype of template type TEnum of UnitEnum of class Cerbero\LaravelEnum\CasesCollection.
Linting: src/CasesCollectionCast.php#L49
Type mixed in generic type Cerbero\LaravelEnum\CasesCollection<mixed> in PHPDoc tag @var is not subtype of template type TEnum of UnitEnum of class Cerbero\LaravelEnum\CasesCollection.
PHP 8.1 - Laravel 10.* - prefer-stable - ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Linting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.3 - Laravel 10.* - prefer-stable - ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.2 - Laravel 10.* - prefer-stable - ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.4 - Laravel 10.* - prefer-stable - ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636