diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 2f84445..73bf230 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,11 +13,8 @@ jobs: strategy: fail-fast: true matrix: - php: [8.3, 8.2, 8.1] - laravel: ['^10.0', '^11.0'] - exclude: - - laravel: '^11.0' - php: 8.1 + php: [8.3, 8.2] + laravel: ['^11.15'] name: P${{ matrix.php }} - L${{ matrix.laravel }} diff --git a/composer.json b/composer.json index 925abdd..71f2ed7 100644 --- a/composer.json +++ b/composer.json @@ -16,12 +16,12 @@ } ], "require": { - "php": "^8.1", - "illuminate/container": "^10.0 || ^11.0", - "illuminate/contracts": "^10.0 || ^11.0", - "illuminate/database": "^10.0 || ^11.0", - "illuminate/events": "^10.0 || ^11.0", - "illuminate/support": "^10.0 || ^11.0", + "php": "^8.2", + "illuminate/container": "^11.15", + "illuminate/contracts": "^11.15", + "illuminate/database": "^11.15", + "illuminate/events": "^11.15", + "illuminate/support": "^11.15", "ramsey/uuid": "^4.7", "spatie/laravel-package-tools": "^1.16" }, diff --git a/tests/Feature/DatabaseMySqlSchemaGrammarTest.php b/tests/Feature/DatabaseMySqlSchemaGrammarTest.php index 0921270..7e569e4 100644 --- a/tests/Feature/DatabaseMySqlSchemaGrammarTest.php +++ b/tests/Feature/DatabaseMySqlSchemaGrammarTest.php @@ -25,7 +25,10 @@ public function testAddingUuid() $connection = m::mock(Connection::class); $this->assertEquals( - ['alter table `users` add `foo` char(36) not null, add `bar` binary(16) not null'], + [ + 'alter table `users` add `foo` char(36) not null', + 'alter table `users` add `bar` binary(16) not null', + ], $blueprint->toSql($connection, new MySqlGrammar) ); } diff --git a/tests/Feature/DatabasePostgresSchemaGrammarTest.php b/tests/Feature/DatabasePostgresSchemaGrammarTest.php index 4423226..d5db74d 100644 --- a/tests/Feature/DatabasePostgresSchemaGrammarTest.php +++ b/tests/Feature/DatabasePostgresSchemaGrammarTest.php @@ -25,7 +25,10 @@ public function testAddingUuid() $connection = m::mock(Connection::class); $this->assertEquals( - ['alter table "users" add column "foo" uuid not null, add column "bar" bytea not null'], + [ + 'alter table "users" add column "foo" uuid not null', + 'alter table "users" add column "bar" bytea not null', + ], $blueprint->toSql($connection, new PostgresGrammar) ); } diff --git a/tests/Feature/DatabaseSQLiteSchemaGrammarTest.php b/tests/Feature/DatabaseSQLiteSchemaGrammarTest.php index a1590f4..66c62d2 100644 --- a/tests/Feature/DatabaseSQLiteSchemaGrammarTest.php +++ b/tests/Feature/DatabaseSQLiteSchemaGrammarTest.php @@ -23,6 +23,7 @@ public function testAddingUuid() }); $connection = m::mock(Connection::class); + $connection->expects('getServerVersion')->once(); $this->assertEquals( ['alter table "users" add column "foo" varchar not null', 'alter table "users" add column "bar" blob(256) not null'],