Update scrutinizer config, and fix HHVM issue

This commit is contained in:
Timothy Warren 2014-03-26 21:05:52 -04:00
parent 22f28b766b
commit 68c640ef0e
2 changed files with 13 additions and 5 deletions

View File

@ -5,8 +5,14 @@ tools:
external_code_coverage:
timeout: 1000
# PHP
php_code_sniffer: true
php_cpd: true
# Don't like PSR standards, not going to get messages for them!
php_code_sniffer: false
php_sim: true
# Can't be used with similarity analyzer
php_cpd: false
php_mess_detector: true
php_pdepend: true
php_loc: true
@ -14,3 +20,6 @@ tools:
config:
doc_comment_fixes:
enabled: true
#HHVM static analysis
php_hhvm: true

View File

@ -83,10 +83,9 @@ interface idriver {
/**
* Returns the id of the last row inserted into the database
*
* @param [string] $name
* @return string
*/
public function lastInsertId($name = NULL);
public function lastInsertId();
/**
* Prepare a statement for execution