File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 },
2929 "extra" : {
3030 "laminas" : {
31- "config-provider" : " PhpDb\\ Adapter \\ Mysql\\ ConfigProvider"
31+ "config-provider" : " PhpDb\\ Mysql\\ ConfigProvider"
3232 }
3333 },
3434 "require" : {
5050 },
5151 "autoload" : {
5252 "psr-4" : {
53- "PhpDb\\ Adapter \\ Mysql\\ " : " src/"
53+ "PhpDb\\ Mysql\\ " : " src/"
5454 }
5555 },
5656 "autoload-dev" : {
5757 "psr-4" : {
58- "PhpDbTest\\ Adapter \\ Mysql\\ " : " test/unit/" ,
59- "PhpDbIntegrationTest\\ Adapter \\ Mysql\\ " : " test/integration/"
58+ "PhpDbTest\\ Mysql\\ " : " test/unit/" ,
59+ "PhpDbIntegrationTest\\ Mysql\\ " : " test/integration/"
6060 }
6161 },
6262 "scripts" : {
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5- namespace PhpDb \Adapter \ Mysql \ Platform ;
5+ namespace PhpDb \Mysql ;
66
77use mysqli ;
88use Override ;
99use PDO ;
1010use PhpDb \Adapter \Driver \DriverInterface ;
11- use PhpDb \Adapter \Mysql \Sql \Platform \Mysql \Mysql as SqlPlatform ;
1211use PhpDb \Adapter \Platform \AbstractPlatform ;
1312use PhpDb \Sql \Platform \PlatformDecoratorInterface ;
1413
1514use function implode ;
1615use function str_replace ;
1716
18- class Mysql extends AbstractPlatform
17+ class AdapterPlatform extends AbstractPlatform
1918{
2019 public final const PLATFORM_NAME = 'MySQL ' ;
2120
@@ -54,7 +53,7 @@ public function getName(): string
5453 #[Override]
5554 public function getSqlPlatformDecorator (): PlatformDecoratorInterface
5655 {
57- return new SqlPlatform ();
56+ return new Sql \ Platform ();
5857 }
5958
6059 /**
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5- namespace PhpDb \Adapter \ Mysql \ Driver \ Mysqli ;
5+ namespace PhpDb \Mysql ;
66
77use Exception as GenericException ;
88use Override ;
2525
2626class Connection extends AbstractConnection implements DriverAwareInterface
2727{
28- protected Mysqli $ driver ;
28+ protected Driver $ driver ;
2929
3030 /** @var \mysqli */
3131 protected $ resource ;
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5- namespace PhpDb \Adapter \ Mysql ;
5+ namespace PhpDb \Mysql ;
66
77use PhpDb \Adapter \Driver \DriverInterface ;
88use PhpDb \Adapter \Exception ;
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5- namespace PhpDb \Adapter \ Mysql \ Driver \ Mysqli ;
5+ namespace PhpDb \Mysql ;
66
77use mysqli_stmt ;
88use PhpDb \Adapter \Driver \ConnectionInterface ;
1111use PhpDb \Adapter \Driver \ResultInterface ;
1212use PhpDb \Adapter \Driver \StatementInterface ;
1313use PhpDb \Adapter \Exception ;
14- use PhpDb \Adapter \Mysql \DatabasePlatformNameTrait ;
1514use PhpDb \Adapter \Profiler \ProfilerAwareInterface ;
1615use PhpDb \Adapter \Profiler \ProfilerInterface ;
1716
2019use function extension_loaded ;
2120use function is_string ;
2221
23- final class Mysqli implements DriverInterface, ProfilerAwareInterface
22+ final class Driver implements DriverInterface, ProfilerAwareInterface
2423{
2524 use DatabasePlatformNameTrait;
2625
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5- namespace PhpDb \Adapter \ Mysql \Metadata \ Source ;
5+ namespace PhpDb \Mysql \Metadata ;
66
77use DateTime ;
88use Exception ;
2020use const CASE_LOWER ;
2121use const PREG_PATTERN_ORDER ;
2222
23- final class MysqlMetadata extends AbstractSource
23+ final class Source extends AbstractSource
2424{
2525 /**
2626 * @throws Exception
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5- namespace PhpDb \Adapter \ Mysql \ Driver \Pdo ;
5+ namespace PhpDb \Mysql \Pdo ;
66
77use Override ;
88use PDO ;
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5- namespace PhpDb \Adapter \ Mysql \ Driver \Pdo ;
5+ namespace PhpDb \Mysql \Pdo ;
66
77use Override ;
88use PDOStatement ;
99use PhpDb \Adapter \Driver \Pdo \AbstractPdo ;
1010use PhpDb \Adapter \Driver \Pdo \Result ;
1111use PhpDb \Adapter \Driver \ResultInterface ;
12- use PhpDb \Adapter \ Mysql \DatabasePlatformNameTrait ;
12+ use PhpDb \Mysql \DatabasePlatformNameTrait ;
1313
14- class Pdo extends AbstractPdo
14+ class Driver extends AbstractPdo
1515{
1616 use DatabasePlatformNameTrait;
1717
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5- namespace PhpDb \Adapter \ Mysql \ Driver \ Mysqli ;
5+ namespace PhpDb \Mysql ;
66
77use Iterator ;
88use mysqli ;
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5- namespace PhpDb \Adapter \ Mysql \Sql \ Platform \ Mysql \Ddl ;
5+ namespace PhpDb \Mysql \Sql \Ddl ;
66
77use PhpDb \Adapter \Platform \PlatformInterface ;
88use PhpDb \Sql \Ddl \AlterTable ;
You can’t perform that action at this time.
0 commit comments