Skip to content

Commit

Permalink
Merge pull request #135 from bearsunday/php7.4
Browse files Browse the repository at this point in the history
Drop EOL php 7.1 and support php 7.4
  • Loading branch information
koriym authored Dec 4, 2019
2 parents 25dc175 + 5445e66 commit b52e257
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ language: php
sudo: false

php:
- 7.1
- 7.2
- 7.3
- 7.4snapshot
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@
}
],
"require": {
"php": ">=7.1.0",
"php": ">=7.2.0",
"ext-json": "*",
"bear/resource": "^1.13.0"
"bear/resource": "^1.14"
},
"require-dev": {
"phpunit/phpunit": "^7.5",
"vimeo/psalm": "3.x-dev"
"phpunit/phpunit": "^7.5"
},
"autoload": {
"psr-4": {
Expand All @@ -47,9 +46,10 @@
},
"scripts" :{
"test": ["phpunit"],
"tests": ["@cs", "phpstan analyse -l max src tests -c phpstan.neon --no-progress", "vendor/bin/psalm --show-info=false", "@test"],
"tests": ["@cs", "phpstan analyse -l max src tests -c phpstan.neon --no-progress", "psalm --show-info=false", "@test"],
"coverage": ["php -dzend_extension=xdebug.so ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage"],
"cs": ["php-cs-fixer fix -v --dry-run", "phpcs --standard=./phpcs.xml src"],
"cs-fix": ["php-cs-fixer fix -v", "phpcbf src"]
"cs-fix": ["php-cs-fixer fix -v", "phpcbf src"],
"metrics": ["phpmetrics --report-html=build/metrics/ --extensions=php src,composer.json,composer.lock"]
}
}

0 comments on commit b52e257

Please sign in to comment.