build #188
Annotations
10 errors and 1 warning
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>.
|
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>.
|
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>.
|
PHPStan:
src/Pfx/PfxExporter.php#L44
Method PhpCfdi\Credentials\Pfx\PfxExporter::export() should return string but returns mixed.
|
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}.
|
PHPStan:
src/Pfx/PfxReader.php#L41
Cannot access offset 'cert' on mixed.
|
PHPStan:
src/Pfx/PfxReader.php#L42
Cannot access offset 'pkey' on mixed.
|
PHPStan:
src/PrivateKey.php#L132
Parameter &$signature by-ref type of method PhpCfdi\Credentials\PrivateKey::openSslSign() expects string|null, mixed given.
|
PHPStan:
src/PrivateKey.php#L192
Anonymous function should return string but returns mixed.
|
PHPStan
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading