Skip to content

Commit f7f3875

Browse files
Merge branch 'release/10.0.0'
2 parents ce12883 + ef0ee0a commit f7f3875

File tree

5 files changed

+41
-26
lines changed

5 files changed

+41
-26
lines changed

.github/workflows/test.yml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff 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
@@ -32,8 +46,8 @@ jobs:
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

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ All Notable changes to `sebastiaanluca/laravel-boolean-dates` will be documented
44

55
Updates 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

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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

composer.json

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@
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": {
@@ -56,7 +56,8 @@
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",
@@ -84,8 +85,6 @@
8485
"test:stable": [
8586
"composer update --prefer-stable --prefer-dist --no-interaction --ansi",
8687
"@test"
87-
],
88-
89-
"release": "git-release"
88+
]
9089
}
9190
}

rector.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
use Rector\EarlyReturn\Rector\If_\ChangeOrIfContinueToMultiContinueRector;
99
use Rector\Php74\Rector\Closure\ClosureToArrowFunctionRector;
1010
use Rector\Php81\Rector\Array_\FirstClassCallableRector;
11-
use Rector\Php81\Rector\Property\ReadOnlyPropertyRector;
12-
use Rector\Php82\Rector\Class_\ReadOnlyClassRector;
1311
use Rector\PHPUnit\Set\PHPUnitSetList;
1412

1513
return RectorConfig::configure()
@@ -29,18 +27,13 @@
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,

0 commit comments

Comments
 (0)