diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a616b3f..b521e6d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,10 +7,13 @@ on: jobs: PHPUnit: name: PHPUnit (PHP ${{ matrix.php }}) - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: php: + - 8.3 + - 8.2 + - 8.1 - 8.0 - 7.4 - 7.3 @@ -22,7 +25,7 @@ jobs: - 5.4 - 5.3 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} diff --git a/composer.json b/composer.json index ebce472..40dbaee 100644 --- a/composer.json +++ b/composer.json @@ -17,12 +17,16 @@ "require-dev": { "clue/hexdump": "~0.2.0", "react/event-loop": "^1.2", - "phpunit/phpunit": "^9.3 || ^5.7 || ^4.8.35" + "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36" }, "autoload": { - "psr-4": { "Clue\\React\\Tar\\": "src/" } + "psr-4": { + "Clue\\React\\Tar\\": "src/" + } }, "autoload-dev": { - "psr-4": { "Clue\\Tests\\React\\Tar\\": "tests/" } + "psr-4": { + "Clue\\Tests\\React\\Tar\\": "tests/" + } } } diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 1e94832..8b23068 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,11 +1,12 @@ - - + + convertDeprecationsToExceptions="true"> ./tests/ @@ -16,4 +17,7 @@ ./src/ + + + diff --git a/phpunit.xml.legacy b/phpunit.xml.legacy index cd32fa5..3f5c0bf 100644 --- a/phpunit.xml.legacy +++ b/phpunit.xml.legacy @@ -1,6 +1,6 @@ - + ./src/ + + +