Mark getAppPath as specialized taint
Should remove some false positives. https://psalm.dev/docs/security_analysis/avoiding_false_positives/ Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
db3a3bee37
commit
d25ca1976b
|
@ -517,6 +517,8 @@ class OC_App {
|
|||
* Get the directory for the given app.
|
||||
* If the app is defined in multiple directories, the first one is taken. (false if not found)
|
||||
*
|
||||
* @psalm-taint-specialize
|
||||
*
|
||||
* @param string $appId
|
||||
* @return string|false
|
||||
* @deprecated 11.0.0 use \OC::$server->getAppManager()->getAppPath()
|
||||
|
|
Loading…
Reference in New Issue