Skip to content

WIP Update ResolvesVisibility.php #1715

WIP Update ResolvesVisibility.php

WIP Update ResolvesVisibility.php #1715

Triggered via pull request January 26, 2024 13:57
Status Failure
Total duration 50s
Artifacts

back-end.yml

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

Annotations

12 errors and 11 warnings
4️⃣ Coding Standards
Process completed with exit code 1.
4️⃣ Coding Standards
Process completed with exit code 1.
3️⃣ Static Analysis: src/Actions/Action.php#L126
Anonymous function should return Illuminate\Support\MessageBag but returns Illuminate\Contracts\Support\MessageBag.
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/Fields/BelongsToMany.php#L203
Parameter #1 $model of method Cone\Root\Fields\BelongsToMany<TRelation of Illuminate\Database\Eloquent\Relations\BelongsToMany>::getRelation() expects Illuminate\Database\Eloquent\Model, string 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.
3️⃣ Static Analysis: src/Fields/Fields.php#L59
Method Cone\Root\Fields\Fields::searchable() should return static(Cone\Root\Fields\Fields) but returns Cone\Root\Fields\Fields.
3️⃣ Static Analysis: src/Fields/Fields.php#L67
Method Cone\Root\Fields\Fields::sortable() should return static(Cone\Root\Fields\Fields) but returns Cone\Root\Fields\Fields.
3️⃣ Static Analysis: src/Fields/Relation.php#L367
Anonymous function should return Illuminate\Support\MessageBag but returns Illuminate\Contracts\Support\MessageBag.
3️⃣ Static Analysis: src/Fields/Relation.php#L565
Call to an undefined method TRelation of Illuminate\Database\Eloquent\Relations\Relation::findOrFail().
2️⃣ Unit and functional tests (8.3, locked)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
2️⃣ Unit and functional tests (8.3, highest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
2️⃣ Unit and functional tests (8.3, lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
2️⃣ Unit and functional tests (8.2, highest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
4️⃣ Coding Standards
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
4️⃣ Coding Standards: src/Traits/ResolvesVisibility.php#L1
Found violation(s) of type: unary_operator_spaces
4️⃣ Coding Standards: src/Traits/ResolvesVisibility.php#L1
Found violation(s) of type: statement_indentation
4️⃣ Coding Standards: src/Traits/ResolvesVisibility.php#L1
Found violation(s) of type: not_operator_with_successor_space
2️⃣ Unit and functional tests (8.2, lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
3️⃣ Static Analysis
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
2️⃣ Unit and functional tests (8.2, locked)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.