Skip to content

Commit

Permalink
Merge pull request #16 from Dropelikeit/clean_up
Browse files Browse the repository at this point in the history
Clean up
  • Loading branch information
Dropelikeit committed Dec 3, 2019
2 parents dfe4075 + 6b2c3fc commit 562acc2
Show file tree
Hide file tree
Showing 23 changed files with 1,606 additions and 129 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Expand Up @@ -18,8 +18,7 @@ matrix:
# Fast finish allows to set the build as "finished" even if the "allow_failures" matrix elements are not finished yet.
fast_finish: true
include:
- php: 7.1
- php: 7.2
- php: 7.3
allow_failures:
- php: hhvm

Expand Down
12 changes: 10 additions & 2 deletions composer.json
Expand Up @@ -12,11 +12,13 @@
}
],
"require": {
"php": ">=7.2",
"php": ">=7.3",
"ext-bcmath": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.14",
"phpstan/phpstan": "^0.11.19",
"phpstan/phpstan-phpunit": "^0.11.2",
"phpunit/phpunit": "8.0.6"
},
"autoload": {
Expand All @@ -35,6 +37,12 @@
"scripts": {
"cs-check": "php-cs-fixer -v --dry-run --using-cache=no fix",
"cs-fix": "php-cs-fixer --using-cache=no fix",
"test": "phpunit --configuration ~/PriceCalculator/phpunit.xml"
"test": "phpunit --configuration ~/PriceCalculator/phpunit.xml",
"analyze": "vendor/bin/phpstan analyse -c phpstan.neon.dist src tests",
"check": [
"@cs-check",
"@analyze",
"@test"
]
}
}

0 comments on commit 562acc2

Please sign in to comment.