diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b9d614d..2a47e16 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -66,12 +66,12 @@ 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 @@ -79,5 +79,5 @@ jobs: 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 diff --git a/README.md b/README.md index 58e4236..85cfcd1 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/composer.json b/composer.json index 6608e2e..dc4bde8 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ } ], "require": { - "php": "^5.6 | ^7.0 | ^8.0", + "php": "^8.0", "ext-curl": "*", "ext-json": "*" },