mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
74749d20cc
Ref #4590
273 B
273 B
TaintedSystemSecret
Emitted when data marked as a system secret is detected somewhere it shouldn’t be.
<?php
/**
* @psalm-taint-source system_secret
*/
function getConfigValue(string $data) {
return "$omePa$$word";
}
echo getConfigValue("secret");