Skip to content

Add the possibility to set the minimum number of decimals in the numb… #421

Add the possibility to set the minimum number of decimals in the numb…

Add the possibility to set the minimum number of decimals in the numb… #421

Triggered via pull request November 13, 2023 15:06
Status Failure
Total duration 1m 12s
Artifacts

continuous-integration.yml

on: pull_request
ci  /  Generate job matrix
8s
ci / Generate job matrix
Matrix: ci / QA Checks
Fit to window
Zoom out
Zoom in

Annotations

11 errors
MissingConstructor: src/View/Helper/NumberFormat.php#L27
src/View/Helper/NumberFormat.php:27:15: MissingConstructor: Laminas\I18n\View\Helper\NumberFormat has an uninitialized property Laminas\I18n\View\Helper\NumberFormat::$maxDecimals, but no constructor (see https://psalm.dev/073)
MissingConstructor: src/View/Helper/NumberFormat.php#L34
src/View/Helper/NumberFormat.php:34:15: MissingConstructor: Laminas\I18n\View\Helper\NumberFormat has an uninitialized property Laminas\I18n\View\Helper\NumberFormat::$minDecimals, but no constructor (see https://psalm.dev/073)
InvalidDocblock: src/View/Helper/NumberFormat.php#L84
src/View/Helper/NumberFormat.php:84:5: InvalidDocblock: Found duplicated @param or prefixed @param tag in docblock for Laminas\I18n\View\Helper\NumberFormat::__invoke (see https://psalm.dev/008)
MissingParamType: src/View/Helper/NumberFormat.php#L85
src/View/Helper/NumberFormat.php:85:9: MissingParamType: Parameter $number has no provided type (see https://psalm.dev/154)
MissingParamType: src/View/Helper/NumberFormat.php#L86
src/View/Helper/NumberFormat.php:86:9: MissingParamType: Parameter $formatStyle has no provided type (see https://psalm.dev/154)
MissingParamType: src/View/Helper/NumberFormat.php#L87
src/View/Helper/NumberFormat.php:87:9: MissingParamType: Parameter $formatType has no provided type (see https://psalm.dev/154)
MissingParamType: src/View/Helper/NumberFormat.php#L88
src/View/Helper/NumberFormat.php:88:9: MissingParamType: Parameter $locale has no provided type (see https://psalm.dev/154)
MissingParamType: src/View/Helper/NumberFormat.php#L89
src/View/Helper/NumberFormat.php:89:9: MissingParamType: Parameter $maxDecimals has no provided type (see https://psalm.dev/154)
MissingParamType: src/View/Helper/NumberFormat.php#L91
src/View/Helper/NumberFormat.php:91:9: MissingParamType: Parameter $minDecimals has no provided type (see https://psalm.dev/154)
DocblockTypeContradiction: src/View/Helper/NumberFormat.php#L108
src/View/Helper/NumberFormat.php:108:13: DocblockTypeContradiction: Cannot resolve types for $minDecimals - docblock-defined type int does not contain null (see https://psalm.dev/155)