Skip to content

Fix php 8.5 deprecations #840

Fix php 8.5 deprecations

Fix php 8.5 deprecations #840

Triggered via pull request January 2, 2026 20:44
Status Failure
Total duration 25s
Artifacts

tests.yml

on: pull_request
Matrix: code-quality
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

15 errors
Tests (PHPUnit with PHP 8.0)
Process completed with exit code 2.
Tests (PHPUnit with PHP 8.1)
Process completed with exit code 2.
Tests (PHPUnit with PHP 7.4)
Process completed with exit code 2.
Tests (PHPUnit with PHP 8.2)
Process completed with exit code 2.
Check phpstan (PHP 7.4): tests/Unit/Client/Psr18Client/RequestTest.php#L107
Call to an undefined method Redmine\Tests\Unit\Client\Psr18ClientTest\RequestTest::createConfiguredStub().
Check phpstan (PHP 7.4): tests/Unit/Client/Psr18Client/RequestTest.php#L58
Call to an undefined method Redmine\Tests\Unit\Client\Psr18ClientTest\RequestTest::createConfiguredStub().
Check phpstan (PHP 7.4): tests/Unit/Client/Psr18Client/RequestTest.php#L40
Call to an undefined method Redmine\Tests\Unit\Client\Psr18ClientTest\RequestTest::createConfiguredStub().
Check phpstan (PHP 7.4): tests/Unit/Client/Psr18Client/RequestTest.php#L34
Call to an undefined method Redmine\Tests\Unit\Client\Psr18ClientTest\RequestTest::createConfiguredStub().
Check phpstan (PHP 7.4): tests/Unit/Client/Psr18Client/RequestTest.php#L31
Call to an undefined method Redmine\Tests\Unit\Client\Psr18ClientTest\RequestTest::createConfiguredStub().
Check phpstan (PHP 7.4): tests/Unit/Client/Psr18Client/RequestTest.php#L30
Call to an undefined method Redmine\Tests\Unit\Client\Psr18ClientTest\RequestTest::createConfiguredStub().
Check phpstan (PHP 7.4): tests/Unit/Client/NativeCurlClient/RequestTest.php#L141
Call to an undefined method Redmine\Tests\Unit\Client\NativeCurlClientTest\RequestTest::createConfiguredStub().
Check phpstan (PHP 7.4): tests/Unit/Client/NativeCurlClient/RequestTest.php#L54
Call to an undefined method Redmine\Tests\Unit\Client\NativeCurlClientTest\RequestTest::createConfiguredStub().
Check phpstan (PHP 7.4): tests/Fixtures/AssertingHttpClient.php#L105
Instantiated class PHPUnit\Framework\MockObject\TestStubBuilder not found.
Check phpstan (PHP 7.4): tests/Fixtures/AssertingHttpClient.php#L105
Call to method getStub() on an unknown class PHPUnit\Framework\MockObject\TestStubBuilder.
Check code-coverage (PHP 7.4)
Process completed with exit code 2.