Skip to content

Apply fixes from StyleCI #1757

Apply fixes from StyleCI

Apply fixes from StyleCI #1757

Triggered via push October 12, 2023 18:09
Status Failure
Total duration 6m 7s
Artifacts

phpstan.yml

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

Annotations

9 errors
run / PHPStan PHP 8.2: framework/core/src/Discussion/Discussion.php#L147
Parameter #2 $method of method Illuminate\Database\Eloquent\Model::fireCustomModelEvent() expects string, false given.
run / PHPStan PHP 8.2: framework/core/src/Discussion/Discussion.php#L161
Parameter #2 $method of method Illuminate\Database\Eloquent\Model::fireCustomModelEvent() expects string, false given.
run / PHPStan PHP 8.2: framework/core/src/Search/Listener/ModelObserver.php#L58
Parameter #1 $resourceClass of method Flarum\Search\SearchManager::indexers() expects class-string<Flarum\Database\AbstractModel>, Flarum\Database\AbstractModel given.
run / PHPStan PHP 8.2
Process completed with exit code 1.
run / PHPStan PHP 8.1
The job was canceled because "_8_2" failed.
run / PHPStan PHP 8.1: framework/core/src/Discussion/Discussion.php#L147
Parameter #2 $method of method Illuminate\Database\Eloquent\Model::fireCustomModelEvent() expects string, false given.
run / PHPStan PHP 8.1: framework/core/src/Discussion/Discussion.php#L161
Parameter #2 $method of method Illuminate\Database\Eloquent\Model::fireCustomModelEvent() expects string, false given.
run / PHPStan PHP 8.1: framework/core/src/Search/Listener/ModelObserver.php#L58
Parameter #1 $resourceClass of method Flarum\Search\SearchManager::indexers() expects class-string<Flarum\Database\AbstractModel>, Flarum\Database\AbstractModel given.
run / PHPStan PHP 8.1
Process completed with exit code 1.