diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 323cfe4..3a814df 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -21,8 +21,8 @@ jobs: fail-fast: false matrix: php-version: - - '8.4' - - '8.5' + - '8.2' + - '8.3' steps: - name: git checkout @@ -40,23 +40,7 @@ jobs: run: composer install -n --prefer-dist - name: Run tests - if: matrix.php-version == '8.5' run: | ./vendor/bin/phpunit \ --configuration phpunit.xml.dist \ --testsuite=unit - - - name: Run tests with coverage - if: matrix.php-version == '8.4' - run: | - XDEBUG_MODE=coverage ./vendor/bin/phpunit \ - --configuration phpunit.xml.dist \ - --testsuite=unit \ - --coverage-clover ./coverage.xml - - - uses: codecov/codecov-action@v5 - if: matrix.php-version == '8.4' - with: - files: ./coverage.xml - token: ${{ secrets.CODECOV_TOKEN }} - verbose: true diff --git a/composer.json b/composer.json index 2860cc2..ea9bc62 100644 --- a/composer.json +++ b/composer.json @@ -14,8 +14,9 @@ } ], "require": { - "php": ">=8.4", - "ext-bcmath": "*" + "php": "^8.3|^8.2", + "ext-bcmath": "*", + "saki/bcmath-number-polyfill": "^1.1" }, "require-dev": { "phpunit/phpunit": "^11.4"