Skip to content

Commit

Permalink
php 8.0 min requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
nadar committed Oct 31, 2023
1 parent 7d5310f commit d48a4fd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,18 @@ jobs:
## run unit tests
- name: PHP Unit tests for PHP
run: vendor/bin/phpunit --verbose --configuration actions.phpunit.xml
if: matrix.php == '8.3' || matrix.php == '8.2' || matrix.php == '8.1' || matrix.php == '8.0' || matrix.php == '7.4' || matrix.php == '7.3' || matrix.php == '7.2' || matrix.php == '7.0' || matrix.php == '5.6'
if: matrix.php == '8.3' || matrix.php == '8.2' || matrix.php == '8.1'

## unit test with coverage
- name: PHP Unit tests for PHP 7.1
- name: PHP Unit tests for PHP 8.0
run: vendor/bin/phpunit --verbose --coverage-clover=clover.xml --configuration actions.phpunit.xml
if: matrix.php == '7.1'
if: matrix.php == '8.0'

## coverage
- name: Code coverage
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
./cc-test-reporter after-build -t clover
if: matrix.php == '7.1'
if: matrix.php == '8.0'
continue-on-error: true # if is fork
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ In order to install this library via composer run the following command in the c
composer require curl/curl
```

or add the package manually to your composer.json file in the require section:

```json
"curl/curl": "^2.0"
```

## Usage examples

A few example for using CURL with get:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}
],
"require": {
"php": "^5.6 | ^7.0 | ^8.0",
"php": "^8.0",
"ext-curl": "*",
"ext-json": "*"
},
Expand Down

0 comments on commit d48a4fd

Please sign in to comment.