Open LukasReschke opened 3 years ago
This is currently not found: https://psalm.dev/r/664f7b7006
<?php //--taint-analysis class TemplateResponse { public $taint = ''; public function setTaint(string $taint) { $this->taint = $taint; } } class StandaloneTemplateResponse extends TemplateResponse { public function getTaint() : string { return $this->taint; } } $extended_response = new StandAloneTemplateResponse(); $extended_response->setTaint($_GET['bar']); echo $extended_response->getTaint();
I found these snippets:
This is currently not found: https://psalm.dev/r/664f7b7006