Skip to content

chore: fix tests

chore: fix tests #2907

Triggered via push November 7, 2024 17:26
Status Failure
Total duration 3m 35s
Artifacts

phpstan.yml

on: push
Matrix: run / phpstan
Matrix: run / test
Fit to window
Zoom out
Zoom in

Annotations

14 errors
run / PHPStan PHP 8.4: framework/core/src/Formatter/Formatter.php#L66
Deprecated in PHP 8.4: Parameter #3 $user (Flarum\User\User) is implicitly nullable via default value null.
run / PHPStan PHP 8.4: framework/core/src/Formatter/Formatter.php#L84
Deprecated in PHP 8.4: Parameter #3 $request (Psr\Http\Message\ServerRequestInterface) is implicitly nullable via default value null.
run / PHPStan PHP 8.4: framework/core/src/Http/AccessToken.php#L195
Deprecated in PHP 8.4: Parameter #2 $date (Carbon\Carbon) is implicitly nullable via default value null.
run / PHPStan PHP 8.4: framework/core/src/Http/RouteHandlerFactory.php#L69
Deprecated in PHP 8.4: Parameter #1 $content (string) is implicitly nullable via default value null.
run / PHPStan PHP 8.4: framework/core/src/Mail/Mailer.php#L24
Deprecated in PHP 8.4: Parameter #4 $events (Illuminate\Contracts\Events\Dispatcher) is implicitly nullable via default value null.
run / PHPStan PHP 8.4: framework/core/src/Post/DiscussionRenamedPost.php#L24
Deprecated in PHP 8.4: Parameter #1 $previous (Flarum\Post\Post) is implicitly nullable via default value null.
run / PHPStan PHP 8.4: framework/core/src/User/User.php#L653
Deprecated in PHP 8.4: Parameter #2 $transformer (callable) is implicitly nullable via default value null.
run / PHPStan PHP 8.4: framework/core/src/User/UserRepository.php#L36
Deprecated in PHP 8.4: Parameter #2 $actor (Flarum\User\User) is implicitly nullable via default value null.
run / PHPStan PHP 8.4: framework/core/src/User/UserRepository.php#L85
Deprecated in PHP 8.4: Parameter #2 $actor (Flarum\User\User) is implicitly nullable via default value null.
run / PHPStan PHP 8.4
Process completed with exit code 1.
run / PHPStan PHP 8.3
The job was canceled because "_8_4" failed.
run / PHPStan PHP 8.3
The operation was canceled.
run / PHPStan PHP 8.2
The job was canceled because "_8_4" failed.
run / PHPStan PHP 8.2
The operation was canceled.