File tree Expand file tree Collapse file tree 5 files changed +41
-26
lines changed Expand file tree Collapse file tree 5 files changed +41
-26
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,27 @@ jobs:
1212 fail-fast : true
1313 matrix :
1414 os : [ ubuntu-latest ]
15- php : [ 8.3 , 8.4 ]
15+ php : [ 8.4 , 8.5 ]
1616 laravel : [ 11.*, 12.* ]
1717 stability : [ prefer-lowest, prefer-stable ]
1818
1919 steps :
20- - name : Checkout code
21- uses : actions/checkout@v4
20+ - name : Check out code
21+ uses : actions/checkout@v5
22+
23+ - name : Cache PHP dependencies
24+ uses : actions/cache@v3
25+ with :
26+ path : ' **/vendor'
27+ key : ${{ runner.os }}-vendor-cache-${{ hashFiles('**/composer.lock') }}
28+ restore-keys : |
29+ ${{ runner.os }}-vendor-cache-
30+
31+ - name : Cache Composer dependencies
32+ uses : actions/cache@v3
33+ with :
34+ path : ~/.composer/cache/files
35+ key : composer-${{ runner.os }}-php-${{ matrix.php }}-${{ hashFiles('composer.json') }}
2236
2337 - name : Validate Composer configuration file
2438 run : composer validate --strict
3246
3347 - name : Install dependencies
3448 run : |
35- composer require "illuminate/database:${{ matrix.laravel }}" "illuminate/support:${{ matrix.laravel }}" --no-interaction --no-update
36- composer update --${{ matrix.stability }} --prefer-dist --no-interaction
49+ composer require "illuminate/database:${{ matrix.laravel }}" "illuminate/support:${{ matrix.laravel }}" --no-interaction --no-update --no-progress --optimize-autoloader
50+ composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress --optimize-autoloader
3751
3852 - name : Lint code
3953 run : vendor/bin/pint --test
Original file line number Diff line number Diff line change @@ -4,6 +4,16 @@ All Notable changes to `sebastiaanluca/laravel-boolean-dates` will be documented
44
55Updates should follow the [ Keep a CHANGELOG] ( http://keepachangelog.com/ ) principles.
66
7+ ## 10.0.0 (2025-11-28)
8+
9+ ### Added
10+
11+ - Added support for PHP 8.5
12+
13+ ### Removed
14+
15+ - Dropped support for PHP 8.3
16+
717## 9.0.0 (2025-02-07)
818
919### Added
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ $user->accepted_terms_at;
5858
5959## Requirements
6060
61- - PHP 8.3 or 8.4
61+ - PHP 8.4 or 8.5
6262- Laravel 11 or 12
6363
6464## How to install
@@ -294,7 +294,6 @@ Have a project that could use some guidance? Send me an e-mail at [hello@sebasti
294294
295295[ link-github ] : https://github.com/sebastiaanluca/laravel-boolean-dates
296296[ link-packagist ] : https://packagist.org/packages/sebastiaanluca/laravel-boolean-dates
297- [ link-travis ] : https://travis-ci.org/sebastiaanluca/laravel-boolean-dates
298297[ link-twitter-share ] : https://twitter.com/intent/tweet?text=Easily%20convert%20Eloquent%20model%20booleans%20to%20dates%20and%20back%20with%20Laravel%20Boolean%20Dates.%20Via%20@sebastiaanluca%20https://github.com/sebastiaanluca/laravel-boolean-dates
299298[ link-contributors ] : ../../contributors
300299
Original file line number Diff line number Diff line change 2525 }
2626 ],
2727 "require" : {
28- "php" : " ^8.3 .0" ,
29- "illuminate/database" : " ^11.32|^12.0 " ,
30- "illuminate/support" : " ^11.32|^12.0 "
28+ "php" : " ^8.4 .0" ,
29+ "illuminate/database" : " ^11.32|^12.40.2 " ,
30+ "illuminate/support" : " ^11.32|^12.40.2 "
3131 },
3232 "require-dev" : {
33- "friendsofphp/php-cs-fixer" : " ^3.68.5 " ,
34- "laravel/pint" : " ^1.20 " ,
35- "laravel/serializable-closure" : " ^2.0" ,
36- "phpunit/phpunit" : " ^11.5.7 " ,
37- "rector/rector" : " ^1 .2.10 " ,
33+ "friendsofphp/php-cs-fixer" : " ^3.90.0 " ,
34+ "laravel/pint" : " ^1.26 " ,
35+ "laravel/serializable-closure" : " ^2.0.7 " ,
36+ "phpunit/phpunit" : " ^11.5.44 " ,
37+ "rector/rector" : " ^2 .2.9 " ,
3838 "roave/security-advisories" : " dev-latest"
3939 },
4040 "autoload" : {
5656 "prefer-stable" : true ,
5757 "scripts" : {
5858 "post-update-cmd" : [
59- " @fix"
59+ " @fix" ,
60+ " composer bump"
6061 ],
6162
6263 "validate:composer" : " @composer validate --strict --ansi" ,
8485 "test:stable" : [
8586 " composer update --prefer-stable --prefer-dist --no-interaction --ansi" ,
8687 " @test"
87- ],
88-
89- "release" : " git-release"
88+ ]
9089 }
9190}
Original file line number Diff line number Diff line change 88use Rector \EarlyReturn \Rector \If_ \ChangeOrIfContinueToMultiContinueRector ;
99use Rector \Php74 \Rector \Closure \ClosureToArrowFunctionRector ;
1010use Rector \Php81 \Rector \Array_ \FirstClassCallableRector ;
11- use Rector \Php81 \Rector \Property \ReadOnlyPropertyRector ;
12- use Rector \Php82 \Rector \Class_ \ReadOnlyClassRector ;
1311use Rector \PHPUnit \Set \PHPUnitSetList ;
1412
1513return RectorConfig::configure ()
2927 typeDeclarations: true ,
3028 privatization: true ,
3129 earlyReturn: true ,
32- strictBooleans: true ,
3330 )
3431 ->withSets ([
3532 PHPUnitSetList::PHPUNIT_80 ,
3633 PHPUnitSetList::PHPUNIT_90 ,
3734 PHPUnitSetList::PHPUNIT_100 ,
3835 PHPUnitSetList::PHPUNIT_110 ,
3936 ])
40- ->withRules ([
41- ReadOnlyClassRector::class,
42- ReadOnlyPropertyRector::class,
43- ])
4437 ->withSkip ([
4538 CatchExceptionNameMatchingTypeRector::class,
4639 ChangeOrIfContinueToMultiContinueRector::class,
You can’t perform that action at this time.
0 commit comments