Browse Source

feat(CI): Add a stub for SensitiveParameter, so Psalm is not failing on Doctrine/DBAL

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/38556/head
Joas Schilling 2 years ago
parent
commit
00acf1bae1
No known key found for this signature in database GPG Key ID: 74434EFE0D2E2205
  1. 5
      build/stubs/SensitiveParameter.phpstub
  2. 1
      psalm.xml

5
build/stubs/SensitiveParameter.phpstub

@ -0,0 +1,5 @@
<?php
#[\Attribute(Attribute::TARGET_PARAMETER)]
class SensitiveParameter {
}

1
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"/>

Loading…
Cancel
Save