Skip to content

Commit

Permalink
Merge pull request #50 from wandersonwhcr/issue-43
Browse files Browse the repository at this point in the history
Use PHP 8.0
  • Loading branch information
wandersonwhcr authored Mar 18, 2021
2 parents fe09d21 + dcab388 commit 334697b
Show file tree
Hide file tree
Showing 14 changed files with 1,273 additions and 738 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.phpunit.result.cache
/vendor
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,20 @@ on:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php_version:
- 7.4
- 8.0
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install
uses: php-actions/composer@v5
with:
php_version: 7.4
php_version: ${{ matrix.php_version }}
- name: Test
uses: php-actions/composer@v5
with:
php_version: 7.4
php_version: ${{ matrix.php_version }}
command: test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.phpunit.result.cache
/vendor
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.4-cli-alpine
FROM php:8.0-cli-alpine

ENV COMPOSER_CACHE_DIR /tmp

Expand Down
15 changes: 5 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
}
},
"require": {
"php": ">=7.0"
"php": ">=7.4"
},
"require-dev": {
"jakub-onderka/php-parallel-lint": "1.0.*",
"phpmd/phpmd": "2.6.*",
"phpunit/phpunit": "6.1.*",
"sebastian/phpcpd": "3.0.*",
"squizlabs/php_codesniffer": "3.5.*"
"phpunit/phpunit": "9.5.*",
"sebastian/phpcpd": "6.0.3",
"squizlabs/php_codesniffer": "3.5.*",
"php-parallel-lint/php-parallel-lint": "1.2.*"
},
"config": {
"preferred-install": {
Expand All @@ -40,10 +40,5 @@
"phpmd src text phpmd.xml",
"phpcs"
]
},
"extra": {
"branch-alias": {
"dev-develop": "1.2.x-dev"
}
}
}
Loading

0 comments on commit 334697b

Please sign in to comment.