Some scrutinizer fixes

This commit is contained in:
Timothy Warren 2015-07-30 13:13:12 -04:00
parent d89f34b177
commit 8669fcc4be
7 changed files with 12 additions and 15 deletions

View File

@ -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">

View File

@ -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())
{

View File

@ -571,7 +571,7 @@ abstract class Abstract_Query_Builder {
*
* @param string $type
* @param string $table
* @return $string
* @return string
*/
protected function _compile($type='', $table='')
{

View File

@ -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);

View File

@ -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())
{

View File

@ -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)
{

View File

@ -43,7 +43,7 @@ class Driver extends \Query\Abstract_Driver {
parent::__construct($dsn, $username, $password, $options);
}
// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
/**
* Create sql for batch insert