chore: enable phpstan #1
Annotations
11 errors
|
Run PHPStan:
src/Action.php#L58
PHPDoc tag @return with type FoF\Webhooks\Response|null is not subtype of native type FoF\Webhooks\Response.
|
Run PHPStan:
src/Actions/Discussion/Action.php#L36
Call to an undefined method Flarum\Discussion\Discussion::tags().
|
Run PHPStan:
src/Actions/Post/Approved.php#L21
Class Flarum\Approval\Event\PostWasApproved not found.
|
Run PHPStan:
src/Actions/Post/Approved.php#L29
Parameter $event of method FoF\Webhooks\Actions\Post\Approved::handle() has invalid type Flarum\Approval\Event\PostWasApproved.
|
Run PHPStan:
src/Actions/Post/Approved.php#L31
Access to property $post on an unknown class Flarum\Approval\Event\PostWasApproved.
|
Run PHPStan:
src/Actions/Post/Approved.php#L33
Access to property $post on an unknown class Flarum\Approval\Event\PostWasApproved.
|
Run PHPStan:
src/Actions/Post/Approved.php#L33
Access to property $post on an unknown class Flarum\Approval\Event\PostWasApproved.
|
Run PHPStan:
src/Actions/Post/Approved.php#L36
Parameter #2 $event of method FoF\Webhooks\Actions\Post\Posted::handle() expects Flarum\Post\Event\Posted, Flarum\Approval\Event\PostWasApproved given.
|
Run PHPStan:
src/Actions/Post/Approved.php#L42
Access to property $post on an unknown class Flarum\Approval\Event\PostWasApproved.
|
Run PHPStan:
src/Actions/Post/Approved.php#L47
Access to property $post on an unknown class Flarum\Approval\Event\PostWasApproved.
|
The logs for this run have expired and are no longer available.
Loading