diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 0286e0e..4772f41 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -21,7 +21,7 @@ jobs: uses: actions/cache@v4 with: path: ~/.composer/cache/files - key: dependencies-php-8.3-illuminate-10.*-composer-${{ hashFiles('composer.json') }} + key: dependencies-php-8.3-illuminate-11.*-composer-${{ hashFiles('composer.json') }} - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 69eba46..dcb9257 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,25 +16,17 @@ jobs: strategy: fail-fast: false matrix: - php: [8.0, 8.1, 8.2, 8.3] - illuminate: [8.*, ^9.0, ^10.0] - stability: [prefer-lowest, prefer-stable] + php: [ 8.1, 8.2, 8.3 ] + illuminate: [ ^10.0, ^11.0 ] + stability: [ prefer-lowest, prefer-stable ] include: - - illuminate: 8.* - testbench: ~6.22 - - illuminate: ^9.0 - testbench: 7.* - illuminate: ^10.0 testbench: 8.* + - illuminate: ^11.0 + testbench: 9.* exclude: - php: 8.1 - illuminate: 7.* - - php: 8.1 - illuminate: 6.* - - php: 8.0 - illuminate: ^10.0 - - php: 8.3 - illuminate: 8.* + illuminate: ^11.0 name: P${{ matrix.php }} - I${{ matrix.illuminate }} - ${{ matrix.stability }} diff --git a/.gitignore b/.gitignore index bd4dddb..8574732 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,4 @@ vendor composer.phar clover.json clover.xml -.phpunit.result.cache +.phpunit.cache diff --git a/CHANGELOG.md b/CHANGELOG.md index 92ba394..f44b8e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ ## [Unreleased](https://github.com/markwalet/laravel-packagist/compare/v1.6.0...master) +### Added +- Added support for Laravel 11 + +### Changed +- Upgraded to PHPUnit 10 + +### Removed +- Removed support for PHP 8.0 +- Removed support for Laravel 8 +- Removed support for Laravel 9 + ## [v1.6.0 (2023-11-29)](https://github.com/markwalet/laravel-packagist/compare/v1.5.0...v1.6.0) ### Added diff --git a/composer.json b/composer.json index 414e1db..c0b787c 100644 --- a/composer.json +++ b/composer.json @@ -12,15 +12,15 @@ } ], "require": { - "php": "8.*", + "php": "^8.1", "ext-json": "*", - "laravel/framework": "8.*|^9.0|^10.0", + "laravel/framework": "^10.0|^11.0", "phpoption/phpoption": ">=1.8", "spatie/packagist-api": "^2.0" }, "require-dev": { - "phpunit/phpunit": "~9.3", - "orchestra/testbench": "~6.22|7.*|8.*" + "phpunit/phpunit": "^10.5", + "orchestra/testbench": "8.*|9.*" }, "autoload": { "psr-4": { diff --git a/phpunit.xml b/phpunit.xml index 506d5c0..431c8a3 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -2,23 +2,23 @@ - - - ./src - - - ./src/Exceptions/* - - - - - ./tests/ - - + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" + cacheDirectory=".phpunit.cache" + backupStaticProperties="false"> + + + ./tests/ + + + + + ./src + + + ./src/Exceptions/* + +