Skip to content

Commit

Permalink
Merge pull request #13 from weierophinney/feature/psalm-integration
Browse files Browse the repository at this point in the history
Psalm integration
  • Loading branch information
Ocramius committed Jan 6, 2021
2 parents 346f8e7 + f65c4bf commit 5aa1883
Show file tree
Hide file tree
Showing 20 changed files with 882 additions and 95 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -50,6 +50,7 @@ script:
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
- if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi
- if [[ $CS_CHECK == 'true' ]]; then composer license-check ; fi
- if [[ $TEST_COVERAGE == 'true' ]]; then composer static-analysis ; fi

after_script:
- if [[ $TEST_COVERAGE == 'true' ]]; then vendor/bin/php-coveralls -v ; fi
Expand Down
6 changes: 5 additions & 1 deletion composer.json
Expand Up @@ -39,7 +39,10 @@
"laminas/laminas-coding-standard": "~2.1.0",
"malukenho/docheader": "^0.1.6",
"phpspec/prophecy": "^1.9",
"phpunit/phpunit": "^9.4.1"
"phpspec/prophecy-phpunit": "^2.0",
"phpunit/phpunit": "^9.4.1",
"psalm/plugin-phpunit": "^0.15.0",
"vimeo/psalm": "^4.3"
},
"suggest": {
"mezzio/mezzio-aurarouter": "^3.0 to use the Aura.Router routing adapter",
Expand All @@ -64,6 +67,7 @@
],
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"static-analysis": "psalm --shepherd --stats",
"test": "phpunit --colors=always",
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
"license-check": "docheader check src/ test/"
Expand Down

0 comments on commit 5aa1883

Please sign in to comment.