chore(2.0): try to refactor the remainder of the backend #42
Annotations
7 errors and 1 warning
Run PHPStan:
src/Listeners/AddApiAttributes.php#L19
Parameter $serializer of method FoF\FrontPage\Listeners\AddApiAttributes::__invoke() has invalid type Flarum\Api\Serializer\DiscussionSerializer.
|
Run PHPStan:
src/Listeners/AddApiAttributes.php#L22
Call to method formatDate() on an unknown class Flarum\Api\Serializer\DiscussionSerializer.
|
Run PHPStan:
src/Listeners/AddApiAttributes.php#L23
Call to method getActor() on an unknown class Flarum\Api\Serializer\DiscussionSerializer.
|
Run PHPStan:
src/Query/FrontFilter.php#L33
Parameter $search of method FoF\FrontPage\Query\FrontFilter::conditions() has invalid type Flarum\Search\AbstractQueryState.
|
Run PHPStan:
src/Query/FrontFilter.php#L35
Call to method getQuery() on an unknown class Flarum\Search\AbstractQueryState.
|
Run PHPStan:
src/Query/FrontFilter.php#L40
Call to an undefined method Flarum\Search\SearchState::getQuery().
|
Run PHPStan
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading