Repository navigation
Expand file tree
/
Copy pathpsalm.xml
More file actions
32 lines (32 loc) · 1.43 KB
/
Copy pathpsalm.xml
File metadata and controls
32 lines (32 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0"?>
<psalm
errorLevel="8"
findUnusedCode="false"
findUnusedBaselineEntry="false"
resolveFromConfigFile="true"
xmlns="https://getpsalm.org/schema/config"
>
<!-- Used only for taint analysis (the CI "Taint analysis" step): follows data from
$_GET / $_POST / the database to HTML, SQL, files and shell. Type checks are
PHPStan's job. Psalm is installed by CI outside composer.json (it needs
newer PHP patch versions than config.platform allows). -->
<projectFiles>
<file name="ctrlfield.php"/>
<directory name="src"/>
<directory name="pro/src"/>
<ignoreFiles allowMissingFiles="true">
<directory name="vendor"/>
<directory name="vendor-prefixed"/>
<!-- Blade setup glue that references the scoped CtrlField\Vendor\Illuminate
classes (not in the composer classmap). No superglobal handling, so
nothing for taint analysis to follow. -->
<file name="src/Integrations/Blade/ViewServiceProvider.php"/>
<file name="src/Integrations/Blade/RelationshipDirective.php"/>
<file name="pro/src/Integrations/Blade/GalleryDirective.php"/>
<file name="pro/src/Integrations/Blade/FlexDirective.php"/>
</ignoreFiles>
</projectFiles>
<stubs>
<file name="vendor/php-stubs/wordpress-stubs/wordpress-stubs.php" preloadClasses="true"/>
</stubs>
</psalm>