Skip to content

Merge pull request #60 from a-abuzakham/master #165

Merge pull request #60 from a-abuzakham/master

Merge pull request #60 from a-abuzakham/master #165

Triggered via push December 9, 2024 16:07
Status Failure
Total duration 22s
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)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
tests (7.4, prefer-stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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/