Prepare PHPStan #1500
back-end.yml
on: pull_request
1️⃣ Syntax errors
13s
Matrix: 2️⃣ Unit and functional tests
Annotations
10 errors
3️⃣ Static Analysis:
src/Actions/Action.php#L117
Anonymous function should return Illuminate\Support\MessageBag but returns Illuminate\Contracts\Support\MessageBag.
|
3️⃣ Static Analysis:
src/Filters/Filters.php#L63
Method Cone\Root\Filters\Filters::active() should return static(Cone\Root\Filters\Filters) but returns Cone\Root\Filters\Filters.
|
3️⃣ Static Analysis:
src/Http/Controllers/MediaController.php#L28
Match expression does not handle remaining value: string
|
3️⃣ Static Analysis:
src/Http/Controllers/NotificationsController.php#L15
Call to an undefined method Illuminate\Foundation\Auth\User::rootNotifications().
|
3️⃣ Static Analysis:
src/Http/Controllers/NotificationsController.php#L21
Call to an undefined method Illuminate\Foundation\Auth\User::rootNotifications().
|
3️⃣ Static Analysis:
src/Http/Controllers/NotificationsController.php#L30
Call to an undefined method Illuminate\Foundation\Auth\User::rootNotifications().
|
3️⃣ Static Analysis:
src/Http/Controllers/NotificationsController.php#L40
Call to an undefined method Illuminate\Foundation\Auth\User::rootNotifications().
|
3️⃣ Static Analysis:
src/Http/Controllers/NotificationsController.php#L52
Call to an undefined method Illuminate\Foundation\Auth\User::rootNotifications().
|
3️⃣ Static Analysis:
src/Resources/Resources.php#L39
Method Cone\Root\Resources\Resources::authorized() should return static(Cone\Root\Resources\Resources) but returns Cone\Root\Resources\Resources.
|
3️⃣ Static Analysis:
src/Traits/ResolvesFilters.php (in context of class Cone/Root/Resources/Resource)#L41
Parameter #1 $callback of method Illuminate\Support\Collection<(int|string),mixed>::whenNotEmpty() expects callable(Illuminate\Support\Collection): void, Closure(Cone\Root\Columns\Columns): void given.
|