Skip to content

Add Condition helper class for more readable code #32

Add Condition helper class for more readable code

Add Condition helper class for more readable code #32

Triggered via pull request August 14, 2023 08:01
Status Failure
Total duration 1m 30s
Artifacts

main.yml

on: pull_request
Matrix: Lint
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 8 warnings
Lint (nightly, true)
Your lock file does not contain a compatible set of packages. Please run composer update. Problem 1 - phpspec/prophecy is locked to version v1.15.0 and an update of this package was not requested. - phpspec/prophecy v1.15.0 requires php ^7.2 || ~8.0, <8.2 -> your php version (8.3.0-dev) does not satisfy that requirement. Problem 2 - sclable/xml-lint is locked to version 0.5.0 and an update of this package was not requested. - sclable/xml-lint 0.5.0 requires php 7.4.*|8.0.*|8.1.* -> your php version (8.3.0-dev) does not satisfy that requirement. Problem 3 - phpspec/prophecy v1.15.0 requires php ^7.2 || ~8.0, <8.2 -> your php version (8.3.0-dev) does not satisfy that requirement. - phpunit/phpunit 9.5.20 requires phpspec/prophecy ^1.12.1 -> satisfiable by phpspec/prophecy[v1.15.0]. - phpunit/phpunit is locked to version 9.5.20 and an update of this package was not requested.
Lint (nightly, true)
Process completed with exit code 2.
Lint (8.1, false): tests/Idoit/APIClient/ConditionTest.php#L298
Method Idoit\APIClient\Condition::where() invoked with 3 parameters, 2 required.
Lint (8.1, false): tests/Idoit/APIClient/ConditionTest.php#L322
Method Idoit\APIClient\Condition::where() invoked with 3 parameters, 2 required.
Lint (8.1, false)
Process completed with exit code 1.
Lint (7.4, true): src/API.php#L144
Property Idoit\APIClient\API::$resource has unknown class CurlHandle as its type.
Lint (7.4, true): src/API.php#L250
Class CurlHandle not found.
Lint (7.4, true): tests/Idoit/APIClient/ConditionTest.php#L298
Method Idoit\APIClient\Condition::where() invoked with 3 parameters, 2 required.
Lint (7.4, true): tests/Idoit/APIClient/ConditionTest.php#L322
Method Idoit\APIClient\Condition::where() invoked with 3 parameters, 2 required.
Lint (7.4, true)
Process completed with exit code 1.
Lint (8.0, false): tests/Idoit/APIClient/ConditionTest.php#L298
Method Idoit\APIClient\Condition::where() invoked with 3 parameters, 2 required.
Lint (8.0, false): tests/Idoit/APIClient/ConditionTest.php#L322
Method Idoit\APIClient\Condition::where() invoked with 3 parameters, 2 required.
Lint (8.0, false)
Process completed with exit code 1.
Lint (nightly, true)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (nightly, true)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint (8.1, false)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (8.1, false)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint (7.4, true)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (7.4, true)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint (8.0, false)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (8.0, false)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/