Skip to content

Allow version 0.3 of the x509-validator library #2

Allow version 0.3 of the x509-validator library

Allow version 0.3 of the x509-validator library #2

Triggered via pull request February 4, 2024 10:32
Status Failure
Total duration 37s
Artifacts

ci.yaml

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

Annotations

10 errors and 4 warnings
PhpStan (8.2): src/Bundle/DependencyInjection/RollerworksX509ValidatorExtension.php#L44
Parameter #1 $path of function dirname expects string, string|false given.
PhpStan (8.2): src/Constraint/TLSCertificateValidator.php#L39
Parameter #2 $constraint of method Rollerworks\Component\X509Validator\Symfony\Constraint\TLSCertificateValidator<T of Symfony\Component\Validator\Constraint>::validateTLS() expects T of Symfony\Component\Validator\Constraint, Symfony\Component\Validator\Constraint given.
PhpStan (8.2): src/Constraint/X509HostnamePattern.php#L37
Method Rollerworks\Component\X509Validator\Symfony\Constraint\X509HostnamePattern::getTargets() return type has no value type specified in iterable type array.
PhpStan (8.2): src/Constraint/X509OCSP.php#L25
Method Rollerworks\Component\X509Validator\Symfony\Constraint\X509OCSP::getTargets() return type has no value type specified in iterable type array.
PhpStan (8.2): src/Constraint/X509PurposeValidator.php#L37
Parameter #2 ...$requiredPurpose of method Rollerworks\Component\X509Validator\CertificateValidator::validateCertificatePurpose() expects 'S/MIME'|'S/MIME encryption'|'S/MIME signing'|'SSL client'|'SSL server', string given.
PhpStan (8.2): src/Constraint/X509Support.php#L46
Offset 'value' on array{object|string, string} in isset() does not exist.
PhpStan (8.2): src/Constraint/X509Support.php#L46
Result of && is always false.
PhpStan (8.2): src/Constraint/X509Support.php#L46
Result of && is always false.
PhpStan (8.2): src/Constraint/X509Support.php#L46
Strict comparison using === between 2 and 1 will always evaluate to false.
PhpStan (8.2): src/Constraint/X509Support.php#L50
Offset 'callback' on array{object|string, string} in isset() does not exist.
PhpStan (8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit (8.2, --prefer-stable, ^7.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit (8.2, --prefer-stable, ^6.4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP CS Fixer (8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.