Skip to content

feat(#84): add ability to optionally apply abs and negated functions inline #167

feat(#84): add ability to optionally apply abs and negated functions inline

feat(#84): add ability to optionally apply abs and negated functions inline #167

Triggered via pull request February 4, 2025 16:48
Status Failure
Total duration 1m 10s
Artifacts

ci.yml

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

Annotations

10 errors
MixedInferredReturnType: src/BigDecimal.php#L660
src/BigDecimal.php:660:68: MixedInferredReturnType: Could not verify return type 'bool' for Brick\Math\BigDecimal::resolveOptionalCallback (see https://psalm.dev/047)
ImpureFunctionCall: src/BigDecimal.php#L663
src/BigDecimal.php:663:20: ImpureFunctionCall: Cannot call an impure function from a mutation-free context (see https://psalm.dev/202)
MixedReturnStatement: src/BigDecimal.php#L663
src/BigDecimal.php:663:20: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
MixedInferredReturnType: src/BigInteger.php#L1025
src/BigInteger.php:1025:68: MixedInferredReturnType: Could not verify return type 'bool' for Brick\Math\BigInteger::resolveOptionalCallback (see https://psalm.dev/047)
ImpureFunctionCall: src/BigInteger.php#L1028
src/BigInteger.php:1028:20: ImpureFunctionCall: Cannot call an impure function from a mutation-free context (see https://psalm.dev/202)
MixedReturnStatement: src/BigInteger.php#L1028
src/BigInteger.php:1028:20: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
MixedInferredReturnType: src/BigRational.php#L381
src/BigRational.php:381:68: MixedInferredReturnType: Could not verify return type 'bool' for Brick\Math\BigRational::resolveOptionalCallback (see https://psalm.dev/047)
ImpureFunctionCall: src/BigRational.php#L384
src/BigRational.php:384:20: ImpureFunctionCall: Cannot call an impure function from a mutation-free context (see https://psalm.dev/202)
MixedReturnStatement: src/BigRational.php#L384
src/BigRational.php:384:20: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
Psalm
Process completed with exit code 2.