Skip to content

Commit

Permalink
Fix documentation of supported MariaDB releases (doctrine#6407)
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus authored May 16, 2024
1 parent 3d1041b commit 9cf787c
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 13 deletions.
9 changes: 6 additions & 3 deletions docs/en/reference/platforms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,16 @@ MySQL
^^^^^

- ``MySQLPlatform`` for version 5.0 and above.
- ``MySQL57Platform`` for version 5.7 (5.7.9 GA) and above.
- ``MySQL80Platform`` for version 8.0 (8.0 GA) and above.
- ``MySQL57Platform`` for version 5.7.9 and above.
- ``MySQL80Platform`` for version 8.0 and above.

MariaDB
^^^^^

- ``MariaDb1027Platform`` for version 10.2 (10.2.7 GA) and above.
- ``MariaDBPlatform`` for version 10.2.7 and above.
- ``MariaDb1043Platform`` for version 10.4.3 and above.
- ``MariaDb1052Platform`` for version 10.5.2 and above.
- ``MariaDb1060Platform`` for version 10.6 and above.

Oracle
^^^^^^
Expand Down
4 changes: 1 addition & 3 deletions src/Platforms/MariaDb1027Platform.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
namespace Doctrine\DBAL\Platforms;

/**
* Provides the behavior, features and SQL dialect of the MariaDB 10.2 (10.2.7 GA) database platform.
*
* Note: Should not be used with versions prior to 10.2.7.
* Provides the behavior, features and SQL dialect of the MariaDB 10.2 database platform.
*
* @deprecated This class will be merged with {@see MariaDBPlatform} in 4.0 because support for MariaDB
* releases prior to 10.4.3 will be dropped.
Expand Down
2 changes: 1 addition & 1 deletion src/Platforms/MariaDb1043Platform.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use function sprintf;

/**
* Provides the behavior, features and SQL dialect of the MariaDB 10.4 (10.4.6 GA) database platform.
* Provides the behavior, features and SQL dialect of the MariaDB 10.4 database platform.
*
* Extend deprecated MariaDb1027Platform to ensure correct functions used in MySQLSchemaManager which
* tests for MariaDb1027Platform not MariaDBPlatform.
Expand Down
4 changes: 1 addition & 3 deletions src/Platforms/MariaDb1052Platform.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
use Doctrine\DBAL\Schema\TableDiff;

/**
* Provides the behavior, features and SQL dialect of the MariaDB 10.5 (10.5.2 GA) database platform.
*
* Note: Should not be used with versions prior to 10.5.2.
* Provides the behavior, features and SQL dialect of the MariaDB 10.5 database platform.
*/
class MariaDb1052Platform extends MariaDb1043Platform
{
Expand Down
2 changes: 1 addition & 1 deletion src/Platforms/MariaDb1060Platform.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Doctrine\DBAL\SQL\Builder\SelectSQLBuilder;

/**
* Provides the behavior, features and SQL dialect of the MariaDB 10.6 (10.6.0 GA) database platform.
* Provides the behavior, features and SQL dialect of the MariaDB 10.6 database platform.
*/
class MariaDb1060Platform extends MariaDb1052Platform
{
Expand Down
2 changes: 1 addition & 1 deletion src/Platforms/MySQL57Platform.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Doctrine\Deprecations\Deprecation;

/**
* Provides the behavior, features and SQL dialect of the MySQL 5.7 (5.7.9 GA) database platform.
* Provides the behavior, features and SQL dialect of the MySQL 5.7 database platform.
*
* @deprecated This class will be merged with {@see MySQLPlatform} in 4.0 because support for MySQL
* releases prior to 5.7 will be dropped.
Expand Down
2 changes: 1 addition & 1 deletion src/Platforms/MySQL80Platform.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Doctrine\Deprecations\Deprecation;

/**
* Provides the behavior, features and SQL dialect of the MySQL 8.0 (8.0 GA) database platform.
* Provides the behavior, features and SQL dialect of the MySQL 8.0 database platform.
*/
class MySQL80Platform extends MySQL57Platform
{
Expand Down

0 comments on commit 9cf787c

Please sign in to comment.