Skip to content

Add configDirectories to phpstan.neon.dist #2018

Add configDirectories to phpstan.neon.dist

Add configDirectories to phpstan.neon.dist #2018

Triggered via pull request May 15, 2025 02:11
Status Success
Total duration 1m 15s
Artifacts

back-end.yml

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

Annotations

10 errors
3️⃣ Static Analysis: src/Fields/Relation.php#L467
Anonymous function should return Illuminate\Support\MessageBag but returns Illuminate\Contracts\Support\MessageBag.
3️⃣ Static Analysis: src/Fields/File.php#L239
Parameter #1 $callback of method Illuminate\Support\LazyCollection<int,Illuminate\Database\Eloquent\Model>::each() expects callable(Illuminate\Database\Eloquent\Model, int): mixed, Closure(Cone\Root\Models\Medium): void given.
3️⃣ Static Analysis: src/Fields/File.php#L120
Access to an undefined property Illuminate\Database\Eloquent\Model::$isImage.
3️⃣ Static Analysis: src/Fields/BelongsToMany.php#L217
Parameter #1 $model of method Cone\Root\Fields\BelongsToMany<TRelation of Illuminate\Database\Eloquent\Relations\BelongsToMany>::getRelation() expects Illuminate\Database\Eloquent\Model, string|null given.
3️⃣ Static Analysis: src/Actions/SendVerificationNotification.php#L16
Parameter #1 $callback of method Illuminate\Support\Collection<(int|string),Illuminate\Database\Eloquent\Model>::reject() expects bool|(callable(Illuminate\Database\Eloquent\Model, int|string): bool)|Illuminate\Database\Eloquent\Model, Closure(Cone\Root\Models\User): bool given.
3️⃣ Static Analysis: src/Actions/SendVerificationNotification.php#L16
Parameter #1 $callback of method Illuminate\Support\Collection<(int|string),Illuminate\Database\Eloquent\Model>::each() expects callable(Illuminate\Database\Eloquent\Model, int|string): mixed, Closure(Cone\Root\Models\User): void given.
3️⃣ Static Analysis: src/Actions/SendPasswordResetNotification.php#L21
Call to an undefined method Illuminate\Contracts\Auth\PasswordBroker::createToken().
3️⃣ Static Analysis: src/Actions/SendPasswordResetNotification.php#L19
Parameter #1 $callback of method Illuminate\Support\Collection<(int|string),Illuminate\Database\Eloquent\Model>::each() expects callable(Illuminate\Database\Eloquent\Model, int|string): mixed, Closure(Cone\Root\Models\User): void given.
3️⃣ Static Analysis: src/Actions/Action.php#L215
Call to an undefined method Illuminate\Database\Eloquent\Model::recordRootEvent().
3️⃣ Static Analysis: src/Actions/Action.php#L137
Anonymous function should return Illuminate\Support\MessageBag but returns Illuminate\Contracts\Support\MessageBag.