build #239
build.yml
on: schedule
Code Style (phpcs)
7s
Code style (php-cs-fixer)
10s
Code analysis (phpstan)
20s
Code analysis (psalm)
15s
Matrix: tests
Annotations
12 errors
PossiblyUnusedMethod:
src/Exceptions/InvalidExpressionToParseException.php#L30
src/Exceptions/InvalidExpressionToParseException.php:30:21: PossiblyUnusedMethod: Cannot find any calls to method PhpCfdi\Rfc\Exceptions\InvalidExpressionToParseException::getRfc (see https://psalm.dev/087)
|
PossiblyUnusedMethod:
src/Exceptions/InvalidIntegerToConvertException.php#L20
src/Exceptions/InvalidIntegerToConvertException.php:20:28: PossiblyUnusedMethod: Cannot find any calls to method PhpCfdi\Rfc\Exceptions\InvalidIntegerToConvertException::lowerThanZero (see https://psalm.dev/087)
|
PossiblyUnusedMethod:
src/Exceptions/InvalidIntegerToConvertException.php#L25
src/Exceptions/InvalidIntegerToConvertException.php:25:28: PossiblyUnusedMethod: Cannot find any calls to method PhpCfdi\Rfc\Exceptions\InvalidIntegerToConvertException::greaterThanMaximum (see https://psalm.dev/087)
|
PossiblyUnusedMethod:
src/Exceptions/InvalidIntegerToConvertException.php#L30
src/Exceptions/InvalidIntegerToConvertException.php:30:21: PossiblyUnusedMethod: Cannot find any calls to method PhpCfdi\Rfc\Exceptions\InvalidIntegerToConvertException::getValue (see https://psalm.dev/087)
|
PossiblyFalseArgument:
src/Rfc.php#L63
src/Rfc.php:63:25: PossiblyFalseArgument: Argument 1 of PhpCfdi\Rfc\Rfc::__construct cannot be false, possibly string value expected (see https://psalm.dev/104)
|
PossiblyUnusedMethod:
src/Rfc.php#L72
src/Rfc.php:72:28: PossiblyUnusedMethod: Cannot find any calls to method PhpCfdi\Rfc\Rfc::parseOrNull (see https://psalm.dev/087)
|
PossiblyUnusedMethod:
src/Rfc.php#L87
src/Rfc.php:87:28: PossiblyUnusedMethod: Cannot find any calls to method PhpCfdi\Rfc\Rfc::unparsed (see https://psalm.dev/087)
|
PossiblyUnusedMethod:
src/Rfc.php#L99
src/Rfc.php:99:28: PossiblyUnusedMethod: Cannot find any calls to method PhpCfdi\Rfc\Rfc::fromSerial (see https://psalm.dev/087)
|
PossiblyUnusedMethod:
src/Rfc.php#L104
src/Rfc.php:104:28: PossiblyUnusedMethod: Cannot find any calls to method PhpCfdi\Rfc\Rfc::newGeneric (see https://psalm.dev/087)
|
PossiblyUnusedMethod:
src/Rfc.php#L109
src/Rfc.php:109:28: PossiblyUnusedMethod: Cannot find any calls to method PhpCfdi\Rfc\Rfc::newForeign (see https://psalm.dev/087)
|
Code analysis (phpstan):
tests/Unit/RfcFakerTest.php#L19
Property PhpCfdi\Rfc\Tests\Unit\RfcFakerTest::$iterations (float|int) is never assigned float so it can be removed from the property type.
|
Code analysis (phpstan)
Process completed with exit code 1.
|