Some scrutinizer fixes
This commit is contained in:
parent
d89f34b177
commit
8669fcc4be
@ -4,11 +4,10 @@
|
||||
stopOnFailure="false"
|
||||
bootstrap="tests/bootstrap.php">
|
||||
<filter>
|
||||
<blacklist>
|
||||
<directory suffix=".php">coverage</directory>
|
||||
<directory suffix=".php">docs</directory>
|
||||
<directory suffix=".php">tests</directory>
|
||||
</blacklist>
|
||||
<whitelist>
|
||||
<directory suffix=".php">src/*</directory>
|
||||
<file>autoload.php</file>
|
||||
</whitelist>
|
||||
</filter>
|
||||
<testsuites>
|
||||
<testsuite name="CoreTests">
|
||||
|
@ -533,7 +533,7 @@ abstract class Abstract_Driver extends \PDO implements Driver_Interface {
|
||||
*
|
||||
* @param string $table
|
||||
* @param array $data
|
||||
* @return array
|
||||
* @return null|array<string|array|null>
|
||||
*/
|
||||
public function insert_batch($table, $data=array())
|
||||
{
|
||||
|
@ -571,7 +571,7 @@ abstract class Abstract_Query_Builder {
|
||||
*
|
||||
* @param string $type
|
||||
* @param string $table
|
||||
* @return $string
|
||||
* @return string
|
||||
*/
|
||||
protected function _compile($type='', $table='')
|
||||
{
|
||||
|
@ -194,16 +194,16 @@ interface Driver_Interface {
|
||||
/**
|
||||
* Surrounds the string with the databases identifier escape characters
|
||||
*
|
||||
* @param mixed $ident
|
||||
* @return string
|
||||
* @param string|array $ident
|
||||
* @return string|array
|
||||
*/
|
||||
public function quote_ident($ident);
|
||||
|
||||
/**
|
||||
* Quote database table name, and set prefix
|
||||
*
|
||||
* @param string $table
|
||||
* @return string
|
||||
* @param string|array $table
|
||||
* @return string|array
|
||||
*/
|
||||
public function quote_table($table);
|
||||
|
||||
|
@ -76,7 +76,6 @@ class Driver extends \Query\Abstract_Driver {
|
||||
* @param string $pass
|
||||
* @param array $options
|
||||
* @throws \PDOException
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($dbpath, $user='SYSDBA', $pass='masterkey', array $options = array())
|
||||
{
|
||||
|
@ -48,7 +48,7 @@ class Result extends \PDOStatement {
|
||||
/**
|
||||
* Reference to the db drive to de-duplicate error functions
|
||||
*
|
||||
* @var \Query\Driver\Firebird
|
||||
* @var \Query\Drivers\Firebird\Driver
|
||||
*/
|
||||
private $db;
|
||||
|
||||
@ -58,7 +58,6 @@ class Result extends \PDOStatement {
|
||||
*
|
||||
* @param resource $link
|
||||
* @param Driver|null $db
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($link, Driver $db = NULL)
|
||||
{
|
||||
|
@ -43,7 +43,7 @@ class Driver extends \Query\Abstract_Driver {
|
||||
parent::__construct($dsn, $username, $password, $options);
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create sql for batch insert
|
||||
|
Loading…
Reference in New Issue
Block a user