Skip to content

Commit

Permalink
Merge pull request #3 from Rpsl/v2-fixes
Browse files Browse the repository at this point in the history
V2 fixes
  • Loading branch information
Rpsl authored Nov 18, 2019
2 parents 1cb7a96 + 894b785 commit b69f84b
Show file tree
Hide file tree
Showing 16 changed files with 4,227 additions and 322 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
language: php
php:
- '7.3'

install:
- travis_retry composer self-update && composer --version
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- travis_retry composer install --no-interaction --prefer-dist

script:
- vendor/bin/phpstan analyse -l max -c phpstan.neon src --no-interaction --no-progress
- vendor/bin/phpunit -c phpunit.xml tests/
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
phpstan:
php ./vendor/bin/phpstan analyse -l 7 ./src

test:
php ./vendor/bin/phpunit -c phpunit.xml ./tests/
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
"ext-json": "*"
},
"require-dev": {
"kherge/box": "^2.7"
"kherge/box": "^2.7",
"phpstan/phpstan": "^0.11.17",
"phpstan/phpstan-strict-rules": "^0.11.1",
"phpunit/phpunit": "^8",
"internations/http-mock": "^0.12.1"
}
}
Loading

0 comments on commit b69f84b

Please sign in to comment.