Skip to content

build

build #186

Triggered via schedule December 15, 2024 16:08
Status Failure
Total duration 32s
Artifacts

build.yml

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

Annotations

10 errors and 10 warnings
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.
Code style (phpcs)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code style (php-cs-fixer)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Composer normalization
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests on PHP 7.4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests on PHP 8.1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests on PHP 8.3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code analysis (phpstan)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests on PHP 7.3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests on PHP 8.0
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests on PHP 8.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636