upgrade psalm to 5.15 and above #504
Annotations
10 errors
|
Run tests:
src/Calculator/BcMathCalculator.php#L229
src/Calculator/BcMathCalculator.php:229:16: RedundantCondition: Type numeric-string for $<tmp coalesce var>6054 is never null (see https://psalm.dev/122)
|
Run tests:
src/Calculator/BcMathCalculator.php#L229
src/Calculator/BcMathCalculator.php:229:44: TypeDoesNotContainNull: Cannot resolve types for $<tmp coalesce var>6054 - string does not contain null (see https://psalm.dev/090)
|
Run tests:
src/Currencies/CryptoCurrencies.php#L85
src/Currencies/CryptoCurrencies.php:85:24: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
|
Run tests:
src/Currencies/CryptoCurrencies.php#L92
src/Currencies/CryptoCurrencies.php:92:33: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
|
Run tests:
src/Currencies/ISOCurrencies.php#L105
src/Currencies/ISOCurrencies.php:105:24: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
|
Run tests:
src/Currencies/ISOCurrencies.php#L112
src/Currencies/ISOCurrencies.php:112:33: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
|
Run tests:
tests/NumberTest.php#L89
tests/NumberTest.php:89:22: MoreSpecificReturnType: The declared return type 'non-empty-list<list{numeric-string, bool, bool, bool, bool, numeric-string, string}>' for Tests\Money\NumberTest::numberExamples is more specific than the inferred return type 'list{list{'0', false, false, true, false, '0', ''}, list{'0.00', false, false, true, false, '0', ''}, list{'0.5', true, true, true, false, '0', '5'}, list{'0.500', true, true, true, false, '0', '5'}, list{'-0', false, false, true, true, '-0', ''}, list{'-0.5', true, true, true, true, '-0', '5'}, list{'3', false, false, false, false, '3', ''}, list{'3.00', false, false, false, false, '3', ''}, list{'3.5', true, true, false, false, '3', '5'}, list{'3.500', true, true, false, false, '3', '5'}, list{'-3', false, false, false, true, '-3', ''}, list{'-3.5', true, true, false, true, '-3', '5'}, list{'10', false, false, true, false, '10', ''}, list{'10.00', false, false, true, false, '10', ''}, list{'10.5', true, true, true, false, '10', '5'}, list{'10.500', true, true, true, false, '10', '5'}, list{'10.9', true, false, true, false, '10', '9'}, list{'-10', false, false, true, true, '-10', ''}, list{'-0', false, false, true, true, '-0', ''}, list{'-10.5', true, true, true, true, '-10', '5'}, list{'-.5', true, true, true, true, '-0', '5'}, list{'.5', true, true, true, false, '0', '5'}, list{numeric-string, false, false, false, false, numeric-string, ''}, list{numeric-string, false, false, false, true, numeric-string, ''}, list{numeric-string, false, false, false, false, numeric-string, ''}, list{numeric-string, false, false, false, true, numeric-string, ''}, list{non-falsy-string, false, false, false, false, non-falsy-string, ''}}' (see https://psalm.dev/070)
|
Run tests:
tests/NumberTest.php#L107
tests/NumberTest.php:107:16: LessSpecificReturnStatement: The type 'list{list{'0', false, false, true, false, '0', ''}, list{'0.00', false, false, true, false, '0', ''}, list{'0.5', true, true, true, false, '0', '5'}, list{'0.500', true, true, true, false, '0', '5'}, list{'-0', false, false, true, true, '-0', ''}, list{'-0.5', true, true, true, true, '-0', '5'}, list{'3', false, false, false, false, '3', ''}, list{'3.00', false, false, false, false, '3', ''}, list{'3.5', true, true, false, false, '3', '5'}, list{'3.500', true, true, false, false, '3', '5'}, list{'-3', false, false, false, true, '-3', ''}, list{'-3.5', true, true, false, true, '-3', '5'}, list{'10', false, false, true, false, '10', ''}, list{'10.00', false, false, true, false, '10', ''}, list{'10.5', true, true, true, false, '10', '5'}, list{'10.500', true, true, true, false, '10', '5'}, list{'10.9', true, false, true, false, '10', '9'}, list{'-10', false, false, true, true, '-10', ''}, list{'-0', false, false, true, true, '-0', ''}, list{'-10.5', true, true, true, true, '-10', '5'}, list{'-.5', true, true, true, true, '-0', '5'}, list{'.5', true, true, true, false, '0', '5'}, list{numeric-string, false, false, false, false, numeric-string, ''}, list{numeric-string, false, false, false, true, numeric-string, ''}, list{numeric-string, false, false, false, false, numeric-string, ''}, list{numeric-string, false, false, false, true, numeric-string, ''}, list{non-falsy-string, false, false, false, false, non-falsy-string, ''}}' is more general than the declared return type 'non-empty-list<list{numeric-string, bool, bool, bool, bool, numeric-string, string}>' for Tests\Money\NumberTest::numberExamples (see https://psalm.dev/129)
|
Run tests
The operation was canceled.
|
The logs for this run have expired and are no longer available.
Loading