Skip to content

Prepare PHPStan

Prepare PHPStan #1500

Triggered via pull request October 25, 2023 19:53
Status Success
Total duration 1m 8s
Artifacts

back-end.yml

on: pull_request
1️⃣ Syntax errors
13s
1️⃣ Syntax errors
3️⃣ Static Analysis
37s
3️⃣ Static Analysis
4️⃣ Coding Standards
21s
4️⃣ Coding Standards
Matrix: 2️⃣ Unit and functional tests
Fit to window
Zoom out
Zoom in

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.