mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-25 12:19:11 -04:00
ALPHA 3.0.2
This commit is contained in:
13
vendor/paragonie/random_compat/psalm.xml
vendored
13
vendor/paragonie/random_compat/psalm.xml
vendored
@@ -1,19 +1,28 @@
|
||||
<?xml version="1.0"?>
|
||||
<psalm
|
||||
autoloader="psalm-autoload.php"
|
||||
stopOnFirstError="false"
|
||||
useDocblockTypes="true"
|
||||
totallyTyped="true"
|
||||
>
|
||||
<projectFiles>
|
||||
<directory name="lib" />
|
||||
</projectFiles>
|
||||
<issueHandlers>
|
||||
<RedundantConditionGivenDocblockType errorLevel="info" />
|
||||
<!-- We have to be explicit because PHP 5 lacks scalar types -->
|
||||
<UnresolvableInclude errorLevel="info" />
|
||||
<!-- Because we put the variants into their own subdirectory -->
|
||||
<DuplicateClass errorLevel="info" />
|
||||
<InvalidOperand errorLevel="info" />
|
||||
<!-- Later versions of Psalm are only PHP 7 compatible, which
|
||||
sees our redefinition of Error and TypeError as duplicate
|
||||
class errors. -->
|
||||
<UndefinedConstant errorLevel="info" />
|
||||
<!-- The Mcrypt constants aren't defined in PHP 7.2 -->
|
||||
<MissingReturnType errorLevel="info" />
|
||||
<!-- False positive with some versions of (Psalm, PHP) -->
|
||||
<InvalidReturnType errorLevel="info" />
|
||||
<!-- The "last resort" function in lib/random.php -->
|
||||
<MixedInferredReturnType errorLevel="suppress" />
|
||||
<!-- Only used in totallyTyped mode -->
|
||||
</issueHandlers>
|
||||
</psalm>
|
||||
|
||||
Reference in New Issue
Block a user