Prepare PHPStan #1609
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
back-end.yml
on: pull_request
1️⃣ Syntax errors
7s
Matrix: 2️⃣ Unit and functional tests
Annotations
14 errors and 11 warnings
2️⃣ Unit and functional tests (8.1, locked)
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- symfony/css-selector is locked to version v7.0.0 and an update of this package was not requested.
- symfony/css-selector v7.0.0 requires php >=8.2 -> your php version (8.1.26) does not satisfy that requirement.
Problem 2
- symfony/event-dispatcher is locked to version v7.0.0 and an update of this package was not requested.
- symfony/event-dispatcher v7.0.0 requires php >=8.2 -> your php version (8.1.26) does not satisfy that requirement.
Problem 3
- symfony/string is locked to version v7.0.0 and an update of this package was not requested.
- symfony/string v7.0.0 requires php >=8.2 -> your php version (8.1.26) does not satisfy that requirement.
Problem 4
- symfony/string v7.0.0 requires php >=8.2 -> your php version (8.1.26) does not satisfy that requirement.
- symfony/console v6.4.1 requires symfony/string ^5.4|^6.0|^7.0 -> satisfiable by symfony/string[v7.0.0].
- symfony/console is locked to version v6.4.1 and an update of this package was not requested.
|
2️⃣ Unit and functional tests (8.1, locked)
Process completed with exit code 2.
|
3️⃣ Static Analysis:
src/Actions/Action.php#L112
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.
|
4️⃣ Coding Standards
Process completed with exit code 1.
|
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#L363
Anonymous function should return Illuminate\Support\MessageBag but returns Illuminate\Contracts\Support\MessageBag.
|
3️⃣ Static Analysis:
src/Fields/Relation.php#L560
Call to an undefined method TRelation of Illuminate\Database\Eloquent\Relations\Relation::findOrFail().
|
4️⃣ Coding Standards
Process completed with exit code 1.
|
2️⃣ Unit and functional tests (8.1, locked)
No files were found with the provided path: storage/logs/. No artifacts will be uploaded.
|
4️⃣ Coding Standards:
src/Navigation/HasItems.php#L1
Found violation(s) of type: nullable_type_declaration_for_default_null_value
|
4️⃣ Coding Standards:
src/Navigation/HasItems.php#L1
Found violation(s) of type: unary_operator_spaces
|
4️⃣ Coding Standards:
src/Navigation/HasItems.php#L1
Found violation(s) of type: not_operator_with_successor_space
|
4️⃣ Coding Standards:
src/Widgets/Widgets.php#L1
Found violation(s) of type: nullable_type_declaration_for_default_null_value
|
4️⃣ Coding Standards:
src/View/Components/Modal.php#L1
Found violation(s) of type: nullable_type_declaration_for_default_null_value
|
4️⃣ Coding Standards:
src/Models/Medium.php#L1
Found violation(s) of type: nullable_type_declaration_for_default_null_value
|
4️⃣ Coding Standards:
src/Models/Medium.php#L1
Found violation(s) of type: unary_operator_spaces
|
4️⃣ Coding Standards:
src/Models/Medium.php#L1
Found violation(s) of type: not_operator_with_successor_space
|
4️⃣ Coding Standards:
src/Actions/Actions.php#L1
Found violation(s) of type: nullable_type_declaration_for_default_null_value
|
4️⃣ Coding Standards:
src/Interfaces/Models/Medium.php#L1
Found violation(s) of type: nullable_type_declaration_for_default_null_value
|