Skip to content

Commit 36cbedc

Browse files
Merge branch '6.4' into 7.0
* 6.4: [Templating] Fix CI More short closures
2 parents ffc5e0a + c541756 commit 36cbedc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/Store/DoctrineDbalStoreTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public function testCreatesTableOutsideTransaction()
236236
public function testConfigureSchemaDifferentDatabase()
237237
{
238238
$conn = $this->createMock(Connection::class);
239-
$someFunction = function () { return false; };
239+
$someFunction = fn () => false;
240240
$schema = new Schema();
241241

242242
$dbalStore = new DoctrineDbalStore($conn);
@@ -247,7 +247,7 @@ public function testConfigureSchemaDifferentDatabase()
247247
public function testConfigureSchemaSameDatabase()
248248
{
249249
$conn = $this->createMock(Connection::class);
250-
$someFunction = function () { return true; };
250+
$someFunction = fn () => true;
251251
$schema = new Schema();
252252

253253
$dbalStore = new DoctrineDbalStore($conn);
@@ -262,7 +262,7 @@ public function testConfigureSchemaTableExists()
262262
$schema->createTable('lock_keys');
263263

264264
$dbalStore = new DoctrineDbalStore($conn);
265-
$someFunction = function () { return true; };
265+
$someFunction = fn () => true;
266266
$dbalStore->configureSchema($schema, $someFunction);
267267
$table = $schema->getTable('lock_keys');
268268
$this->assertEmpty($table->getColumns(), 'The table was not overwritten');

0 commit comments

Comments
 (0)