Skip to content

chore: fix tests

chore: fix tests #2906

Triggered via push November 7, 2024 16:55
Status Failure
Total duration 3m 39s
Artifacts

phpstan.yml

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

Annotations

10 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/Frontend/Assets.php#L89
Deprecated in PHP 8.4: Parameter #3 $locale (string) is implicitly nullable via default value null.
run / PHPStan PHP 8.4: framework/core/src/Frontend/Compiler/Source/SourceCollector.php#L47
Deprecated in PHP 8.4: Parameter #2 $extensionId (string) is implicitly nullable via default value null.
run / PHPStan PHP 8.4: framework/core/src/Http/AccessToken.php#L110
Deprecated in PHP 8.4: Parameter #2 $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/Http/RouteHandlerFactory.php#L74
Deprecated in PHP 8.4: Parameter #1 $content (string) is implicitly nullable via default value null.
run / PHPStan PHP 8.4: framework/core/src/Locale/LocaleManager.php#L52
Deprecated in PHP 8.4: Parameter #3 $module (string) is implicitly nullable via default value null.
run / PHPStan PHP 8.4: framework/core/src/Mail/FlarumLogTransport.php#L22
Deprecated in PHP 8.4: Parameter #2 $envelope (Symfony\Component\Mailer\Envelope) is implicitly nullable via default value null.