Showing 452 of 452 total issues
Variable $clauses
was undeclared, but array fields are being added to it. Open
Open
$clauses['`pivotjoin`.`' . $clauseColumn . '`' . $prefix] = $clauseValue;
- Exclude checks
Call with 2 arg(s) to \natsort()
which only takes 1 arg(s) Open
Open
$result = natsort($b[$sort], $a[$sort]);
- Exclude checks
Invalid operator: left operand of *
is null
(expected number) Open
Open
$time = number_format($query->debug[$count]['time'] * 1000, 2);
- Exclude checks
Saw a dynamic usage of an instance property with a name of type callable
but expected the name to be a string Open
Open
return strnatcasecmp($a->{$key}, $b->{$key});
- Exclude checks
Variable $this
is undeclared Open
Open
$data = $data_access->bindTo($this->_data, $this->_data);
- Exclude checks
Found a return statement with a value in the implementation of the magic method \Automatorm\Orm\Model::__wakeup,
expected void return type Open
Open
public function __wakeup()
- Exclude checks
Possibly zero references to use statement for classlike/namespace LoggerInterface
(\Psr\Log\LoggerInterface)
Open
Open
use Psr\Log\LoggerInterface;
- Exclude checks
Call to undeclared method \Automatorm\Interfaces\Connection::getDataStore
Open
Open
$this->connection->getDataStore()->getData($key['schema'])->addCrossSchemaForeignKey($refTableName, 'one-to-many', $propertyName, $value);
- Exclude checks
Possibly zero references to use statement for classlike/namespace Expression
(\Automatorm\Database\QueryBuilder\Expression)
Open
Open
Table, SubQuery, Column, CountColumn, Join, Expression, Data, Where
- Exclude checks
Possibly zero references to use statement for classlike/namespace Exception
(\Automatorm\Exception)
Open
Open
use Automatorm\Exception;
- Exclude checks
Found a return statement with a value in the implementation of the magic method \Automatorm\Orm\Data::__set,
expected void return type Open
Open
public function __set($var, $value)
- Exclude checks
Variable $this
is undeclared Open
Open
$value = $this->$method();
- Exclude checks
Checking instanceof against undeclared class \Automatorm\Orm\DateTimeInterface
(Did you mean interface \DateTimeInterface) Open
Open
case $value instanceof DateTimeInterface:
- Exclude checks
Call to method format
on non-class type null
Open
Open
$display3 = $value->format('Y-m-d H:i:s');
- Exclude checks
Reference to undeclared property \Automatorm\Orm\Traits\ClosureTree->id
Open
Open
$query->sql(QueryBuilder::insert($this->closureTable, ['parent_id' => $this->id, 'child_id' => $this->id, 'depth' => 0]));
- Exclude checks
Possibly zero references to use statement for classlike/namespace OperatorParser
(\Automatorm\OperatorParser)
Open
Open
use Automatorm\OperatorParser;
- Exclude checks
Reference to undeclared property \Automatorm\Interfaces\Connection->data
Open
Open
$data = $this->connection->data;
- Exclude checks
Assigning array<int></int>
to property but \Automatorm\Database\Query->debug
is array<int></int>
Open
Open
$this->debug[$count]['time'] = microtime(true) - $time;
- Exclude checks
Possibly zero references to use statement for classlike/namespace Renderable
(\Automatorm\Database\Interfaces\Renderable)
Open
Open
use Automatorm\Database\Interfaces\Renderable;
- Exclude checks
Reference to undeclared property \Automatorm\Database\QueryBuilder->currentJoin
Open
Open
$this->currentJoin = end($this->joins);
- Exclude checks