Skip to content

Fix issuer subject_hash ambiguities & bogus results with unknown issuers #804

Fix issuer subject_hash ambiguities & bogus results with unknown issuers

Fix issuer subject_hash ambiguities & bogus results with unknown issuers #804

Triggered via pull request January 23, 2025 16:08
Status Failure
Total duration 45s
Artifacts

php.yml

on: pull_request
Matrix: lint
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

77 errors and 14 warnings
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/ImportCommand.php#L52
Access to an undefined property object::$certId.
Static analysis for php 7.2 on ubuntu-latest: library/X509/CertificateUtils.php#L1
Ignored error pattern #^Method Icinga\\Module\\X509\\CertificateUtils\:\:findOrInsertCert\(\) return type has no value type specified in iterable type array\.$# in path /home/runner/work/icingaweb2-module-x509/icingaweb2-module-x509/library/X509/CertificateUtils.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: library/X509/DbTool.php#L43
Method Icinga\Module\X509\DbTool::unmarshalBinary() should return string but returns resource|string.
Static analysis for php 7.2 on ubuntu-latest: library/X509/Job.php#L709
Access to an undefined property object::$certId.
Static analysis for php 7.2 on ubuntu-latest: library/X509/Job.php#L714
Access to an undefined property object::$order.
Static analysis for php 7.2 on ubuntu-latest: library/X509/Job.php#L723
Cannot access property $issuerHash on object|null.
Static analysis for php 7.2 on ubuntu-latest: library/X509/Job.php#L729
Cannot access property $fingerprint on object|null.
Static analysis for php 7.2 on ubuntu-latest: library/X509/Job.php#L729
Parameter #1 $orderBy of method ipl\Orm\Query::orderBy() expects array|int|string, ipl\Sql\Expression given.
Static analysis for php 7.2 on ubuntu-latest: library/X509/Job.php#L732
Cannot access property $certId on object|null.
Static analysis for php 7.2 on ubuntu-latest: library/X509/Job.php#L743
Cannot access property $order on object|null.
Static analysis for php 7.2 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 7.3 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/ImportCommand.php#L52
Access to an undefined property object::$certId.
Static analysis for php 7.3 on ubuntu-latest: library/X509/CertificateUtils.php#L1
Ignored error pattern #^Method Icinga\\Module\\X509\\CertificateUtils\:\:findOrInsertCert\(\) return type has no value type specified in iterable type array\.$# in path /home/runner/work/icingaweb2-module-x509/icingaweb2-module-x509/library/X509/CertificateUtils.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: library/X509/DbTool.php#L43
Method Icinga\Module\X509\DbTool::unmarshalBinary() should return string but returns resource|string.
Static analysis for php 7.3 on ubuntu-latest: library/X509/Job.php#L709
Access to an undefined property object::$certId.
Static analysis for php 7.3 on ubuntu-latest: library/X509/Job.php#L714
Access to an undefined property object::$order.
Static analysis for php 7.3 on ubuntu-latest: library/X509/Job.php#L723
Cannot access property $issuerHash on object|null.
Static analysis for php 7.3 on ubuntu-latest: library/X509/Job.php#L729
Cannot access property $fingerprint on object|null.
Static analysis for php 7.3 on ubuntu-latest: library/X509/Job.php#L729
Parameter #1 $orderBy of method ipl\Orm\Query::orderBy() expects array|int|string, ipl\Sql\Expression given.
Static analysis for php 7.3 on ubuntu-latest: library/X509/Job.php#L732
Cannot access property $certId on object|null.
Static analysis for php 7.3 on ubuntu-latest: library/X509/Job.php#L743
Cannot access property $order on object|null.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/CheckCommand.php#L1
Ignored error pattern #^Parameter \#2 \$value of static method ipl\\Stdlib\\Filter\:\:equal\(\) expects array\|bool\|float\|int\|string, mixed given\.$# in path /home/runner/work/icingaweb2-module-x509/icingaweb2-module-x509/application/clicommands/CheckCommand.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/CheckCommand.php#L107
Parameter #1 $statement of class ipl\Sql\Expression constructor expects string, mixed given.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/CheckCommand.php#L108
Parameter #1 $statement of class ipl\Sql\Expression constructor expects string, mixed given.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/CheckCommand.php#L114
Parameter #2 $value of static method ipl\Stdlib\Filter::equal() expects array<mixed>|bool|float|int|string, mixed given.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/CheckCommand.php#L117
Parameter #2 $value of static method ipl\Stdlib\Filter::equal() expects array<mixed>|bool|float|int|string, mixed given.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/CheckCommand.php#L120
Parameter #2 $value of static method ipl\Stdlib\Filter::equal() expects array<mixed>|bool|float|int|string, mixed given.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/CheckCommand.php#L133
Binary operation "." between mixed and ': ' results in an error.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/CheckCommand.php#L133
Binary operation "." between non-falsy-string and mixed results in an error.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/CheckCommand.php#L133
Cannot access property $invalid_reason on mixed.
Static analysis for php 7.4 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/CheckCommand.php#L1
Ignored error pattern #^Parameter \#2 \$value of static method ipl\\Stdlib\\Filter\:\:equal\(\) expects array\|bool\|float\|int\|string, mixed given\.$# in path /home/runner/work/icingaweb2-module-x509/icingaweb2-module-x509/application/clicommands/CheckCommand.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/CheckCommand.php#L107
Parameter #1 $statement of class ipl\Sql\Expression constructor expects string, mixed given.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/CheckCommand.php#L108
Parameter #1 $statement of class ipl\Sql\Expression constructor expects string, mixed given.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/CheckCommand.php#L114
Parameter #2 $value of static method ipl\Stdlib\Filter::equal() expects array<mixed>|bool|float|int|string, mixed given.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/CheckCommand.php#L117
Parameter #2 $value of static method ipl\Stdlib\Filter::equal() expects array<mixed>|bool|float|int|string, mixed given.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/CheckCommand.php#L120
Parameter #2 $value of static method ipl\Stdlib\Filter::equal() expects array<mixed>|bool|float|int|string, mixed given.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/CheckCommand.php#L133
Binary operation "." between mixed and ': ' results in an error.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/CheckCommand.php#L133
Binary operation "." between non-falsy-string and mixed results in an error.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/CheckCommand.php#L133
Cannot access property $invalid_reason on mixed.
Static analysis for php 8.0 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.3 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.3 on ubuntu-latest: application/clicommands/CheckCommand.php#L1
Ignored error pattern #^Parameter \#2 \$value of static method ipl\\Stdlib\\Filter\:\:equal\(\) expects array\|bool\|float\|int\|string, mixed given\.$# in path /home/runner/work/icingaweb2-module-x509/icingaweb2-module-x509/application/clicommands/CheckCommand.php was not matched in reported errors.
Static analysis for php 8.3 on ubuntu-latest: application/clicommands/CheckCommand.php#L107
Parameter #1 $statement of class ipl\Sql\Expression constructor expects string, mixed given.
Static analysis for php 8.3 on ubuntu-latest: application/clicommands/CheckCommand.php#L108
Parameter #1 $statement of class ipl\Sql\Expression constructor expects string, mixed given.
Static analysis for php 8.3 on ubuntu-latest: application/clicommands/CheckCommand.php#L114
Parameter #2 $value of static method ipl\Stdlib\Filter::equal() expects array<mixed>|bool|float|int|string, mixed given.
Static analysis for php 8.3 on ubuntu-latest: application/clicommands/CheckCommand.php#L117
Parameter #2 $value of static method ipl\Stdlib\Filter::equal() expects array<mixed>|bool|float|int|string, mixed given.
Static analysis for php 8.3 on ubuntu-latest: application/clicommands/CheckCommand.php#L120
Parameter #2 $value of static method ipl\Stdlib\Filter::equal() expects array<mixed>|bool|float|int|string, mixed given.
Static analysis for php 8.3 on ubuntu-latest: application/clicommands/CheckCommand.php#L133
Binary operation "." between mixed and ': ' results in an error.
Static analysis for php 8.3 on ubuntu-latest: application/clicommands/CheckCommand.php#L133
Binary operation "." between non-falsy-string and mixed results in an error.
Static analysis for php 8.3 on ubuntu-latest: application/clicommands/CheckCommand.php#L133
Cannot access property $invalid_reason on mixed.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/CheckCommand.php#L1
Ignored error pattern #^Parameter \#2 \$value of static method ipl\\Stdlib\\Filter\:\:equal\(\) expects array\|bool\|float\|int\|string, mixed given\.$# in path /home/runner/work/icingaweb2-module-x509/icingaweb2-module-x509/application/clicommands/CheckCommand.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/CheckCommand.php#L107
Parameter #1 $statement of class ipl\Sql\Expression constructor expects string, mixed given.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/CheckCommand.php#L108
Parameter #1 $statement of class ipl\Sql\Expression constructor expects string, mixed given.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/CheckCommand.php#L114
Parameter #2 $value of static method ipl\Stdlib\Filter::equal() expects array<mixed>|bool|float|int|string, mixed given.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/CheckCommand.php#L117
Parameter #2 $value of static method ipl\Stdlib\Filter::equal() expects array<mixed>|bool|float|int|string, mixed given.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/CheckCommand.php#L120
Parameter #2 $value of static method ipl\Stdlib\Filter::equal() expects array<mixed>|bool|float|int|string, mixed given.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/CheckCommand.php#L133
Binary operation "." between mixed and ': ' results in an error.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/CheckCommand.php#L133
Binary operation "." between non-falsy-string and mixed results in an error.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/CheckCommand.php#L133
Cannot access property $invalid_reason on mixed.
Static analysis for php 8.1 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.2 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/CheckCommand.php#L1
Ignored error pattern #^Parameter \#2 \$value of static method ipl\\Stdlib\\Filter\:\:equal\(\) expects array\|bool\|float\|int\|string, mixed given\.$# in path /home/runner/work/icingaweb2-module-x509/icingaweb2-module-x509/application/clicommands/CheckCommand.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/CheckCommand.php#L107
Parameter #1 $statement of class ipl\Sql\Expression constructor expects string, mixed given.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/CheckCommand.php#L108
Parameter #1 $statement of class ipl\Sql\Expression constructor expects string, mixed given.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/CheckCommand.php#L114
Parameter #2 $value of static method ipl\Stdlib\Filter::equal() expects array<mixed>|bool|float|int|string, mixed given.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/CheckCommand.php#L117
Parameter #2 $value of static method ipl\Stdlib\Filter::equal() expects array<mixed>|bool|float|int|string, mixed given.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/CheckCommand.php#L120
Parameter #2 $value of static method ipl\Stdlib\Filter::equal() expects array<mixed>|bool|float|int|string, mixed given.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/CheckCommand.php#L133
Binary operation "." between mixed and ': ' results in an error.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/CheckCommand.php#L133
Binary operation "." between non-falsy-string and mixed results in an error.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/CheckCommand.php#L133
Cannot access property $invalid_reason on mixed.
Unit tests with PHP 8.1 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests with PHP 8.0 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests with PHP 7.2 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests with PHP 7.3 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests with PHP 7.4 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests with PHP 8.3 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests with PHP 8.2 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Static analysis for php 7.2 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Static analysis for php 7.3 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Static analysis for php 7.4 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Static analysis for php 8.0 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Static analysis for php 8.3 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Static analysis for php 8.1 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Static analysis for php 8.2 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636