Skip to content

[FEATURE] Add Tests

[FEATURE] Add Tests #7

Triggered via pull request July 31, 2024 04:47
@mteumteu
synchronize #5
task/add-tests
Status Failure
Total duration 26s
Artifacts

cgl.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
cgl: Tests/Unit/Log/Writer/StandardStreamWriterTest.php#L24
File does not include a 'GPL-3.0' license.
cgl: Tests/Unit/Log/Writer/StandardStreamWriterTest.php#L42
Property Mteu\StreamWriter\Tests\Unit\Log\Writer\StandardStreamWriterTest::$subject is never read, only written.
cgl: Tests/Unit/Log/Writer/StandardStreamWriterTest.php#L44
Change "setUp()" method visibility to "protected" to respect parent method visibility.
cgl: Tests/Unit/Log/Writer/StandardStreamWriterTest.php#L49
Method Mteu\StreamWriter\Tests\Unit\Log\Writer\StandardStreamWriterTest::createWriter() has parameter $options with no value type specified in iterable type array.
cgl: Tests/Unit/Log/Writer/StandardStreamWriterTest.php#L51
Parameter #1 $options of class Mteu\StreamWriter\Log\Writer\StandardStreamWriter constructor expects array{outputStream: Mteu\StreamWriter\Log\Config\StandardStream}, array given.
cgl: Tests/Unit/Log/Writer/StandardStreamWriterTest.php#L61
Method Mteu\StreamWriter\Tests\Unit\Log\Writer\StandardStreamWriterTest::captureOutputBufferForLogWrite() should return string but returns string|false.
cgl
Process completed with exit code 1.
cgl
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/