feat: Mentions #988
Annotations
8 errors
Run phpstan:
app/Domains/Contact/ManageContactFeed/Web/Controllers/ContactFeedController.php#L109
Property App\Models\ContactFeedItem::$contact is not writable.
|
Run phpstan:
app/Domains/Contact/ManageContactFeed/Web/ViewHelpers/ModuleFeedViewHelper.php#L26
Parameter #1 $callback of method Illuminate\Support\Collection<(int|string),mixed>::map() contains unresolvable type.
|
Run phpstan:
app/Domains/Contact/ManageContactFeed/Web/ViewHelpers/ModuleFeedViewHelper.php#L42
Function preg_match_all is unsafe to use. It can return FALSE instead of throwing an exception. Please add 'use function Safe\preg_match_all;' at the beginning of the file to use the variant provided by the 'thecodingmachine/safe' library.
|
Run phpstan:
app/Domains/Contact/ManageContactFeed/Web/ViewHelpers/ModuleFeedViewHelper.php#L43
Offset 1 on array{list<string>, list<non-empty-string>, list<string>} on left side of ?? always exists and is not nullable.
|
Run phpstan:
app/Domains/Contact/ManageContactFeed/Web/ViewHelpers/ModuleFeedViewHelper.php#L120
Method App\Domains\Contact\ManageContactFeed\Web\ViewHelpers\ModuleFeedViewHelper::getAuthor() never returns null so it can be removed from the return type.
|
Run phpstan:
app/Domains/Contact/ManageContactFeed/Web/ViewHelpers/ModuleFeedViewHelper.php#L124
Property App\Models\User::$id (int) does not accept string|null.
|
Run phpstan:
app/Models/Post.php#L167
Function preg_match_all is unsafe to use. It can return FALSE instead of throwing an exception. Please add 'use function Safe\preg_match_all;' at the beginning of the file to use the variant provided by the 'thecodingmachine/safe' library.
|
Run phpstan
Process completed with exit code 1.
|
Loading