Skip to content

build

build #184

Triggered via schedule December 1, 2024 16:08
Status Failure
Total duration 31s
Artifacts

build.yml

on: schedule
Composer normalization
8s
Composer normalization
Code style (phpcs)
12s
Code style (phpcs)
Code style (php-cs-fixer)
9s
Code style (php-cs-fixer)
Code analysis (phpstan)
13s
Code analysis (phpstan)
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Code analysis (phpstan): src/Internal/DataArrayTrait.php (in context of class PhpCfdi/Credentials/Certificate)#L61
Method PhpCfdi\Credentials\Certificate::extractArrayStrings() should return array<string, string> but returns array<string>.
Code analysis (phpstan): src/Internal/DataArrayTrait.php (in context of class PhpCfdi/Credentials/Internal/Key)#L61
Method PhpCfdi\Credentials\Internal\Key::extractArrayStrings() should return array<string, string> but returns array<string>.
Code analysis (phpstan): src/Internal/DataArrayTrait.php (in context of class PhpCfdi/Credentials/Tests/Unit/Internal/DataArrayTraitSpecimen)#L61
Method PhpCfdi\Credentials\Tests\Unit\Internal\DataArrayTraitSpecimen::extractArrayStrings() should return array<string, string> but returns array<string>.
Code analysis (phpstan): src/Pfx/PfxExporter.php#L44
Method PhpCfdi\Credentials\Pfx\PfxExporter::export() should return string but returns mixed.
Code analysis (phpstan): src/Pfx/PfxReader.php#L40
Method PhpCfdi\Credentials\Pfx\PfxReader::loadPkcs12() should return array{cert: string, pkey: string} but returns array{cert: mixed, pkey: mixed}.
Code analysis (phpstan): src/Pfx/PfxReader.php#L41
Cannot access offset 'cert' on mixed.
Code analysis (phpstan): src/Pfx/PfxReader.php#L42
Cannot access offset 'pkey' on mixed.
Code analysis (phpstan): src/PrivateKey.php#L132
Parameter &$signature by-ref type of method PhpCfdi\Credentials\PrivateKey::openSslSign() expects string|null, mixed given.
Code analysis (phpstan): src/PrivateKey.php#L192
Anonymous function should return string but returns mixed.
Code analysis (phpstan)
Process completed with exit code 1.