Skip to content

Commit 164a5d2

Browse files
committed
- Added Laravel 13 support
1 parent c80a40c commit 164a5d2

4 files changed

Lines changed: 14 additions & 10 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@ jobs:
1717
matrix:
1818
os: [ ubuntu-latest ]
1919
php: [ 8.4, 8.3, 8.2, 8.1 ]
20-
laravel: [ 12.*, 11.*, ^10.40, ^9.14 ]
20+
laravel: [ 13.*, 12.*, 11.*, ^10.40, ^9.14 ]
2121
stability: [ prefer-lowest, prefer-stable ]
2222
include:
23+
- laravel: 13.*
24+
testbench: 11.*
25+
carbon: ^3.8.4
2326
- laravel: 12.*
2427
testbench: 10.*
2528
carbon: ^3.8.4
@@ -33,6 +36,10 @@ jobs:
3336
testbench: 7.*
3437
carbon: ^2.63
3538
exclude:
39+
- laravel: 13.*
40+
php: 8.2
41+
- laravel: 13.*
42+
php: 8.1
3643
- laravel: 12.*
3744
php: 8.1
3845
- laravel: 11.*

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
],
1818
"require": {
1919
"php": "^8.1",
20-
"illuminate/support": "^9.14 || ^10.40 || ^11.0 || ^12.0"
20+
"illuminate/support": "^9.14 || ^10.40 || ^11.0 || ^12.0 || ^13.0"
2121
},
2222
"require-dev": {
2323
"laravel/pint": "^1.14",
24-
"orchestra/testbench": "^7.0 || ^8.0 || ^9.0 || ^10.0",
25-
"phpunit/phpunit": "^9.5 || ^10.5 || ^11.5.3"
24+
"orchestra/testbench": "^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0",
25+
"phpunit/phpunit": "^9.5 || ^10.5 || ^11.5.3 || ^12.5.8 || ^13.0.3"
2626
},
2727
"autoload": {
2828
"psr-4": {

tests/Feature/BlueprintTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ class BlueprintTest extends TestCase
1111
{
1212
use RefreshDatabase;
1313

14-
/** @test */
15-
public function it_can_create_an_enum_column(): void
14+
public function test_it_can_create_an_enum_column(): void
1615
{
1716
$this->assertTrue(Schema::hasColumn('cities', 'status'));
1817
$this->assertEquals(static::isLaravel9() ? 'string' : 'varchar', Schema::getColumnType('cities', 'status'));

tests/Unit/SchemaFacadeTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,12 @@ public function setUp(): void
2020
}
2121
}
2222

23-
/** @test */
24-
public function it_can_get_column_comments_with_schema_facade(): void
23+
public function test_it_can_get_column_comments_with_schema_facade(): void
2524
{
2625
$this->assertEquals('enum:' . CityStatus::class, Schema::getColumnComment('cities', 'status'));
2726
}
2827

29-
/** @test */
30-
public function it_can_get_table_comments_with_schema_facade(): void
28+
public function test_it_can_get_table_comments_with_schema_facade(): void
3129
{
3230
$this->assertEquals('files', Schema::getTableComment('cities'));
3331
}

0 commit comments

Comments
 (0)