Skip to content

Config value object instead of manually reading the file #201

Config value object instead of manually reading the file

Config value object instead of manually reading the file #201

Re-run triggered September 8, 2024 12:12
Status Failure
Total duration 55s
Artifacts

main.yml

on: pull_request
Analysis of code
45s
Analysis of code
Lint all project files
14s
Lint all project files
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 6 warnings
Analysis of code: src/Config/ReadsConfig.php (in context of class CoenJacobs/Mozart/Composer/Package)#L46
Method CoenJacobs\Mozart\Composer\Package::loadFromStdClass() should return CoenJacobs\Mozart\Composer\Package but returns CoenJacobs\Mozart\Composer\Package|string.
Analysis of code: src/Config/ReadsConfig.php (in context of class CoenJacobs/Mozart/Composer/Package)#L55
Method CoenJacobs\Mozart\Composer\Package::loadFromString() should return CoenJacobs\Mozart\Composer\Package but returns CoenJacobs\Mozart\Composer\Package|string.
Analysis of code: src/Config/ReadsConfig.php (in context of class CoenJacobs/Mozart/Config/Mozart)#L46
Method CoenJacobs\Mozart\Config\Mozart::loadFromStdClass() should return CoenJacobs\Mozart\Config\Mozart but returns CoenJacobs\Mozart\Config\Mozart|string.
Analysis of code: src/Config/ReadsConfig.php (in context of class CoenJacobs/Mozart/Config/Mozart)#L55
Method CoenJacobs\Mozart\Config\Mozart::loadFromString() should return CoenJacobs\Mozart\Config\Mozart but returns CoenJacobs\Mozart\Config\Mozart|string.
Analysis of code
Process completed with exit code 1.
PHP 8.0 tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP 8.2 tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint all project files
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP 8.1 tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP 8.3 tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Analysis of code
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/