Skip to content

Apply fixes from StyleCI #2335

Apply fixes from StyleCI

Apply fixes from StyleCI #2335

Triggered via push June 16, 2024 11:53
Status Failure
Total duration 3m 26s
Artifacts

phpstan.yml

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

Annotations

54 errors
run / PHPStan PHP 7.4: extensions/likes/src/Notification/PostLikedBlueprint.php#L16
Non-abstract class Flarum\Likes\Notification\PostLikedBlueprint contains abstract method ignoresUserVerification() from interface Flarum\Notification\Blueprint\BlueprintInterface.
run / PHPStan PHP 7.4: extensions/likes/src/Notification/PostLikedBlueprint.php#L41
Return type mixed of method Flarum\Likes\Notification\PostLikedBlueprint::getSubject() is not covariant with return type Flarum\Database\AbstractModel|null of method Flarum\Notification\Blueprint\BlueprintInterface::getSubject().
run / PHPStan PHP 7.4: extensions/likes/src/Notification/PostLikedBlueprint.php#L49
Return type mixed of method Flarum\Likes\Notification\PostLikedBlueprint::getFromUser() is not covariant with return type Flarum\User\User|null of method Flarum\Notification\Blueprint\BlueprintInterface::getFromUser().
run / PHPStan PHP 7.4: extensions/likes/src/Notification/PostLikedBlueprint.php#L57
Return type mixed of method Flarum\Likes\Notification\PostLikedBlueprint::getData() is not covariant with return type mixed of method Flarum\Notification\Blueprint\BlueprintInterface::getData().
run / PHPStan PHP 7.4: extensions/likes/src/Notification/PostLikedBlueprint.php#L64
Return type mixed of method Flarum\Likes\Notification\PostLikedBlueprint::getType() is not covariant with return type string of method Flarum\Notification\Blueprint\BlueprintInterface::getType().
run / PHPStan PHP 7.4: extensions/likes/src/Notification/PostLikedBlueprint.php#L72
Return type mixed of method Flarum\Likes\Notification\PostLikedBlueprint::getSubjectModel() is not covariant with return type string of method Flarum\Notification\Blueprint\BlueprintInterface::getSubjectModel().
run / PHPStan PHP 7.4: extensions/lock/src/Notification/DiscussionLockedBlueprint.php#L16
Non-abstract class Flarum\Lock\Notification\DiscussionLockedBlueprint contains abstract method ignoresUserVerification() from interface Flarum\Notification\Blueprint\BlueprintInterface.
run / PHPStan PHP 7.4: extensions/lock/src/Notification/DiscussionLockedBlueprint.php#L34
Return type mixed of method Flarum\Lock\Notification\DiscussionLockedBlueprint::getFromUser() is not covariant with return type Flarum\User\User|null of method Flarum\Notification\Blueprint\BlueprintInterface::getFromUser().
run / PHPStan PHP 7.4: extensions/lock/src/Notification/DiscussionLockedBlueprint.php#L42
Return type mixed of method Flarum\Lock\Notification\DiscussionLockedBlueprint::getSubject() is not covariant with return type Flarum\Database\AbstractModel|null of method Flarum\Notification\Blueprint\BlueprintInterface::getSubject().
run / PHPStan PHP 7.4: extensions/lock/src/Notification/DiscussionLockedBlueprint.php#L50
Return type mixed of method Flarum\Lock\Notification\DiscussionLockedBlueprint::getData() is not covariant with return type mixed of method Flarum\Notification\Blueprint\BlueprintInterface::getData().
run / PHPStan PHP 8.1
The job was canceled because "_7_4" failed.
run / PHPStan PHP 8.1: extensions/likes/src/Notification/PostLikedBlueprint.php#L16
Non-abstract class Flarum\Likes\Notification\PostLikedBlueprint contains abstract method ignoresUserVerification() from interface Flarum\Notification\Blueprint\BlueprintInterface.
run / PHPStan PHP 8.1: extensions/likes/src/Notification/PostLikedBlueprint.php#L41
Return type mixed of method Flarum\Likes\Notification\PostLikedBlueprint::getSubject() is not covariant with return type Flarum\Database\AbstractModel|null of method Flarum\Notification\Blueprint\BlueprintInterface::getSubject().
run / PHPStan PHP 8.1: extensions/likes/src/Notification/PostLikedBlueprint.php#L49
Return type mixed of method Flarum\Likes\Notification\PostLikedBlueprint::getFromUser() is not covariant with return type Flarum\User\User|null of method Flarum\Notification\Blueprint\BlueprintInterface::getFromUser().
run / PHPStan PHP 8.1: extensions/likes/src/Notification/PostLikedBlueprint.php#L57
Return type mixed of method Flarum\Likes\Notification\PostLikedBlueprint::getData() is not covariant with return type mixed of method Flarum\Notification\Blueprint\BlueprintInterface::getData().
run / PHPStan PHP 8.1: extensions/likes/src/Notification/PostLikedBlueprint.php#L64
Return type mixed of method Flarum\Likes\Notification\PostLikedBlueprint::getType() is not covariant with return type string of method Flarum\Notification\Blueprint\BlueprintInterface::getType().
run / PHPStan PHP 8.1: extensions/likes/src/Notification/PostLikedBlueprint.php#L72
Return type mixed of method Flarum\Likes\Notification\PostLikedBlueprint::getSubjectModel() is not covariant with return type string of method Flarum\Notification\Blueprint\BlueprintInterface::getSubjectModel().
run / PHPStan PHP 8.1: extensions/lock/src/Notification/DiscussionLockedBlueprint.php#L16
Non-abstract class Flarum\Lock\Notification\DiscussionLockedBlueprint contains abstract method ignoresUserVerification() from interface Flarum\Notification\Blueprint\BlueprintInterface.
run / PHPStan PHP 8.1: extensions/lock/src/Notification/DiscussionLockedBlueprint.php#L34
Return type mixed of method Flarum\Lock\Notification\DiscussionLockedBlueprint::getFromUser() is not covariant with return type Flarum\User\User|null of method Flarum\Notification\Blueprint\BlueprintInterface::getFromUser().
run / PHPStan PHP 8.1: extensions/lock/src/Notification/DiscussionLockedBlueprint.php#L42
Return type mixed of method Flarum\Lock\Notification\DiscussionLockedBlueprint::getSubject() is not covariant with return type Flarum\Database\AbstractModel|null of method Flarum\Notification\Blueprint\BlueprintInterface::getSubject().
run / PHPStan PHP 8.1: extensions/lock/src/Notification/DiscussionLockedBlueprint.php#L50
Return type mixed of method Flarum\Lock\Notification\DiscussionLockedBlueprint::getData() is not covariant with return type mixed of method Flarum\Notification\Blueprint\BlueprintInterface::getData().
run / PHPStan PHP 8.2
The job was canceled because "_7_4" failed.
run / PHPStan PHP 8.2: extensions/likes/src/Notification/PostLikedBlueprint.php#L16
Non-abstract class Flarum\Likes\Notification\PostLikedBlueprint contains abstract method ignoresUserVerification() from interface Flarum\Notification\Blueprint\BlueprintInterface.
run / PHPStan PHP 8.2: extensions/likes/src/Notification/PostLikedBlueprint.php#L41
Return type mixed of method Flarum\Likes\Notification\PostLikedBlueprint::getSubject() is not covariant with return type Flarum\Database\AbstractModel|null of method Flarum\Notification\Blueprint\BlueprintInterface::getSubject().
run / PHPStan PHP 8.2: extensions/likes/src/Notification/PostLikedBlueprint.php#L49
Return type mixed of method Flarum\Likes\Notification\PostLikedBlueprint::getFromUser() is not covariant with return type Flarum\User\User|null of method Flarum\Notification\Blueprint\BlueprintInterface::getFromUser().
run / PHPStan PHP 8.2: extensions/likes/src/Notification/PostLikedBlueprint.php#L57
Return type mixed of method Flarum\Likes\Notification\PostLikedBlueprint::getData() is not covariant with return type mixed of method Flarum\Notification\Blueprint\BlueprintInterface::getData().
run / PHPStan PHP 8.2: extensions/likes/src/Notification/PostLikedBlueprint.php#L64
Return type mixed of method Flarum\Likes\Notification\PostLikedBlueprint::getType() is not covariant with return type string of method Flarum\Notification\Blueprint\BlueprintInterface::getType().
run / PHPStan PHP 8.2: extensions/likes/src/Notification/PostLikedBlueprint.php#L72
Return type mixed of method Flarum\Likes\Notification\PostLikedBlueprint::getSubjectModel() is not covariant with return type string of method Flarum\Notification\Blueprint\BlueprintInterface::getSubjectModel().
run / PHPStan PHP 8.2: extensions/lock/src/Notification/DiscussionLockedBlueprint.php#L16
Non-abstract class Flarum\Lock\Notification\DiscussionLockedBlueprint contains abstract method ignoresUserVerification() from interface Flarum\Notification\Blueprint\BlueprintInterface.
run / PHPStan PHP 8.2: extensions/lock/src/Notification/DiscussionLockedBlueprint.php#L34
Return type mixed of method Flarum\Lock\Notification\DiscussionLockedBlueprint::getFromUser() is not covariant with return type Flarum\User\User|null of method Flarum\Notification\Blueprint\BlueprintInterface::getFromUser().
run / PHPStan PHP 8.2: extensions/lock/src/Notification/DiscussionLockedBlueprint.php#L42
Return type mixed of method Flarum\Lock\Notification\DiscussionLockedBlueprint::getSubject() is not covariant with return type Flarum\Database\AbstractModel|null of method Flarum\Notification\Blueprint\BlueprintInterface::getSubject().
run / PHPStan PHP 8.2: extensions/lock/src/Notification/DiscussionLockedBlueprint.php#L50
Return type mixed of method Flarum\Lock\Notification\DiscussionLockedBlueprint::getData() is not covariant with return type mixed of method Flarum\Notification\Blueprint\BlueprintInterface::getData().
run / PHPStan PHP 8.0
The job was canceled because "_7_4" failed.
run / PHPStan PHP 8.0: extensions/likes/src/Notification/PostLikedBlueprint.php#L16
Non-abstract class Flarum\Likes\Notification\PostLikedBlueprint contains abstract method ignoresUserVerification() from interface Flarum\Notification\Blueprint\BlueprintInterface.
run / PHPStan PHP 8.0: extensions/likes/src/Notification/PostLikedBlueprint.php#L41
Return type mixed of method Flarum\Likes\Notification\PostLikedBlueprint::getSubject() is not covariant with return type Flarum\Database\AbstractModel|null of method Flarum\Notification\Blueprint\BlueprintInterface::getSubject().
run / PHPStan PHP 8.0: extensions/likes/src/Notification/PostLikedBlueprint.php#L49
Return type mixed of method Flarum\Likes\Notification\PostLikedBlueprint::getFromUser() is not covariant with return type Flarum\User\User|null of method Flarum\Notification\Blueprint\BlueprintInterface::getFromUser().
run / PHPStan PHP 8.0: extensions/likes/src/Notification/PostLikedBlueprint.php#L57
Return type mixed of method Flarum\Likes\Notification\PostLikedBlueprint::getData() is not covariant with return type mixed of method Flarum\Notification\Blueprint\BlueprintInterface::getData().
run / PHPStan PHP 8.0: extensions/likes/src/Notification/PostLikedBlueprint.php#L64
Return type mixed of method Flarum\Likes\Notification\PostLikedBlueprint::getType() is not covariant with return type string of method Flarum\Notification\Blueprint\BlueprintInterface::getType().
run / PHPStan PHP 8.0: extensions/likes/src/Notification/PostLikedBlueprint.php#L72
Return type mixed of method Flarum\Likes\Notification\PostLikedBlueprint::getSubjectModel() is not covariant with return type string of method Flarum\Notification\Blueprint\BlueprintInterface::getSubjectModel().
run / PHPStan PHP 8.0: extensions/lock/src/Notification/DiscussionLockedBlueprint.php#L16
Non-abstract class Flarum\Lock\Notification\DiscussionLockedBlueprint contains abstract method ignoresUserVerification() from interface Flarum\Notification\Blueprint\BlueprintInterface.
run / PHPStan PHP 8.0: extensions/lock/src/Notification/DiscussionLockedBlueprint.php#L34
Return type mixed of method Flarum\Lock\Notification\DiscussionLockedBlueprint::getFromUser() is not covariant with return type Flarum\User\User|null of method Flarum\Notification\Blueprint\BlueprintInterface::getFromUser().
run / PHPStan PHP 8.0: extensions/lock/src/Notification/DiscussionLockedBlueprint.php#L42
Return type mixed of method Flarum\Lock\Notification\DiscussionLockedBlueprint::getSubject() is not covariant with return type Flarum\Database\AbstractModel|null of method Flarum\Notification\Blueprint\BlueprintInterface::getSubject().
run / PHPStan PHP 8.0: extensions/lock/src/Notification/DiscussionLockedBlueprint.php#L50
Return type mixed of method Flarum\Lock\Notification\DiscussionLockedBlueprint::getData() is not covariant with return type mixed of method Flarum\Notification\Blueprint\BlueprintInterface::getData().
run / PHPStan PHP 7.3
The job was canceled because "_7_4" failed.
run / PHPStan PHP 7.3: extensions/likes/src/Notification/PostLikedBlueprint.php#L16
Non-abstract class Flarum\Likes\Notification\PostLikedBlueprint contains abstract method ignoresUserVerification() from interface Flarum\Notification\Blueprint\BlueprintInterface.
run / PHPStan PHP 7.3: extensions/likes/src/Notification/PostLikedBlueprint.php#L41
Return type mixed of method Flarum\Likes\Notification\PostLikedBlueprint::getSubject() is not compatible with return type Flarum\Database\AbstractModel|null of method Flarum\Notification\Blueprint\BlueprintInterface::getSubject().
run / PHPStan PHP 7.3: extensions/likes/src/Notification/PostLikedBlueprint.php#L49
Return type mixed of method Flarum\Likes\Notification\PostLikedBlueprint::getFromUser() is not compatible with return type Flarum\User\User|null of method Flarum\Notification\Blueprint\BlueprintInterface::getFromUser().
run / PHPStan PHP 7.3: extensions/likes/src/Notification/PostLikedBlueprint.php#L57
Return type mixed of method Flarum\Likes\Notification\PostLikedBlueprint::getData() is not compatible with return type mixed of method Flarum\Notification\Blueprint\BlueprintInterface::getData().
run / PHPStan PHP 7.3: extensions/likes/src/Notification/PostLikedBlueprint.php#L64
Return type mixed of method Flarum\Likes\Notification\PostLikedBlueprint::getType() is not compatible with return type string of method Flarum\Notification\Blueprint\BlueprintInterface::getType().
run / PHPStan PHP 7.3: extensions/likes/src/Notification/PostLikedBlueprint.php#L72
Return type mixed of method Flarum\Likes\Notification\PostLikedBlueprint::getSubjectModel() is not compatible with return type string of method Flarum\Notification\Blueprint\BlueprintInterface::getSubjectModel().
run / PHPStan PHP 7.3: extensions/lock/src/Notification/DiscussionLockedBlueprint.php#L16
Non-abstract class Flarum\Lock\Notification\DiscussionLockedBlueprint contains abstract method ignoresUserVerification() from interface Flarum\Notification\Blueprint\BlueprintInterface.
run / PHPStan PHP 7.3: extensions/lock/src/Notification/DiscussionLockedBlueprint.php#L34
Return type mixed of method Flarum\Lock\Notification\DiscussionLockedBlueprint::getFromUser() is not compatible with return type Flarum\User\User|null of method Flarum\Notification\Blueprint\BlueprintInterface::getFromUser().
run / PHPStan PHP 7.3: extensions/lock/src/Notification/DiscussionLockedBlueprint.php#L42
Return type mixed of method Flarum\Lock\Notification\DiscussionLockedBlueprint::getSubject() is not compatible with return type Flarum\Database\AbstractModel|null of method Flarum\Notification\Blueprint\BlueprintInterface::getSubject().
run / PHPStan PHP 7.3: extensions/lock/src/Notification/DiscussionLockedBlueprint.php#L50
Return type mixed of method Flarum\Lock\Notification\DiscussionLockedBlueprint::getData() is not compatible with return type mixed of method Flarum\Notification\Blueprint\BlueprintInterface::getData().