Skip to content

Prevent array functions from escaping taints #13391

Prevent array functions from escaping taints

Prevent array functions from escaping taints #13391

Triggered via pull request October 11, 2024 15:51
Status Failure
Total duration 1m 0s
Artifacts

shepherd.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
MissingReturnType: tests/TaintTest.php#L756
tests/TaintTest.php:756:22: MissingReturnType: Method Psalm\Tests\TaintTest::getLastFunctionName does not have a return type, expecting non-falsy-string (see https://psalm.dev/050)
MissingParamType: tests/TaintTest.php#L756
tests/TaintTest.php:756:42: MissingParamType: Parameter $lines has no provided type (see https://psalm.dev/154)
MixedArgument: tests/TaintTest.php#L758
tests/TaintTest.php:758:20: MixedArgument: Argument 1 of count cannot be mixed, expecting Countable|array<array-key, mixed> (see https://psalm.dev/030)
MixedArrayAccess: tests/TaintTest.php#L761
tests/TaintTest.php:761:35: MixedArrayAccess: Cannot access array value on mixed variable $lines (see https://psalm.dev/051)
MixedArgument: tests/TaintTest.php#L761
tests/TaintTest.php:761:35: MixedArgument: Argument 2 of explode cannot be mixed, expecting string (see https://psalm.dev/030)
MixedArgument: tests/TaintTest.php#L766
tests/TaintTest.php:766:94: MixedArgument: Argument 2 of implode cannot be mixed, expecting array<array-key, null|object{__tostring()}|scalar> (see https://psalm.dev/030)
MissingReturnType: tests/TaintTest.php#L772
tests/TaintTest.php:772:21: MissingReturnType: Method Psalm\Tests\TaintTest::buildDataSets does not have a return type, expecting array<non-empty-string, array{code: non-empty-string, error_message: mixed}> (see https://psalm.dev/050)
MissingParamType: tests/TaintTest.php#L772
tests/TaintTest.php:772:35: MissingParamType: Parameter $dataSetNamePrefix has no provided type (see https://psalm.dev/154)
MissingParamType: tests/TaintTest.php#L772
tests/TaintTest.php:772:55: MissingParamType: Parameter $taintType has no provided type (see https://psalm.dev/154)
MissingParamType: tests/TaintTest.php#L772
tests/TaintTest.php:772:67: MissingParamType: Parameter $codeBlocks has no provided type (see https://psalm.dev/154)