Skip to content

Commit 31e25ef

Browse files
authored
Merge pull request #355 from phpdocker-io/mariadb-version-upgrades
Update MariaDB versions: 10.4 to 11.0
2 parents cf37fb9 + 84ac9a1 commit 31e25ef

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

src/PHPDocker/Project/ServiceOptions/MariaDB.php

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,40 +26,34 @@ class MariaDB extends AbstractMySQL
2626
/**
2727
* Available versions
2828
*/
29-
private const VERSION_55 = '5.5';
30-
private const VERSION_100 = '10.0';
31-
private const VERSION_101 = '10.1';
32-
private const VERSION_102 = '10.2';
33-
private const VERSION_103 = '10.3';
3429
private const VERSION_104 = '10.4';
3530
private const VERSION_105 = '10.5';
3631
private const VERSION_106 = '10.6';
3732
private const VERSION_107 = '10.7';
3833
private const VERSION_108 = '10.8';
3934
private const VERSION_109 = '10.9';
4035
private const VERSION_1010 = '10.10';
36+
private const VERSION_1011 = '10.11';
37+
private const VERSION_110 = '11.0';
4138

4239
private const ALLOWED_VERSIONS = [
40+
self::VERSION_110 => '11.0.x',
41+
self::VERSION_1011 => '10.11.x',
4342
self::VERSION_1010 => '10.10.x',
4443
self::VERSION_109 => '10.9.x',
4544
self::VERSION_108 => '10.8.x',
4645
self::VERSION_107 => '10.7.x',
4746
self::VERSION_106 => '10.6.x',
4847
self::VERSION_105 => '10.5.x',
4948
self::VERSION_104 => '10.4.x',
50-
self::VERSION_103 => '10.3.x',
51-
self::VERSION_102 => '10.2.x',
52-
self::VERSION_101 => '10.1.x',
53-
self::VERSION_100 => '10.0.x',
54-
self::VERSION_55 => '5.5.x',
5549
];
5650

5751
/**
5852
* Set default version.
5953
*/
6054
public function __construct()
6155
{
62-
$this->version = self::VERSION_1010;
56+
$this->version = self::VERSION_110;
6357
}
6458

6559
protected function getExternalPortOffset(): ?int

0 commit comments

Comments
 (0)