Skip to content

Commit b56edc0

Browse files
Update requirements
1 parent d3c36b6 commit b56edc0

File tree

5 files changed

+28
-24
lines changed

5 files changed

+28
-24
lines changed

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
fail-fast: true
1313
matrix:
1414
os: [ ubuntu-latest ]
15-
php: [ 8.2, 8.3 ]
16-
laravel: [ 10.*, 11.* ]
15+
php: [ 8.3, 8.4 ]
16+
laravel: [ 11.*, 12.* ]
1717
stability: [ prefer-lowest, prefer-stable ]
1818

1919
steps:

CHANGELOG.md

+16
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,22 @@ 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+
## 9.0.0 (2025-02-07)
8+
9+
### Added
10+
11+
- Added support for PHP 8.4
12+
- Added support for Laravel 12
13+
14+
### Changed
15+
16+
- Require minimum version of Laravel 11.32 to fix deprecation warnings. See https://github.com/laravel/framework/pull/50922.
17+
18+
### Removed
19+
20+
- Dropped support for PHP 8.2
21+
- Dropped support for Laravel 10
22+
723
## 8.0.0 (2024-02-25)
824

925
### Added

composer.json

+8-7
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,16 @@
2525
}
2626
],
2727
"require": {
28-
"php": "~8.2|~8.3",
29-
"illuminate/database": "^10.0|^11.0",
30-
"illuminate/support": "^10.0|^11.0"
28+
"php": "^8.3.0",
29+
"illuminate/database": "^11.32|^12.0",
30+
"illuminate/support": "^11.32|^12.0"
3131
},
3232
"require-dev": {
33-
"friendsofphp/php-cs-fixer": "^3.50",
34-
"laravel/pint": "^1.14",
35-
"phpunit/phpunit": "^11.0.3",
36-
"rector/rector": "^1.0.1",
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",
3738
"roave/security-advisories": "dev-latest"
3839
},
3940
"autoload": {

rector.php

+1-12
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,9 @@
22

33
declare(strict_types=1);
44

5-
use Rector\CodeQuality\Rector\FuncCall\BoolvalToTypeCastRector;
6-
use Rector\CodeQuality\Rector\FuncCall\FloatvalToTypeCastRector;
7-
use Rector\CodeQuality\Rector\FuncCall\IntvalToTypeCastRector;
8-
use Rector\CodeQuality\Rector\FuncCall\StrvalToTypeCastRector;
95
use Rector\CodingStyle\Rector\Catch_\CatchExceptionNameMatchingTypeRector;
10-
use Rector\CodingStyle\Rector\FuncCall\ArraySpreadInsteadOfArrayMergeRector;
116
use Rector\CodingStyle\Rector\Stmt\NewlineAfterStatementRector;
127
use Rector\Config\RectorConfig;
13-
use Rector\EarlyReturn\Rector\If_\ChangeAndIfToEarlyReturnRector;
148
use Rector\EarlyReturn\Rector\If_\ChangeOrIfContinueToMultiContinueRector;
159
use Rector\Php74\Rector\Closure\ClosureToArrowFunctionRector;
1610
use Rector\Php81\Rector\Array_\FirstClassCallableRector;
@@ -41,19 +35,14 @@
4135
PHPUnitSetList::PHPUNIT_80,
4236
PHPUnitSetList::PHPUNIT_90,
4337
PHPUnitSetList::PHPUNIT_100,
38+
PHPUnitSetList::PHPUNIT_110,
4439
])
4540
->withRules([
46-
BoolvalToTypeCastRector::class,
47-
FloatvalToTypeCastRector::class,
48-
IntvalToTypeCastRector::class,
49-
StrvalToTypeCastRector::class,
5041
ReadOnlyClassRector::class,
5142
ReadOnlyPropertyRector::class,
5243
])
5344
->withSkip([
54-
ArraySpreadInsteadOfArrayMergeRector::class,
5545
CatchExceptionNameMatchingTypeRector::class,
56-
ChangeAndIfToEarlyReturnRector::class,
5746
ChangeOrIfContinueToMultiContinueRector::class,
5847
ClosureToArrowFunctionRector::class,
5948
FirstClassCallableRector::class,

tests/TestCase.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,4 @@
66

77
use PHPUnit\Framework\TestCase as BaseTestCase;
88

9-
class TestCase extends BaseTestCase
10-
{
11-
}
9+
class TestCase extends BaseTestCase {}

0 commit comments

Comments
 (0)