Skip to content

build

build #182

Triggered via schedule January 26, 2025 16:00
Status Failure
Total duration 36s
Artifacts

build.yml

on: schedule
Code Style (phpcs)
7s
Code Style (phpcs)
Code Style (php-cs-fixer)
8s
Code Style (php-cs-fixer)
Code analysis (phpstan)
20s
Code analysis (phpstan)
Code analysis (psalm)
12s
Code analysis (psalm)
Mutation testing analysis
28s
Mutation testing analysis
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 14 warnings
UnusedClass: src/DiscoverExtractor.php#L15
src/DiscoverExtractor.php:15:7: UnusedClass: Class PhpCfdi\CfdiExpresiones\DiscoverExtractor is never used (see https://psalm.dev/075)
InvalidFalsableReturnType: src/Extractors/Standards/FormatSelloLast8.php#L9
src/Extractors/Standards/FormatSelloLast8.php:9:49: InvalidFalsableReturnType: The declared return type 'string' for PhpCfdi\CfdiExpresiones\Extractors\Standards\FormatSelloLast8::formatSello does not allow false, but 'false|string' contains false (see https://psalm.dev/143)
PossiblyNullArgument: src/Internal/DOMHelper.php#L41
src/Internal/DOMHelper.php:41:75: PossiblyNullArgument: Argument 3 of sprintf cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyUnusedMethod: src/Internal/DOMHelper.php#L61
src/Internal/DOMHelper.php:61:21: PossiblyUnusedMethod: Cannot find any calls to method PhpCfdi\CfdiExpresiones\Internal\DOMHelper::getElement (see https://psalm.dev/087)
Code analysis (psalm)
Process completed with exit code 2.
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
Tests PHP 8.2 (phpunit)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests PHP 8.0 (phpunit)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code analysis (psalm)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests PHP 8.1 (phpunit)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests PHP 7.4 (phpunit)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests PHP 8.3 (phpunit)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests PHP 7.3 (phpunit)
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
Mutation testing analysis
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Mutation testing analysis: src/DiscoverExtractor.php#L46
Escaped Mutant for Mutator "ProtectedVisibility": @@ @@ { return $this->extractors; } - protected function findByUniqueName(string $uniqueName): ?ExpressionExtractorInterface + private function findByUniqueName(string $uniqueName): ?ExpressionExtractorInterface { foreach ($this->extractors as $extractor) { if ($uniqueName === $extractor->uniqueName()) {
Mutation testing analysis: src/DiscoverExtractor.php#L56
Escaped Mutant for Mutator "ProtectedVisibility": @@ @@ } return null; } - protected function findMatch(DOMDocument $document): ?ExpressionExtractorInterface + private function findMatch(DOMDocument $document): ?ExpressionExtractorInterface { foreach ($this->extractors as $extractor) { if ($extractor->matches($document)) {
Mutation testing analysis: src/DiscoverExtractor.php#L66
Escaped Mutant for Mutator "ProtectedVisibility": @@ @@ } return null; } - protected function getFirstMatch(DOMDocument $document): ExpressionExtractorInterface + private function getFirstMatch(DOMDocument $document): ExpressionExtractorInterface { $discovered = $this->findMatch($document); if (null === $discovered) {