Skip to content

Commit b4bb8e1

Browse files
committed
#1 Update dev dependencies
1 parent f0b7b0b commit b4bb8e1

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

composer.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
"monolog/monolog": "Allows for storing location not found errors to the log"
2929
},
3030
"require-dev": {
31-
"phpunit/phpunit": "^8.0",
32-
"mockery/mockery": "^1.3",
31+
"phpunit/phpunit": "^9.5",
32+
"mockery/mockery": "^1.4",
3333
"geoip2/geoip2": "~2.1",
3434
"vlucas/phpdotenv": "^5.0",
35-
"phpstan/phpstan": "^0.12.14",
36-
"squizlabs/php_codesniffer": "^3.5"
35+
"phpstan/phpstan": "^1.2",
36+
"squizlabs/php_codesniffer": "^3.6"
3737
},
3838
"autoload": {
3939
"files": [
@@ -51,6 +51,11 @@
5151
"Torann\\GeoIP\\Tests\\": "tests/"
5252
}
5353
},
54+
"scripts": {
55+
"test": "vendor/bin/phpunit",
56+
"phpcs": "vendor/bin/phpcs --standard=phpcs.xml src",
57+
"phpstan": "vendor/bin/phpstan --level=0 --no-progress analyse src"
58+
},
5459
"extra": {
5560
"branch-alias": {
5661
"dev-master": "1.0-dev"

phpstan.neon

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
parameters:
2-
excludes_analyse:
3-
- vendor
4-
- resources
2+
excludePaths:
3+
analyse:
4+
- vendor
5+
- resources
56
ignoreErrors:
67
- '#Function config_path not found#'
78
- '#Function config not found#'

0 commit comments

Comments
 (0)