summaryrefslogtreecommitdiffstats
path: root/psalm-ocp.xml
blob: ea630435551816b9a0c08aed4e6c26d0f865b9ce (plain)
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
<?xml version="1.0"?>
<psalm
	errorLevel="4"
	resolveFromConfigFile="true"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns="https://getpsalm.org/schema/config"
	xsi:schemaLocation="https://getpsalm.org/schema/config"
    errorBaseline="build/psalm-baseline-ocp.xml"
>
	<plugins>
		<plugin filename="build/psalm/AppFrameworkTainter.php" />
	</plugins>
	<projectFiles>
		<directory name="lib/public"/>
		<ignoreFiles>
			<directory name="lib/composer/bin" />
		</ignoreFiles>
	</projectFiles>
	<extraFiles>
		<directory name="3rdparty"/>
	</extraFiles>
	<issueHandlers>
		<UndefinedDocblockClass>
			<errorLevel type="suppress">
				<!-- Classes from PHP>=8 -->
				<referencedClass name="GdImage" />
			</errorLevel>
		</UndefinedDocblockClass>
	</issueHandlers>
</psalm>