Subversion Repositories vgwhois

Rev

Rev 77 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 77 Rev 78
Line 1... Line 1...
1
parameters:
1
parameters:
2
	level: 5
2
	level: 5
3
	fileExtensions:
3
	fileExtensions:
4
		- gu
-
 
-
 
4
		# Attention: There are files which have no extension! Therefore, please run ./phpstan.sh which temporarily renames then to *.php
5
		- php
5
		- php
6
		- phps
6
		- phps
7
	paths:
7
	paths:
8
		- .
8
		- .
9
	excludePaths:
9
	excludePaths:
Line 13... Line 13...
13
			- .phpstan.tmp
13
			- .phpstan.tmp
14
	tmpDir: .phpstan.tmp
14
	tmpDir: .phpstan.tmp
15
	bootstrapFiles:
15
	bootstrapFiles:
16
		- ./maintenance/qa-monitor/config.inc.php
16
		- ./maintenance/qa-monitor/config.inc.php
17
		- ./maintenance/pattern-generator/config.inc.php
17
		- ./maintenance/pattern-generator/config.inc.php
18
		#- ./maintenance/pattern-generator/rirs.inc.php
-
 
19
	ignoreErrors:
18
	ignoreErrors:
20
		- '#is always (true|false)\.#'
19
		- '#is always (true|false)\.#'
21
		#- '#Call to function assert\(\) with false will always evaluate to false\.#'
20
		#- '#Call to function assert\(\) with false will always evaluate to false\.#'
22
		#- '#with no typehint specified\.#'
21
		#- '#with no typehint specified\.#'
23
		# Bug in PHPstan: If you have function() definitions after exit(), this error comes
22
		# Bug in PHPstan: If you have function() definitions after exit(), this error comes ( https://github.com/phpstan/phpstan/issues/4002 )
24
		- '#Unreachable statement - code above always terminates.#'
23
		- '#Unreachable statement - code above always terminates.#'