summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/stubs/SensitiveParameter.phpstub5
-rw-r--r--psalm.xml1
2 files changed, 6 insertions, 0 deletions
diff --git a/build/stubs/SensitiveParameter.phpstub b/build/stubs/SensitiveParameter.phpstub
new file mode 100644
index 00000000000..95715138927
--- /dev/null
+++ b/build/stubs/SensitiveParameter.phpstub
@@ -0,0 +1,5 @@
+<?php
+
+#[\Attribute(Attribute::TARGET_PARAMETER)]
+class SensitiveParameter {
+}
diff --git a/psalm.xml b/psalm.xml
index 859e510f412..4f7c479a152 100644
--- a/psalm.xml
+++ b/psalm.xml
@@ -68,6 +68,7 @@
<file name="build/stubs/imagick.php"/>
<file name="build/stubs/intl.php"/>
<file name="build/stubs/IntlChar.php"/>
+ <file name="build/stubs/SensitiveParameter.phpstub"/>
<file name="build/stubs/ldap.php"/>
<file name="build/stubs/memcached.php"/>
<file name="build/stubs/redis.php"/>