diff --git a/README.md b/README.md index 101a700..19bc109 100644 --- a/README.md +++ b/README.md @@ -20,13 +20,13 @@ The way each implementation stores data is NOT guaranteed to be compatible, plea Requires the `redis` extension. Valkey is the name of the Linux Foundation's fork of Redis. -### `Index\Data\MariaDb` +### `Index\Db\MariaDb` Requires the `mysqli` extension. `mysqlnd` is recommended as the underlying driver, but `libmysql` should work without a hitch. This driver also works for MySQL as the dependencies would suggest, but you should consider using MariaDB instead of possible. -### `Index\Data\Sqlite` +### `Index\Db\Sqlite` Requires the `sqlite3` extension. diff --git a/VERSION b/VERSION index 88f81de..da0e292 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.2410.42227 +0.2410.42235 diff --git a/composer.json b/composer.json index c802ab5..30593b4 100644 --- a/composer.json +++ b/composer.json @@ -13,8 +13,8 @@ "phpstan/phpstan": "^1.11" }, "suggest": { - "ext-mysqli": "Support for the Index\\Data\\MariaDb namespace (both mysqlnd and libmysql are supported).", - "ext-sqlite3": "Support for the Index\\Data\\Sqlite namespace." + "ext-mysqli": "Support for the Index\\Db\\MariaDb namespace (both mysqlnd and libmysql are supported).", + "ext-sqlite3": "Support for the Index\\Db\\Sqlite namespace." }, "authors": [ { diff --git a/src/Config/Db/DbConfig.php b/src/Config/Db/DbConfig.php index 9f822fb..ddc7664 100644 --- a/src/Config/Db/DbConfig.php +++ b/src/Config/Db/DbConfig.php @@ -7,7 +7,7 @@ namespace Index\Config\Db; use InvalidArgumentException; use Index\Config\{Config,GetValueInfoTrait,GetValuesTrait,MutableConfigTrait,ScopedConfig}; -use Index\Data\{DbConnection,DbStatementCache,DbTools}; +use Index\Db\{DbConnection,DbStatementCache,DbTools}; /** * Provides a configuration based on a {@see DbConnection} instance. diff --git a/src/Config/Db/DbConfigValueInfo.php b/src/Config/Db/DbConfigValueInfo.php index 380bebc..728d8a0 100644 --- a/src/Config/Db/DbConfigValueInfo.php +++ b/src/Config/Db/DbConfigValueInfo.php @@ -7,7 +7,7 @@ namespace Index\Config\Db; use UnexpectedValueException; use Index\Config\ConfigValueInfo; -use Index\Data\DbResult; +use Index\Db\DbResult; /** * Provides information about a databased configuration value. diff --git a/src/Data/DbBackend.php b/src/Db/DbBackend.php similarity index 96% rename from src/Data/DbBackend.php rename to src/Db/DbBackend.php index 7e079f9..fee1621 100644 --- a/src/Data/DbBackend.php +++ b/src/Db/DbBackend.php @@ -1,9 +1,9 @@ assertInstanceOf(NullDbConnection::class, $nullDbConn1); - $nullDbConn2 = DbTools::create('Index-Data-NullDb-NullDbBackend:'); + $nullDbConn2 = DbTools::create('Index-Db-NullDb-NullDbBackend:'); $this->assertInstanceOf(NullDbConnection::class, $nullDbConn2); $maria = new MariaDbBackend;