diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index aee6be9..8a84a4e 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -8,10 +8,10 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Set up php 8.1 + - name: Set up php 8.2 uses: shivammathur/setup-php@v2 with: - php-version: '8.1' + php-version: '8.2' - name: Install dependencies run: composer self-update && composer install && composer dump-autoload diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 54dbcff..9121aaf 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: - php-versions: ["8.1"] + php-versions: ["8.2"] steps: - name: Checkout Code @@ -24,4 +24,4 @@ jobs: run: composer update --no-progress --prefer-dist --optimize-autoloader - name: Run Tests - run: composer run-script static-analyse \ No newline at end of file + run: composer run-script static-analyse diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a5314ef..3ca80a1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: - php-versions: ["8.1", "8.2", "8.3", "8.4"] + php-versions: ["8.2", "8.3", "8.4", "8.5"] steps: - name: Checkout Code @@ -24,4 +24,4 @@ jobs: run: composer update --no-progress --prefer-dist --optimize-autoloader - name: Run Tests - run: composer run-script test \ No newline at end of file + run: composer run-script test diff --git a/.gitignore b/.gitignore index fe56c28..c1b4c8d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,6 @@ vendor .phpunit.cache php_errors.log -composer.lock \ No newline at end of file +composer.lock +.DS_Store +coverage-report diff --git a/composer.json b/composer.json index 14a2d09..651e3b7 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ } }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { "phpunit/phpunit": "^10", @@ -29,6 +29,7 @@ "lkrms/pretty-php": "^0.4.72" }, "scripts": { + "coverage": "XDEBUG_MODE=coverage composer test -- --coverage-html coverage-report", "test": "phpunit", "static-analyse": "phpstan analyse --configuration phpstan.neon.dist", "pretty-php": "pretty-php src tests"