aboutsummaryrefslogtreecommitdiff
path: root/phpstan.neon
blob: dd47c79ee81c47b0f6541d84521873c8b71a6c20 (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
parameters:
	# TODO: Increase rule-level https://phpstan.org/user-guide/rule-levels
	level: 6
	treatPhpDocTypesAsCertain: false
	fileExtensions:
		- php
		- phtml
	paths:
		- .
	excludePaths:
		analyse:
			- lib/marienfressinaud/*
			- lib/phpgt/*
			- lib/phpmailer/*
			- lib/SimplePie/*
			- vendor/*
		analyseAndScan:
			- .git/*
			- node_modules/*
	bootstrapFiles:
		- cli/_cli.php
		- lib/favicons.php
includes:
	- vendor/phpstan/phpstan-phpunit/extension.neon
	- vendor/phpstan/phpstan-phpunit/rules.neon