Add the possibility to set the minimum number of decimals in the numb… #421
continuous-integration.yml
on: pull_request
ci
/
Generate job matrix
8s
Matrix: ci / QA Checks
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)
|
|
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)
|