Skip to content

Commit

Permalink
Merge pull request #21 from gsteel/psalm-and-cs
Browse files Browse the repository at this point in the history
Add Psalm, Drop PHP 7.3 and Update Coding Standard to 2.3
  • Loading branch information
Ocramius authored Jan 10, 2022
2 parents 043f6d6 + a11d4e5 commit 420a99d
Show file tree
Hide file tree
Showing 12 changed files with 3,324 additions and 1,256 deletions.
12 changes: 8 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,18 @@
}
},
"require": {
"php": "^7.3 || ~8.0.0 || ~8.1.0",
"php": "^7.4 || ~8.0.0 || ~8.1.0",
"laminas/laminas-mvc": "^3.3",
"laminas/laminas-session": "^2.12.0",
"laminas/laminas-stdlib": "^3.6.4",
"laminas/laminas-view": "^2.13.1"
},
"require-dev": {
"laminas/laminas-coding-standard": "~1.0.0",
"laminas/laminas-coding-standard": "~2.3.0",
"laminas/laminas-i18n": "^2.13.0",
"phpunit/phpunit": "^9.5.4"
"phpunit/phpunit": "^9.5.4",
"psalm/plugin-phpunit": "^0.16.1",
"vimeo/psalm": "^4.18"
},
"conflict": {
"laminas/laminas-mvc": "<3.0.0",
Expand All @@ -52,10 +54,12 @@
"scripts": {
"check": [
"@cs-check",
"@test"
"@test",
"@static-analysis"
],
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"static-analysis": "psalm --shepherd --stats",
"test": "phpunit --colors=always",
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
},
Expand Down
Loading

0 comments on commit 420a99d

Please sign in to comment.