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,12 +5,21 @@ tools:
external_code_coverage: external_code_coverage:
timeout: 1000 timeout: 1000
# PHP # 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_mess_detector: true
php_pdepend: true php_pdepend: true
php_loc: true php_loc: true
php_analyzer: php_analyzer:
config: config:
doc_comment_fixes: doc_comment_fixes:
enabled: true 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 * Returns the id of the last row inserted into the database
* *
* @param [string] $name
* @return string * @return string
*/ */
public function lastInsertId($name = NULL); public function lastInsertId();
/** /**
* Prepare a statement for execution * Prepare a statement for execution