Skip to content

Commit 8a08c01

Browse files
committed
cs fixer it up
1 parent 54a55c6 commit 8a08c01

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

src/Docker/DatabaseServices.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public static function getDatabaseSkeleton(string $name, string $version): array
4343
'environment' => [
4444
'POSTGRES_PASSWORD' => 'main',
4545
'POSTGRES_USER' => 'main',
46-
'POSTGRES_DB' => 'main'
46+
'POSTGRES_DB' => 'main',
4747
],
4848
'ports' => ['5432:5432'],
4949
];

tests/Maker/MakeDockerDatabaseTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function getTestDetails()
2828
$this->getMakerInstance(MakeDockerDatabase::class),
2929
[
3030
'0', // Select MySQL as the database
31-
'' // use the default "latest" service version
31+
'', // use the default "latest" service version
3232
]
3333
)
3434
->assert(
@@ -45,13 +45,13 @@ function (string $output, string $directory) {
4545

4646
self::assertSame('3.7', $data['version']);
4747
}
48-
)
48+
),
4949
];
5050
yield 'creates_mysql_service' => [MakerTestDetails::createTest(
5151
$this->getMakerInstance(MakeDockerDatabase::class),
5252
[
5353
'0', // Select MySQL as the database
54-
'' // use the default "latest" service version
54+
'', // use the default "latest" service version
5555
]
5656
)
5757
->assert(
@@ -68,14 +68,14 @@ function (string $output, string $directory) {
6868
self::assertSame('password', $mysql['environment']['MYSQL_ROOT_PASSWORD']);
6969
self::assertSame(['3306:3306'], $mysql['ports']);
7070
}
71-
)
71+
),
7272
];
7373

7474
yield 'creates_mariadb_service' => [MakerTestDetails::createTest(
7575
$this->getMakerInstance(MakeDockerDatabase::class),
7676
[
7777
'1', // Select MariaDB as the database
78-
'' // use the default "latest" service version
78+
'', // use the default "latest" service version
7979
]
8080
)
8181
->assert(
@@ -92,14 +92,14 @@ function (string $output, string $directory) {
9292
self::assertSame('password', $mariadb['environment']['MYSQL_ROOT_PASSWORD']);
9393
self::assertSame(['3306:3306'], $mariadb['ports']);
9494
}
95-
)
95+
),
9696
];
9797

9898
yield 'create_postgres_service' => [MakerTestDetails::createTest(
9999
$this->getMakerInstance(MakeDockerDatabase::class),
100100
[
101101
'2', // Select Postgres as the database
102-
'' // use the default "alpine" service version
102+
'', // use the default "alpine" service version
103103
]
104104
)
105105
->assert(
@@ -118,7 +118,7 @@ function (string $output, string $directory) {
118118
self::assertSame('main', $postgres['environment']['POSTGRES_DB']);
119119
self::assertSame(['5432:5432'], $postgres['ports']);
120120
}
121-
)
121+
),
122122
];
123123
}
124124
}

tests/Util/ComposeFileManipulatorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function testExposePorts(): void
9999
'rabbitmq' => [
100100
'am' => 'I next?',
101101
'ports' => [
102-
'15672'
102+
'15672',
103103
],
104104
],
105105
],
@@ -124,7 +124,7 @@ public function testAddVolume(): void
124124
'php' => [
125125
'yes' => 'this looks fun',
126126
'volumes' => [
127-
'/var/htdocs:/var'
127+
'/var/htdocs:/var',
128128
],
129129
],
130130
],

0 commit comments

Comments
 (0)