Skip to content

Commit 55a6979

Browse files
authored
Merge pull request #129 from mrcnpdlk/issue-127-phpstan
Issue 127 phpstan
2 parents bcba7f0 + ee07060 commit 55a6979

11 files changed

Lines changed: 924 additions & 367 deletions

File tree

composer.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,13 @@
3838
"ext-pdo": "*"
3939
},
4040
"require-dev": {
41-
"phpunit/phpunit": "^6.0",
41+
"phpunit/phpunit": "^7.0",
4242
"mockery/mockery": "^1",
43-
"ext-pdo_sqlite": "*"
43+
"ext-pdo_sqlite": "*",
44+
"phpstan/phpstan": "^0",
45+
"phpstan/phpstan-phpunit": "^0",
46+
"phpstan/phpstan-deprecation-rules": "^0",
47+
"phpstan/phpstan-strict-rules": "^0"
4448
},
4549
"suggest": {
4650
"ext-pdo_sqlite": "Add extension for SQLite support"
@@ -49,5 +53,11 @@
4953
"psr-4": {
5054
"Pecee\\Pixie\\": "src/Pecee/Pixie/"
5155
}
56+
},
57+
"scripts": {
58+
"test": [
59+
"@phpstan"
60+
],
61+
"phpstan": "phpstan analyse"
5262
}
5363
}

0 commit comments

Comments
 (0)