Skip to content

Use psr/clock instead of protected method #6

Use psr/clock instead of protected method

Use psr/clock instead of protected method #6

Triggered via pull request November 27, 2023 12:35
Status Failure
Total duration 38s
Artifacts

ci.yaml

on: pull_request
Matrix: PHP CS Fixer
Matrix: PhpStan
Matrix: PHPUnit
Fit to window
Zoom out
Zoom in

Annotations

15 errors
PHPUnit (8.1, --prefer-stable, 6.3)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires php ^8.2 but your php version (8.1.26) does not satisfy that requirement.
PHPUnit (8.1, --prefer-stable, 6.3)
Process completed with exit code 2.
PHPUnit (8.2, --prefer-stable, ^7.0)
The job was canceled because "_8_1_--prefer-stable_6_3" failed.
PHPUnit (8.2, --prefer-stable, ^6.4)
The job was canceled because "_8_1_--prefer-stable_6_3" failed.
PHPUnit (8.2, --prefer-stable, ^6.4)
The operation was canceled.
PhpStan (8.2): src/Violation/UnsupportedDomain.php#L29
Property Rollerworks\Component\X509Validator\Violation\UnsupportedDomain::$supported (array<int, string>) does not accept array<int|string, string>.
PhpStan (8.2): src/X509Info.php#L29
PHPDoc tag @var for property Rollerworks\Component\X509Validator\X509Info::$pubKey with type array<string, mixed> is incompatible with native type string.
PhpStan (8.2): src/X509Info.php#L43
Method Rollerworks\Component\X509Validator\X509Info::__construct() has parameter $fields with no value type specified in iterable type array.
PhpStan (8.2): tests/CertificateValidatorTest.php#L76
Cannot call method validateCertificate() on Rollerworks\Component\X509Validator\CertificateValidator|null.
PhpStan (8.2): tests/CertificateValidatorTest.php#L81
Cannot call method getMessage() on Throwable|null.
PhpStan (8.2): tests/CertificateValidatorTest.php#L81
Cannot call method getPrevious() on Throwable|null.
PhpStan (8.2): tests/CertificateValidatorTest.php#L135
Access to an undefined property Psr\Clock\ClockInterface::$now.
PhpStan (8.2): tests/CertificateValidatorTest.php#L136
Cannot call method validateCertificate() on Rollerworks\Component\X509Validator\CertificateValidator|null.
PhpStan (8.2): tests/CertificateValidatorTest.php#L149
Parameter #1 $suffixManager of class Rollerworks\Component\X509Validator\Tests\FakedCertificateValidator constructor expects Rollerworks\Component\PdbSfBridge\PdpManager, Rollerworks\Component\PdbSfBridge\PdpManager|null given.
PhpStan (8.2): tests/CertificateValidatorTest.php#L185
Parameter #1 $suffixManager of class Rollerworks\Component\X509Validator\Tests\FakedCertificateValidator constructor expects Rollerworks\Component\PdbSfBridge\PdpManager, Rollerworks\Component\PdbSfBridge\PdpManager|null given.