Skip to content

generic actions test #1943

generic actions test

generic actions test #1943

Triggered via push November 13, 2024 11:33
Status Failure
Total duration 1m 8s
Artifacts

back-end.yml

on: push
1️⃣ Syntax errors
8s
1️⃣ Syntax errors
3️⃣ Static Analysis
33s
3️⃣ Static Analysis
4️⃣ Coding Standards
18s
4️⃣ Coding Standards
Matrix: 2️⃣ Unit and functional tests
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 6 warnings
3️⃣ Static Analysis: src/Actions/Action.php#L138
Anonymous function should return Illuminate\Support\MessageBag but returns Illuminate\Contracts\Support\MessageBag.
3️⃣ Static Analysis: src/Actions/Action.php#L219
Call to an undefined method Illuminate\Database\Eloquent\Model::recordRootEvent().
3️⃣ Static Analysis: src/Actions/Actions.php#L31
Method Cone\Root\Actions\Actions::authorized() should return static(Cone\Root\Actions\Actions) but returns Cone\Root\Actions\Actions.
3️⃣ Static Analysis: src/Actions/Actions.php#L39
Method Cone\Root\Actions\Actions::visible() should return static(Cone\Root\Actions\Actions) but returns Cone\Root\Actions\Actions.
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/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#L18
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/Fields/BelongsToMany.php#L228
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/Fields/Fields.php#L43
Method Cone\Root\Fields\Fields::authorized() should return static(Cone\Root\Fields\Fields) but returns Cone\Root\Fields\Fields.
3️⃣ Static Analysis: src/Fields/Fields.php#L51
Method Cone\Root\Fields\Fields::visible() should return static(Cone\Root\Fields\Fields) but returns Cone\Root\Fields\Fields.
2️⃣ Unit and functional tests (8.3, highest)
Process completed with exit code 1.
2️⃣ Unit and functional tests (8.3, lowest)
Process completed with exit code 1.
2️⃣ Unit and functional tests (8.3, locked)
Process completed with exit code 1.
2️⃣ Unit and functional tests (8.3, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
2️⃣ Unit and functional tests (8.3, highest)
No files were found with the provided path: storage/logs/. No artifacts will be uploaded.
2️⃣ Unit and functional tests (8.3, lowest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
2️⃣ Unit and functional tests (8.3, lowest)
No files were found with the provided path: storage/logs/. No artifacts will be uploaded.
2️⃣ Unit and functional tests (8.3, locked)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
2️⃣ Unit and functional tests (8.3, locked)
No files were found with the provided path: storage/logs/. No artifacts will be uploaded.