Skip to content

Merge pull request #7 from rupadana/add-alignments #11

Merge pull request #7 from rupadana/add-alignments

Merge pull request #7 from rupadana/add-alignments #11

Triggered via push January 28, 2024 13:58
Status Failure
Total duration 42s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
phpstan: src/Components/Announcement.php#L47
Method Rupadana\FilamentAnnounce\Components\Announcement::getNotifications() should return Illuminate\Notifications\DatabaseNotificationCollection but returns Illuminate\Database\Eloquent\Collection<int, Illuminate\Database\Eloquent\Model>.
phpstan: src/FilamentAnnounceServiceProvider.php#L48
Method Rupadana\FilamentAnnounce\FilamentAnnounceServiceProvider::getAssets() has invalid return type Rupadana\FilamentAnnounce\Asset.
phpstan: src/Resources/AnnouncementResource.php#L55
Call to static method all() on an unknown class App\Models\User.
phpstan: src/Resources/AnnouncementResource.php#L97
Call to an undefined method Illuminate\Foundation\Auth\User::hasRole().
phpstan: src/Resources/AnnouncementResource/Pages/CreateAnnouncement.php#L24
Access to an undefined property Illuminate\Database\Eloquent\Model::$color.
phpstan: src/Resources/AnnouncementResource/Pages/CreateAnnouncement.php#L25
Access to an undefined property Illuminate\Database\Eloquent\Model::$custom_color.
phpstan: src/Resources/AnnouncementResource/Pages/CreateAnnouncement.php#L26
Access to an undefined property Illuminate\Database\Eloquent\Model::$icon.
phpstan: src/Resources/AnnouncementResource/Pages/CreateAnnouncement.php#L27
Access to an undefined property Illuminate\Database\Eloquent\Model::$title.
phpstan: src/Resources/AnnouncementResource/Pages/CreateAnnouncement.php#L28
Access to an undefined property Illuminate\Database\Eloquent\Model::$body.
phpstan: src/Resources/AnnouncementResource/Pages/CreateAnnouncement.php#L30
Access to an undefined property Illuminate\Database\Eloquent\Model::$users.
phpstan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.