for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Kir\MySQL\Builder;
use Kir\MySQL\Builder\Internal\DDLPreparable;
use Kir\MySQL\Builder\Traits\CreateDDLRunnable;
use Kir\MySQL\Databases\MySQL;
class RunnableUpdate extends Update implements DDLPreparable {
use CreateDDLRunnable;
/**
* @param MySQL $db
* @param array $options
*/
public function __construct(MySQL $db, array $options = []) {
$options
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
parent::__construct($db);
}
* @param array $params
* @return int
public function run(array $params = array()) {
$query = $this->__toString();
return $this->db()->exec($query, $params);
public function prepare() {
return $this->createPreparable($this->db()->prepare($this));
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.