Skip to content

Update readme.md

Update readme.md #162

Triggered via push October 24, 2024 16:29
Status Failure
Total duration 21s
Artifacts

run-tests.yml

on: push
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
tests (7.4, prefer-stable): src/AbstractController.php#L92
Method Noweh\TwitterApi\AbstractController::performRequest() has parameter $withHeaders with no type specified.
tests (7.4, prefer-stable): src/AbstractController.php#L134
Cannot access property $headers on mixed.
tests (7.4, prefer-stable): src/AbstractController.php#L156
Cannot call method getBody() on Psr\Http\Message\ResponseInterface|null.
tests (7.4, prefer-stable): src/AbstractController.php#L216
Property Noweh\TwitterApi\AbstractController::$free_mode (bool) does not accept string|false.
tests (7.4, prefer-stable): src/Media.php#L40
Method Noweh\TwitterApi\Media::prepareRequest() has parameter $settings with no value type specified in iterable type array.
tests (7.4, prefer-stable): src/Media.php#L65
Method Noweh\TwitterApi\Media::upload() return type has no value type specified in iterable type array.
tests (7.4, prefer-stable): src/Media.php#L65
PHPDoc tag @return with type void is incompatible with native type array|null.
tests (7.4, prefer-stable): src/Media.php#L84
Method Noweh\TwitterApi\Media::upload() should return array|null but returns mixed.
tests (7.4, prefer-stable): src/Media.php#L87
Call to an undefined method Exception::getResponse().
tests (7.4, prefer-stable)
Process completed with exit code 1.
tests (7.4, prefer-stable)
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/
tests (7.4, prefer-stable)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
tests (7.4, prefer-stable)
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/