Skip to content

Fix CS

Fix CS #5

Triggered via push November 27, 2023 10:57
Status Failure
Total duration 34s
Artifacts

ci.yaml

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

Annotations

16 errors
PHPUnit (8.2, --prefer-stable, ^6.4)
Process completed with exit code 2.
PHPUnit (8.1, --prefer-stable, 6.3)
The job was canceled because "_8_2_--prefer-stable__6_4" failed.
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.
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#L68
Cannot call method validateCertificate() on Rollerworks\Component\X509Validator\CertificateValidator|null.
PhpStan (8.2): tests/CertificateValidatorTest.php#L73
Cannot call method getMessage() on Throwable|null.
PhpStan (8.2): tests/CertificateValidatorTest.php#L73
Cannot call method getPrevious() on Throwable|null.
PhpStan (8.2): tests/CertificateValidatorTest.php#L127
Cannot access property $now on Rollerworks\Component\X509Validator\CertificateValidator|null.
PhpStan (8.2): tests/CertificateValidatorTest.php#L128
Cannot call method validateCertificate() on Rollerworks\Component\X509Validator\CertificateValidator|null.
PhpStan (8.2): tests/CertificateValidatorTest.php#L141
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#L177
Parameter #1 $suffixManager of class Rollerworks\Component\X509Validator\Tests\FakedCertificateValidator constructor expects Rollerworks\Component\PdbSfBridge\PdpManager, Rollerworks\Component\PdbSfBridge\PdpManager|null given.
PHPUnit (8.2, --prefer-stable, ^7.0)
The job was canceled because "_8_2_--prefer-stable__6_4" failed.
PHPUnit (8.2, --prefer-stable, ^7.0)
The operation was canceled.