1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

ignore comments after taint-sink

This commit is contained in:
orklah 2021-11-07 10:29:08 +01:00
parent 3322801903
commit 39dc7608ef

View File

@ -2245,7 +2245,9 @@ class TaintTest extends TestCase
*
* Not working
*/
function sinkNotWorking($sink) : string {}',
function sinkNotWorking($sink) : string {}
echo sinkNotWorking($_GET["taint"]);',
'error_message' => 'TaintedHtml',
],
];