Skip to content

chore: fix tests

chore: fix tests #2905

Triggered via push November 7, 2024 16:39
Status Failure
Total duration 3m 40s
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/Api/Resource/Concerns/HasHooks.php (in context of class Flarum/Api/Resource/AbstractResource)#L183
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/Database/Exception/MigrationKeyMissing.php#L22
Deprecated in PHP 8.4: Parameter #1 $file (string) is implicitly nullable via default value null.
run / PHPStan PHP 8.4: framework/core/src/Extend/ApiResource.php#L62
Deprecated in PHP 8.4: Parameter #2 $condition (callable|string) is implicitly nullable via default value null.
run / PHPStan PHP 8.4: framework/core/src/Extend/ApiResource.php#L102
Deprecated in PHP 8.4: Parameter #2 $condition (callable|string) is implicitly nullable via default value null.
run / PHPStan PHP 8.4: framework/core/src/Extend/ApiResource.php#L142
Deprecated in PHP 8.4: Parameter #2 $condition (callable|string) is implicitly nullable via default value null.
run / PHPStan PHP 8.4: framework/core/src/Extend/Frontend.php#L104
Deprecated in PHP 8.4: Parameter #3 $content (callable|string) is implicitly nullable via default value null.
run / PHPStan PHP 8.4: framework/core/src/Extend/Settings.php#L46
Deprecated in PHP 8.4: Parameter #3 $callback (callable|string) is implicitly nullable via default value null.
run / PHPStan PHP 8.4: framework/core/src/Extend/Settings.php#L97
Deprecated in PHP 8.4: Parameter #3 $callback (callable|string) is implicitly nullable via default value null.
run / PHPStan PHP 8.4: framework/core/src/Extend/Theme.php#L51
Deprecated in PHP 8.4: Parameter #3 $extensionId (string) is implicitly nullable via default value null.
run / PHPStan PHP 8.4: framework/core/src/Extension/Exception/ExtensionBootError.php#L21
Deprecated in PHP 8.4: Parameter #3 $previous (Throwable) is implicitly nullable via default value null.