Skip to content

build

build #261

Triggered via schedule December 1, 2024 16:10
Status Failure
Total duration 30s
Artifacts

build.yml

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

Annotations

10 errors
Code analysis (phpstan): src/Exceptions/ResourceDownloadError.php#L76
PHPDoc tag @var with type Stringable is not subtype of native type object.
Code analysis (phpstan): src/Internal/MetadataExtractor.php#L61
Parameter #1 $list of class PhpCfdi\CfdiSatScraper\MetadataList constructor expects array<PhpCfdi\CfdiSatScraper\Metadata>, array given.
Code analysis (phpstan): src/MetadataList.php#L26
Instanceof between PhpCfdi\CfdiSatScraper\Metadata and PhpCfdi\CfdiSatScraper\Metadata will always evaluate to true.
Code analysis (phpstan): src/ResourceDownloader.php#L183
Method PhpCfdi\CfdiSatScraper\ResourceDownloader::makePromises() return type has no value type specified in iterable type Traversable.
Code analysis (phpstan): src/ResourceDownloader.php#L183
PHPDoc tag @return with type array<GuzzleHttp\Promise\PromiseInterface>|Traversable<string, GuzzleHttp\Promise\PromiseInterface> is not subtype of native type Traversable.
Code analysis (phpstan): tests/Integration/Factory.php#L149
Parameter #1 $container of static method GuzzleHttp\Middleware::history() expects array|ArrayAccess<int, array>, PhpCfdi\CfdiSatScraper\Tests\Integration\HttpLogger given.
Code analysis (phpstan): tests/Integration/Factory.php#L182
Parameter #1 $value of function strval expects bool|float|int|resource|string|null, mixed given.
Code analysis (phpstan): tests/Unit/Internal/ResourceDownloadStoreInFolderTest.php#L53
Call to method PHPUnit\Framework\Assert::assertTrue() with true and 'checkDestinationFol…' will always evaluate to true.
Code analysis (phpstan): tests/Unit/Internal/ResourceDownloadStoreInFolderTest.php#L60
Call to method PHPUnit\Framework\Assert::assertTrue() with true and 'checkDestinationFol…' will always evaluate to true.
Code analysis (phpstan): tests/Unit/MetadataListTest.php#L154
PHPDoc tag @var with type array<PhpCfdi\CfdiSatScraper\Metadata> is not subtype of native type array{null}.