Initial Drupal 11 with DDEV setup
This commit is contained in:
33
vendor/chi-teck/drupal-code-generator/psalm.xml
vendored
Normal file
33
vendor/chi-teck/drupal-code-generator/psalm.xml
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
<?xml version="1.0"?>
|
||||
<psalm
|
||||
checkForThrowsInGlobalScope="true"
|
||||
ensureArrayStringOffsetsExist="true"
|
||||
findUnusedPsalmSuppress="true"
|
||||
findUnusedBaselineEntry="true"
|
||||
findUnusedCode="false"
|
||||
sealAllMethods="true"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="https://getpsalm.org/schema/config"
|
||||
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
|
||||
errorLevel="2"
|
||||
autoloader="psalm-autoloader.php"
|
||||
>
|
||||
<projectFiles>
|
||||
<directory name="src"/>
|
||||
<ignoreFiles>
|
||||
<!-- Psalm reports issues about vendors by some reason. -->
|
||||
<directory name="vendor"/>
|
||||
</ignoreFiles>
|
||||
</projectFiles>
|
||||
<issueHandlers>
|
||||
<PossiblyNullArgument>
|
||||
<errorLevel type="suppress">
|
||||
<referencedFunction name="/__construct/"/>
|
||||
</errorLevel>
|
||||
</PossiblyNullArgument>
|
||||
<!-- @see https://github.com/vimeo/psalm/issues/8765 -->
|
||||
<PossiblyUndefinedVariable errorLevel="suppress"/>
|
||||
<PropertyNotSetInConstructor errorLevel="suppress"/>
|
||||
<RiskyTruthyFalsyComparison errorLevel="suppress"/>
|
||||
</issueHandlers>
|
||||
</psalm>
|
||||
Reference in New Issue
Block a user