Skip to content
Triggered via push December 8, 2023 16:00
Status Failure
Total duration 2m 49s
Artifacts

analyse.yaml

on: push
Matrix: analyse
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHP8.2 PHPStan & Pint: src/Hook.php#L3
File is missing a "declare(strict_types=1)" declaration.
PHP8.2 PHPStan & Pint: src/Hook.php#L11
Class Orchestra\Testbench\Pest\Hook is neither abstract nor final.
PHP8.2 PHPStan & Pint: src/Hook.php#L39
Method Orchestra\Testbench\Pest\Hook::setUp() has no return type specified.
PHP8.2 PHPStan & Pint: src/Hook.php#L39
Method Orchestra\Testbench\Pest\Hook::setUp() has parameter $callback with a nullable type declaration.
PHP8.2 PHPStan & Pint: src/Hook.php#L39
Method Orchestra\Testbench\Pest\Hook::setUp() has parameter $callback with null as default value.
PHP8.2 PHPStan & Pint: src/Hook.php#L39
PHPDoc tag @param for parameter $callback with type TCallback|null is not subtype of native type Closure|null.
PHP8.2 PHPStan & Pint: src/Hook.php#L41
Static property Orchestra\Testbench\Pest\Hook<TSetUpTearDownCallback,TCallback>::$cachedSetUpHooks (array<string, TCallback|null>) does not accept array<string, Closure|TCallback|null>.
PHP8.2 PHPStan & Pint: src/Hook.php#L52
Method Orchestra\Testbench\Pest\Hook::tearDown() has no return type specified.
PHP8.2 PHPStan & Pint: src/Hook.php#L52
Method Orchestra\Testbench\Pest\Hook::tearDown() has parameter $callback with a nullable type declaration.
PHP8.2 PHPStan & Pint: src/Hook.php#L52
Method Orchestra\Testbench\Pest\Hook::tearDown() has parameter $callback with null as default value.