forked from joomla/joomla-cms
-
Notifications
You must be signed in to change notification settings - Fork 5
/
phpstan.neon
46 lines (44 loc) · 1.21 KB
/
phpstan.neon
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
includes:
- libraries/vendor/phpstan/phpstan-deprecation-rules/rules.neon
- build/phpstan/phpstan.neon
parameters:
level: 0
phpVersion: 80100
reportUnmatchedIgnoredErrors: false
scanDirectories:
- libraries/php-encryption
- libraries/phpass
scanFiles:
- libraries/loader.php
- libraries/namespacemap.php
paths:
- libraries/src
- administrator
- components
- installation
- plugins
excludePaths:
- administrator/cache
- administrator/components/com_joomlaupdate/finalisation.php
ignoreErrors:
-
message: '#Access to protected property [a-zA-Z0-9\\_]+\\HtmlView::\$[a-zA-Z0-9\\_]+.#'
paths:
- components/*
- administrator/components/*
-
message: '#Call to protected method [a-zA-Z0-9\\_]+\(\) of class Joomla\\CMS\\MVC\\View\\AbstractView\.#'
paths:
- components/*
- administrator/components/*
-
message: '#Call to protected method [a-zA-Z0-9\\_]+\(\) of class Joomla\\CMS\\MVC\\View\\HtmlView\.#'
paths:
- components/*
- administrator/components/*
-
message: '#Call to protected method [a-zA-Z0-9\\_]+\(\) of class Joomla\\CMS\\.*\.#'
paths:
- plugins/*
-
message: '#Call to deprecated method \_\(\) of class Joomla\\CMS\\Language\\Language.*#'