diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fdef40d..e11d8da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,9 +31,6 @@ jobs: strategy: matrix: php-version: - - "7.1" - - "7.2" - - "7.3" - "7.4" - "8.0" - "8.1" @@ -41,7 +38,7 @@ jobs: deps: - "highest" include: - - php-version: "7.1" + - php-version: "7.4" deps: "lowest" steps: @@ -61,16 +58,16 @@ jobs: - name: Run PHPUnit run: vendor/bin/phpunit - if: ${{ matrix.php-version != '8.1' }} + if: ${{ matrix.php-version != '8.2' }} - name: Run PHPUnit with coverage run: | mkdir -p mkdir -p build/logs vendor/bin/phpunit --coverage-clover build/logs/clover.xml - if: ${{ matrix.php-version == '8.1' }} + if: ${{ matrix.php-version == '8.2' }} - name: Upload coverage report to Coveralls run: vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v env: COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} - if: ${{ matrix.php-version == '8.1' }} + if: ${{ matrix.php-version == '8.2' }} diff --git a/composer.json b/composer.json index 7eb1f7a..f6b03f3 100644 --- a/composer.json +++ b/composer.json @@ -10,12 +10,12 @@ ], "license": "MIT", "require": { - "php": "^7.1 || ^8.0", + "php": "^7.4 || ^8.0", "ext-json": "*", "giggsey/libphonenumber-for-php": "^7.0 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", + "phpunit/phpunit": "^9.0", "php-coveralls/php-coveralls": "^2.0", "vimeo/psalm": "5.7.5" },