File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 10
10
"require-dev" : {
11
11
"roave/security-advisories" : " dev-latest" ,
12
12
"squizlabs/php_codesniffer" : " ^3.7" ,
13
- "phpcompatibility/php-compatibility" : " ^9.3"
13
+ "phpcompatibility/php-compatibility" : " ^9.3" ,
14
+ "phpstan/phpstan" : " ^1.9"
14
15
},
15
16
"repositories" : [
16
17
{
42
43
"scripts" : {
43
44
"sniffer:php7.4" : " phpcs -p ./lib --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 7.4" ,
44
45
"sniffer:php8.0" : " phpcs -p ./lib --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.0" ,
45
- "sniffer:php8.1" : " phpcs -p ./lib --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.1"
46
+ "sniffer:php8.1" : " phpcs -p ./lib --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.1" ,
47
+ "phpstan" : " phpstan"
46
48
}
47
49
}
Original file line number Diff line number Diff line change
1
+ parameters:
2
+ level: 5
3
+ paths:
4
+ - lib
You can’t perform that action at this time.
0 commit comments