-
-
Notifications
You must be signed in to change notification settings - Fork 111
Expand file tree
/
Copy pathphpstan.neon
More file actions
17 lines (17 loc) · 806 Bytes
/
phpstan.neon
File metadata and controls
17 lines (17 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
parameters:
level: 10
paths:
- src
ignoreErrors:
# PHPStan does not consider array_map() or usort() as pure.
# https://github.com/phpstan/phpstan/issues/11100
- '#^Possibly impure call to function array_map\(\) in pure method .*\.$#'
- '#^Possibly impure call to function usort\(\) in pure method Brick\\Money\\Allocation\\.*\.$#'
# IsoCurrencyProvider uses lazy caches and a singleton internally.
- '#^Impure .* in pure method Brick\\Money\\IsoCurrencyProvider::.*\.$#'
- '#^Possibly impure .* in pure method Brick\\Money\\IsoCurrencyProvider::.*\.$#'
scanFiles:
- data/country-to-currency.php
- data/country-to-currency-historical.php
- data/iso-currencies.php
- data/numeric-to-currency.php