diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dfd061a..6201901 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,12 +7,12 @@ on: jobs: check: - name: Run PHP tests - PHP ${{ matrix.php }} - ${{ matrix.dependency-version }} + name: Run checks - PHP ${{ matrix.php }} - ${{ matrix.dependency-version }} runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - php: [8.0, 8.1] + php: [8.1, 8.2] dependency-version: [prefer-lowest, prefer-stable] os: [ubuntu-latest] diff --git a/.gitignore b/.gitignore index 28188ad..bad487c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,8 @@ -.idea -.php-cs-fixer.cache -.phpunit.result.cache -composer.lock -composer.phar -phpunit.xml -vendor/ +/.idea +/.php-cs-fixer.cache +/.phpunit.cache +/.phpunit.result.cache +/composer.lock +/composer.phar +/phpunit.xml +/vendor/ diff --git a/CHANGELOG.md b/CHANGELOG.md index baabc70..ec424bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,18 @@ All Notable changes to `sebastiaanluca/laravel-boolean-dates` will be documented Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) principles. +## 7.0.0 (2023-02-06) + +### Added + +- Added support for PHP 8.2 +- Added support for Laravel 10 + +### Removed + +- Dropped support for PHP 8.0 +- Dropped support for Laravel 9 + ## 6.0.1 (2022-03-17) ### Fixed diff --git a/README.md b/README.md index 31d7463..aab089f 100644 --- a/README.md +++ b/README.md @@ -59,8 +59,8 @@ $user->accepted_terms_at; ## Requirements -- PHP 8 or 8.1 -- Laravel ^9.2 +- PHP 8.1 or 8.2 +- Laravel 10 ## How to install diff --git a/composer.json b/composer.json index 2ec80b4..5bbea21 100644 --- a/composer.json +++ b/composer.json @@ -25,13 +25,13 @@ } ], "require": { - "php": "^8.0|^8.1", - "illuminate/database": "^9.2", - "illuminate/support": "^9.2" + "php": "~8.1|~8.2", + "illuminate/database": "^10.0", + "illuminate/support": "^10.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.7", - "phpunit/phpunit": "^9.5" + "phpunit/phpunit": "^10.0" }, "autoload": { "psr-4": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index a753534..d40dda5 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,17 +1,14 @@