Skip to content

HP-2824: Fix Failing Psalm Static Analysis in php-billing Composer Package Build #386

HP-2824: Fix Failing Psalm Static Analysis in php-billing Composer Package Build

HP-2824: Fix Failing Psalm Static Analysis in php-billing Composer Package Build #386

Status Failure
Total duration 21s
Artifacts

psalm-analysis.yml

on: pull_request
Matrix: psalm
Fit to window
Zoom out
Zoom in

Annotations

10 errors
MissingOverrideAttribute: src/action/AbstractAction.php#L123
src/action/AbstractAction.php:123:5: MissingOverrideAttribute: Method hiqdev\php\billing\action\AbstractAction::gettarget should have the "Override" attribute (see https://psalm.dev/358)
MissingOverrideAttribute: src/action/AbstractAction.php#L115
src/action/AbstractAction.php:115:5: MissingOverrideAttribute: Method hiqdev\php\billing\action\AbstractAction::getcustomer should have the "Override" attribute (see https://psalm.dev/358)
MissingOverrideAttribute: src/action/AbstractAction.php#L107
src/action/AbstractAction.php:107:5: MissingOverrideAttribute: Method hiqdev\php\billing\action\AbstractAction::getid should have the "Override" attribute (see https://psalm.dev/358)
PossiblyUnusedMethod: src/action/AbstractAction.php#L92
src/action/AbstractAction.php:92:21: PossiblyUnusedMethod: Cannot find any calls to method hiqdev\php\billing\action\AbstractAction::getUniqueString (see https://psalm.dev/087)
UnusedClass: src/Exception/InsufficientBalanceException.php#L6
src/Exception/InsufficientBalanceException.php:6:7: UnusedClass: Class hiqdev\php\billing\Exception\InsufficientBalanceException is never used (see https://psalm.dev/075)
PossiblyUnusedMethod: src/Exception/ChargeStealingException.php#L44
src/Exception/ChargeStealingException.php:44:21: PossiblyUnusedMethod: Cannot find any calls to method hiqdev\php\billing\Exception\ChargeStealingException::getCharge (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Exception/ChargeStealingException.php#L28
src/Exception/ChargeStealingException.php:28:28: PossiblyUnusedMethod: Cannot find any calls to method hiqdev\php\billing\Exception\ChargeStealingException::fromPdoException (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Exception/ChargeOverlappingException.php#L33
src/Exception/ChargeOverlappingException.php:33:21: PossiblyUnusedMethod: Cannot find any calls to method hiqdev\php\billing\Exception\ChargeOverlappingException::getCharge (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Exception/ChargeOverlappingException.php#L21
src/Exception/ChargeOverlappingException.php:21:28: PossiblyUnusedMethod: Cannot find any calls to method hiqdev\php\billing\Exception\ChargeOverlappingException::forCharge (see https://psalm.dev/087)
UnusedProperty: src/Exception/CannotReassignException.php#L26
src/Exception/CannotReassignException.php:26:13: UnusedProperty: Cannot find any references to private property hiqdev\php\billing\Exception\CannotReassignException::$field (see https://psalm.dev/150)