Skip to content

Commit

Permalink
Remove support for outdated DBAL.
Browse files Browse the repository at this point in the history
  • Loading branch information
hschletz committed Oct 28, 2022
1 parent bc9f6f5 commit 11f5946
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 289 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ About NADA

NADA is a high level SQL abstraction library for PHP. It complements and
operates on top of a conventional database abstraction layer (currently
supported: [PDO](http://php.net/manual/en/book.pdo.php),
[Zend_Db (Zend Framework 1.x)](http://framework.zend.com),
[Zend\Db (Zend Framework 2.x)](http://framework.zend.com) and
[MDB2](http://pear.php.net/package/MDB2)), allowing easy integration into
existing applications.
supported: [PDO](http://php.net/manual/en/book.pdo.php) and
[Laminas-DB](https://docs.laminas.dev/laminas-db/)), allowing easy integration
into existing applications.

NADA provides SQL abstraction methods for different database backends (currently
supported: [PostgreSQL](http://postgresql.org), [MySQL](http://mysql.org) and
Expand Down
6 changes: 0 additions & 6 deletions src/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,6 @@ static function getDatabase($link)
$class = 'Pdo';
} elseif ($link instanceof \Laminas\Db\Adapter\Adapter) {
$class = 'LaminasDb';
} elseif ($link instanceof \Zend\Db\Adapter\Adapter) {
$class = 'ZendDb2';
} elseif ($link instanceof \Zend_Db_Adapter_Abstract) {
$class = 'ZendDb';
} elseif ($link instanceof \MDB2_Driver_Common) {
$class = 'Mdb2';
} else {
throw new \InvalidArgumentException('Unsupported link type');
}
Expand Down
101 changes: 0 additions & 101 deletions src/Link/Mdb2.php

This file was deleted.

89 changes: 0 additions & 89 deletions src/Link/ZendDb.php

This file was deleted.

88 changes: 0 additions & 88 deletions src/Link/ZendDb2.php

This file was deleted.

0 comments on commit 11f5946

Please sign in to comment.