Skip to content

Add phpstan

Add phpstan #155

Triggered via pull request September 21, 2023 08:59
@Art4Art4
synchronize #326
Art4:add-phpstan
Status Failure
Total duration 42s
Artifacts

tests.yml

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

Annotations

10 errors
Tests (PHP 7.4 on ubuntu-latest): src/Redmine/Client/NativeCurlClient.php#L252
Method Redmine\Client\NativeCurlClient::createCurl() has invalid return type CurlHandle.
Tests (PHP 7.4 on ubuntu-latest): src/Redmine/Client/NativeCurlClient.php#L314
Method Redmine\Client\NativeCurlClient::createCurl() should return CurlHandle but returns resource.
Tests (PHP 7.4 on ubuntu-latest): tests/Fixtures/MockClient.php#L42
Method Redmine\Tests\Fixtures\MockClient::__csontruct() is unused.
Tests (PHP 7.4 on ubuntu-latest)
Process completed with exit code 1.
Tests (PHP 8.0 on ubuntu-latest): tests/Fixtures/MockClient.php#L42
Method Redmine\Tests\Fixtures\MockClient::__csontruct() is unused.
Tests (PHP 8.0 on ubuntu-latest)
Process completed with exit code 1.
Tests (PHP 8.2 on ubuntu-latest): tests/Fixtures/MockClient.php#L42
Method Redmine\Tests\Fixtures\MockClient::__csontruct() is unused.
Tests (PHP 8.2 on ubuntu-latest)
Process completed with exit code 1.
Tests (PHP 8.1 on ubuntu-latest): tests/Fixtures/MockClient.php#L42
Method Redmine\Tests\Fixtures\MockClient::__csontruct() is unused.
Tests (PHP 8.1 on ubuntu-latest)
Process completed with exit code 1.