Skip to content

Commit 74a97a4

Browse files
committed
Fix existing unit/integration test
Bump deps Signed-off-by: Joey Smith <jsmith@webinertia.net> Signed-off-by: Joey Smith <jsmith@webinertia.net>
1 parent 8aa5e08 commit 74a97a4

File tree

6 files changed

+25
-25
lines changed

6 files changed

+25
-25
lines changed

composer.lock

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Driver/Mysqli/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
use const MYSQLI_CLIENT_SSL;
2424
use const MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT;
2525

26-
final class Connection extends AbstractConnection implements DriverAwareInterface
26+
class Connection extends AbstractConnection implements DriverAwareInterface
2727
{
2828
protected Mysqli $driver;
2929

src/Driver/Pdo/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
use function is_string;
1919
use function strtolower;
2020

21-
final class Connection extends AbstractPdoConnection
21+
class Connection extends AbstractPdoConnection
2222
{
2323
/**
2424
* {@inheritDoc}

src/Driver/Pdo/Pdo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use PhpDb\Adapter\Driver\ResultInterface;
1212
use PhpDb\Adapter\Mysql\DatabasePlatformNameTrait;
1313

14-
final class Pdo extends AbstractPdo
14+
class Pdo extends AbstractPdo
1515
{
1616
use DatabasePlatformNameTrait;
1717

test/integration/Container/MysqliConnectionFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function testInvokeReturnsMysqliConnection(): void
2828
]);
2929

3030
$factory = new MysqliConnectionFactory();
31-
$connection = $factory($this->container);
31+
$connection = $factory($this->container, Connection::class);
3232

3333
self::assertInstanceOf(ConnectionInterface::class, $connection);
3434
self::assertInstanceOf(Connection::class, $connection);

test/integration/Container/TestAsset/SetupTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use PhpDb\Adapter\Mysql\ConfigProvider;
1313
use PhpDb\Adapter\Mysql\Driver\Pdo\Pdo;
1414
use PhpDb\Container\AdapterManager;
15-
use PhpDb\Container\ConfigProvider as LaminasDbConfigProvider;
15+
use PhpDb\ConfigProvider as LaminasDbConfigProvider;
1616
use Psr\Container\ContainerInterface;
1717

1818
use function getenv;

0 commit comments

Comments
 (0)