Skip to content

perf: store message mentions for better performance #2766

perf: store message mentions for better performance

perf: store message mentions for better performance #2766

Triggered via push October 19, 2024 15:21
Status Failure
Total duration 3m 28s
Artifacts

phpstan.yml

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

Annotations

21 errors
run / PHPStan PHP 8.3: extensions/mentions/src/Formatter/FormatGroupMentions.php#L29
Access to an undefined property Flarum\Database\AbstractModel::$mentionsGroups.
run / PHPStan PHP 8.3: extensions/mentions/src/Formatter/FormatPostMentions.php#L35
Access to an undefined property Flarum\Database\AbstractModel::$mentionsPosts.
run / PHPStan PHP 8.3: extensions/mentions/src/Formatter/FormatTagMentions.php#L25
Access to an undefined property Flarum\Database\AbstractModel::$mentionsTags.
run / PHPStan PHP 8.3: extensions/mentions/src/Formatter/FormatUserMentions.php#L31
Access to an undefined property Flarum\Database\AbstractModel::$mentionsUsers.
run / PHPStan PHP 8.3: extensions/mentions/src/Formatter/UnparsePostMentions.php#L38
Access to an undefined property Flarum\Database\AbstractModel::$mentionsPosts.
run / PHPStan PHP 8.3: extensions/mentions/src/Formatter/UnparseTagMentions.php#L33
Access to an undefined property Flarum\Database\AbstractModel::$mentionsTags.
run / PHPStan PHP 8.3: extensions/mentions/src/Formatter/UnparseUserMentions.php#L38
Access to an undefined property Flarum\Database\AbstractModel::$mentionsUsers.
run / PHPStan PHP 8.3: extensions/messages/src/Listener/UpdateMentionsMetadataWhenVisible.php#L25
Access to protected property Flarum\Messages\DialogMessage\Event\Created|Flarum\Messages\DialogMessage\Event\Updated::$message.
run / PHPStan PHP 8.3: extensions/messages/src/Listener/UpdateMentionsMetadataWhenVisible.php#L29
Access to protected property Flarum\Messages\DialogMessage\Event\Created|Flarum\Messages\DialogMessage\Event\Updated::$message.
run / PHPStan PHP 8.3: extensions/messages/src/Listener/UpdateMentionsMetadataWhenVisible.php#L32
Access to protected property Flarum\Messages\DialogMessage\Event\Created|Flarum\Messages\DialogMessage\Event\Updated::$message.
run / PHPStan PHP 8.2
The job was canceled because "_8_3" failed.
run / PHPStan PHP 8.2: extensions/mentions/src/Formatter/FormatGroupMentions.php#L29
Access to an undefined property Flarum\Database\AbstractModel::$mentionsGroups.
run / PHPStan PHP 8.2: extensions/mentions/src/Formatter/FormatPostMentions.php#L35
Access to an undefined property Flarum\Database\AbstractModel::$mentionsPosts.
run / PHPStan PHP 8.2: extensions/mentions/src/Formatter/FormatTagMentions.php#L25
Access to an undefined property Flarum\Database\AbstractModel::$mentionsTags.
run / PHPStan PHP 8.2: extensions/mentions/src/Formatter/FormatUserMentions.php#L31
Access to an undefined property Flarum\Database\AbstractModel::$mentionsUsers.
run / PHPStan PHP 8.2: extensions/mentions/src/Formatter/UnparsePostMentions.php#L38
Access to an undefined property Flarum\Database\AbstractModel::$mentionsPosts.
run / PHPStan PHP 8.2: extensions/mentions/src/Formatter/UnparseTagMentions.php#L33
Access to an undefined property Flarum\Database\AbstractModel::$mentionsTags.
run / PHPStan PHP 8.2: extensions/mentions/src/Formatter/UnparseUserMentions.php#L38
Access to an undefined property Flarum\Database\AbstractModel::$mentionsUsers.
run / PHPStan PHP 8.2: extensions/messages/src/Listener/UpdateMentionsMetadataWhenVisible.php#L25
Access to protected property Flarum\Messages\DialogMessage\Event\Created|Flarum\Messages\DialogMessage\Event\Updated::$message.
run / PHPStan PHP 8.2: extensions/messages/src/Listener/UpdateMentionsMetadataWhenVisible.php#L29
Access to protected property Flarum\Messages\DialogMessage\Event\Created|Flarum\Messages\DialogMessage\Event\Updated::$message.
run / PHPStan PHP 8.2: extensions/messages/src/Listener/UpdateMentionsMetadataWhenVisible.php#L32
Access to protected property Flarum\Messages\DialogMessage\Event\Created|Flarum\Messages\DialogMessage\Event\Updated::$message.