PHP Classes
elePHPant
Icontem

File: psalm.xml

Recommend this page to a friend!
  Classes of Scott Arciszewski  >  PHP Sodium Compat  >  psalm.xml  >  Download  
File: psalm.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Sodium Compat
Cryptographic functions of libsodium in pure PHP
Author: By
Last change: Support newer versions of Psalm.
Date: 22 days ago
Size: 1,212 bytes
 

Contents

Class file image Download
<?xml version="1.0"?>
<psalm
    useDocblockTypes="true"
    totallyTyped="true"
>
    <projectFiles>
        <directory name="src" />
    </projectFiles>
    <issueHandlers>
        <InvalidFunctionCall errorLevel="suppress" />
        <!--
            Previous issue type is suppressed because we have to use a string
            as a function name for PHP 5.2 compatibility. When testing, be sure
            to change this to "info".
         -->

        <UndefinedFunction errorLevel="info" />
        <!--
            Inconsistently erroneous.
        -->

        <DuplicateClass errorLevel="info" />
        <!--
            Psalm isn't correctly identifying the guard conditions that return
            early if a class already exists.
        -->
        <RedundantConditionGivenDocblockType errorLevel="suppress" />

        <TooFewArguments errorLevel="info" />

        <DocblockTypeContradiction errorLevel="info" />
        <RedundantCondition errorLevel="info" />
        <!--
            Redundancy is good for PHP <7
        -->

        <TypeDoesNotContainType errorLevel="info" />
        <!--
            This mostly fails on `PHP_INT_SIZE === 4`
        -->

    </issueHandlers>
</psalm>