Skip to content

Commit 4afce54

Browse files
committed
Consistently reference IBM Db2 as Db2
1 parent f3f19ac commit 4afce54

File tree

16 files changed

+36
-36
lines changed

16 files changed

+36
-36
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,8 @@ jobs:
208208
php-version: "7.4"
209209
extension: "pdo_sqlsrv"
210210

211-
phpunit-ibm-db2:
212-
name: "PHPUnit with IBM DB2"
211+
phpunit-db2:
212+
name: "PHPUnit with Db2"
213213
needs: "phpunit-smoke-check"
214214
uses: ./.github/workflows/phpunit-db2.yml
215215
with:
@@ -265,7 +265,7 @@ jobs:
265265
- "phpunit-mariadb"
266266
- "phpunit-mysql"
267267
- "phpunit-mssql"
268-
- "phpunit-ibm-db2"
268+
- "phpunit-db2"
269269

270270
steps:
271271
- name: "Checkout"

.github/workflows/phpunit-db2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Checkout
3333
uses: actions/checkout@v4
3434

35-
- name: Install IBM DB2 CLI driver
35+
- name: Install Db2 CLI driver
3636
working-directory: /tmp
3737
run: |
3838
wget https://github.com/ibmdb/db2drivers/raw/refs/heads/main/clidriver/v11.5.9/linuxx64_odbc_cli.tar.gz

UPGRADE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -779,9 +779,9 @@ following methods are deprecated:
779779
The protected property `AbstractPlatform::$doctrineTypeComments` is deprecated
780780
as well.
781781

782-
## Deprecated support for IBM DB2 10.5 and older
782+
## Deprecated support for Db2 10.5 and older
783783

784-
IBM DB2 10.5 and older won't be supported in DBAL 4. Consider upgrading to IBM DB2 11.1 or later.
784+
Db2 10.5 and older won't be supported in DBAL 4. Consider upgrading to Db2 11.1 or later.
785785

786786
## Deprecated support for Oracle 12c (12.2.0.1) and older
787787

@@ -1447,9 +1447,9 @@ All implementations of the `VersionAwarePlatformDriver` interface have to implem
14471447
The `Doctrine\DBAL\Platforms\MsSQLKeywords` class has been removed.
14481448
Please use `Doctrine\DBAL\Platforms\SQLServerPlatform` instead.
14491449

1450-
## BC BREAK: Removed PDO DB2 driver
1450+
## BC BREAK: Removed PDO Db2 driver
14511451

1452-
This PDO-based IBM DB2 driver (built on top of `pdo_ibm` extension) has already been unsupported as of 2.5, it has been now removed.
1452+
This PDO-based Db2 driver (built on top of `pdo_ibm` extension) has already been unsupported as of 2.5, it has been now removed.
14531453

14541454
The following class has been removed:
14551455

docs/en/reference/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ interfaces to use. It can be configured in one of two ways:
172172
- ``pdo_sqlsrv``: A Microsoft SQL Server driver that uses pdo_sqlsrv PDO
173173
- ``sqlsrv``: A Microsoft SQL Server driver that uses the sqlsrv PHP extension.
174174
- ``oci8``: An Oracle driver that uses the oci8 PHP extension.
175-
- ``ibm_db2``: An IBM DB2 driver that uses the ibm_db2 PHP extension.
175+
- ``ibm_db2``: A Db2 driver that uses the ibm_db2 PHP extension.
176176

177177
- ``driverClass``: Specifies a custom driver implementation if no
178178
'driver' is specified. This allows the use of custom drivers that

docs/en/reference/introduction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ the oci8 extension under the hood.
1313

1414
The following database vendors are currently supported:
1515

16-
- DB2 (IBM)
16+
- Db2 (IBM)
1717
- MariaDB
1818
- MySQL (Oracle)
1919
- Oracle

docs/en/reference/known-vendor-issues.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,13 @@ columns in the table is not the same as the order in the primary key. Tables
127127
created with Doctrine use the order of the columns as defined in the primary
128128
key.
129129

130-
IBM DB2
131-
-------
130+
Db2
131+
---
132132

133133
DateTimeTz
134134
~~~~~~~~~~
135135

136-
DB2 does not support saving timezone offsets. The DateTimeTz type therefore behaves like the DateTime
136+
Db2 does not support saving timezone offsets. The DateTimeTz type therefore behaves like the DateTime
137137
type.
138138

139139
Oracle

docs/en/reference/platforms.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ PostgreSQL
6464
- ``PostgreSQL100Platform`` for version 10.0 and above.
6565
- ``PostgreSQL120Platform`` for version 12.0 and above.
6666

67-
IBM DB2
68-
^^^^^^^
67+
Db2
68+
^^^
6969

7070
- ``Db2Platform`` for version 9.7 and above.
7171
- ``Db2111Platform`` for version 11.1 (11.1 GA) and above.

src/Driver/AbstractDB2Driver.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
use function version_compare;
1919

2020
/**
21-
* Abstract base implementation of the {@see Driver} interface for IBM DB2 based drivers.
21+
* Abstract base implementation of the {@see Driver} interface for Db2 based drivers.
2222
*/
2323
abstract class AbstractDB2Driver implements VersionAwarePlatformDriver
2424
{
@@ -66,17 +66,17 @@ public function createDatabasePlatformForVersion($version)
6666
Deprecation::trigger(
6767
'doctrine/dbal',
6868
'https://github.com/doctrine/dbal/pull/5156',
69-
'IBM DB2 < 11.1 support is deprecated and will be removed in DBAL 4.'
70-
. ' Consider upgrading to IBM DB2 11.1 or later.',
69+
'Db2 < 11.1 support is deprecated and will be removed in DBAL 4.'
70+
. ' Consider upgrading to Db2 11.1 or later.',
7171
);
7272

7373
return $this->getDatabasePlatform();
7474
}
7575

7676
/**
77-
* Detects IBM DB2 server version
77+
* Detects Db2 server version
7878
*
79-
* @param string $versionString Version string as returned by IBM DB2 server, i.e. 'DB2/LINUXX8664 11.5.8.0'
79+
* @param string $versionString Version string as returned by Db2 server, i.e. 'DB2/LINUXX8664 11.5.8.0'
8080
*
8181
* @throws DBALException
8282
*/

src/Driver/IBMDB2/DataSourceName.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use function strpos;
1212

1313
/**
14-
* IBM DB2 DSN
14+
* Db2 DSN
1515
*/
1616
final class DataSourceName
1717
{

src/Platforms/DB2111Platform.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
use function sprintf;
88

99
/**
10-
* Provides the behavior, features and SQL dialect of the IBM DB2 11.1 (11.1 GA) database platform.
10+
* Provides the behavior, features and SQL dialect of the Db2 11.1 (11.1 GA) database platform.
1111
*
12-
* @deprecated This class will be merged with {@see DB2Platform} in 4.0 because support for IBM DB2
12+
* @deprecated This class will be merged with {@see DB2Platform} in 4.0 because support for Db2
1313
* releases prior to 11.1 will be dropped.
1414
*
1515
* @see https://www.ibm.com/docs/en/db2/11.1?topic=database-whats-new-db2-version-111-ga

0 commit comments

Comments
 (0)