Skip to content

chore(2.0): try to refactor the remainder of the backend #42

chore(2.0): try to refactor the remainder of the backend

chore(2.0): try to refactor the remainder of the backend #42

Triggered via push December 18, 2024 11:03
Status Failure
Total duration 46s
Artifacts

backend.yml

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

Annotations

23 errors and 1 warning
run / PHPStan PHP 8.3: src/Listeners/AddApiAttributes.php#L19
Parameter $serializer of method FoF\FrontPage\Listeners\AddApiAttributes::__invoke() has invalid type Flarum\Api\Serializer\DiscussionSerializer.
run / PHPStan PHP 8.3: src/Listeners/AddApiAttributes.php#L22
Call to method formatDate() on an unknown class Flarum\Api\Serializer\DiscussionSerializer.
run / PHPStan PHP 8.3: src/Listeners/AddApiAttributes.php#L23
Call to method getActor() on an unknown class Flarum\Api\Serializer\DiscussionSerializer.
run / PHPStan PHP 8.3: src/Query/FrontFilter.php#L33
Parameter $search of method FoF\FrontPage\Query\FrontFilter::conditions() has invalid type Flarum\Search\AbstractQueryState.
run / PHPStan PHP 8.3: src/Query/FrontFilter.php#L35
Call to method getQuery() on an unknown class Flarum\Search\AbstractQueryState.
run / PHPStan PHP 8.3: src/Query/FrontFilter.php#L40
Call to an undefined method Flarum\Search\SearchState::getQuery().
run / PHPStan PHP 8.3
Process completed with exit code 1.
run / PHPStan PHP 8.4
The job was canceled because "_8_3" failed.
run / PHPStan PHP 8.4: src/Listeners/AddApiAttributes.php#L19
Parameter $serializer of method FoF\FrontPage\Listeners\AddApiAttributes::__invoke() has invalid type Flarum\Api\Serializer\DiscussionSerializer.
run / PHPStan PHP 8.4: src/Listeners/AddApiAttributes.php#L22
Call to method formatDate() on an unknown class Flarum\Api\Serializer\DiscussionSerializer.
run / PHPStan PHP 8.4: src/Listeners/AddApiAttributes.php#L23
Call to method getActor() on an unknown class Flarum\Api\Serializer\DiscussionSerializer.
run / PHPStan PHP 8.4: src/Query/FrontFilter.php#L33
Parameter $search of method FoF\FrontPage\Query\FrontFilter::conditions() has invalid type Flarum\Search\AbstractQueryState.
run / PHPStan PHP 8.4: src/Query/FrontFilter.php#L35
Call to method getQuery() on an unknown class Flarum\Search\AbstractQueryState.
run / PHPStan PHP 8.4: src/Query/FrontFilter.php#L40
Call to an undefined method Flarum\Search\SearchState::getQuery().
run / PHPStan PHP 8.4
The operation was canceled.
run / PHPStan PHP 8.2
The job was canceled because "_8_3" failed.
run / PHPStan PHP 8.2: src/Listeners/AddApiAttributes.php#L19
Parameter $serializer of method FoF\FrontPage\Listeners\AddApiAttributes::__invoke() has invalid type Flarum\Api\Serializer\DiscussionSerializer.
run / PHPStan PHP 8.2: src/Listeners/AddApiAttributes.php#L22
Call to method formatDate() on an unknown class Flarum\Api\Serializer\DiscussionSerializer.
run / PHPStan PHP 8.2: src/Listeners/AddApiAttributes.php#L23
Call to method getActor() on an unknown class Flarum\Api\Serializer\DiscussionSerializer.
run / PHPStan PHP 8.2: src/Query/FrontFilter.php#L33
Parameter $search of method FoF\FrontPage\Query\FrontFilter::conditions() has invalid type Flarum\Search\AbstractQueryState.
run / PHPStan PHP 8.2: src/Query/FrontFilter.php#L35
Call to method getQuery() on an unknown class Flarum\Search\AbstractQueryState.
run / PHPStan PHP 8.2: src/Query/FrontFilter.php#L40
Call to an undefined method Flarum\Search\SearchState::getQuery().
run / PHPStan PHP 8.2
The operation was canceled.
run / PHPStan PHP 8.3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636