Showing 452 of 452 total issues
Possibly zero references to use statement for classlike/namespace SqlString
(\Automatorm\Database\SqlString)
Open
Open
use Automatorm\Database\SqlString;
- Exclude checks
Variable $this
is undeclared Open
Open
$output .= " <span><strong>table</strong></span> => ".$this->table."\n";
- Exclude checks
Call to undeclared method \Automatorm\Orm\Traits\ClosureTree::getConnection
Open
Open
$query = new Query($this->getConnection());
- Exclude checks
Call to undeclared method \Automatorm\Orm\Traits\ClosureTree::getConnection
Open
Open
$query = new Query($this->getConnection());
- Exclude checks
Static call to undeclared method \Automatorm\Orm\Traits\ClosureTree::get
Open
Open
$parent = static::get($row['parent_id']);
- Exclude checks
Reference to undeclared property \Automatorm\DataLayer\Database\Connection->logger
(Did you mean $logger) Open
Open
$this->logger = $logger;
- Exclude checks
Variable $model
was undeclared, but array fields are being added to it. Open
Open
$model[$normalised] = [
- Exclude checks
Doc-block of countAll
contains declared return type \Automatorm\Orm\Collection
which is incompatible with the return type int
declared in the signature Open
Open
* @return \Automatorm\Orm\Collection
- Exclude checks
Reference to undeclared property \Automatorm\Orm\Traits\ClosureTree->id
Open
Open
QueryBuilder::select($this->closureTable, ['child_id'])->where(['parent_id' => $this->id, 'depth' => 1])
- Exclude checks
Possibly zero references to use statement for classlike/namespace OperatorParser
(\Automatorm\OperatorParser)
Open
Open
use Automatorm\OperatorParser;
- Exclude checks
Parameter $logger
has undeclared type ?\Psr\Log\LoggerInterface
Open
Open
public static function register(array $db, LoggerInterface $logger = null, array $options = [])
- Exclude checks
Variable $options
is undeclared Open
Open
foreach ((array) $options['sort'] as $sortby) {
- Exclude checks
Possibly zero references to use statement for classlike/namespace ConnectionInterface
(\Automatorm\Interfaces\Connection)
Open
Open
use Automatorm\Interfaces\Connection as ConnectionInterface;
- Exclude checks
Parameter $logger
has undeclared type ?\Psr\Log\LoggerInterface
Open
Open
protected function __construct($details, array $options = [], LoggerInterface $logger = null)
- Exclude checks
Possibly zero references to use statement for classlike/namespace Exception
(\Automatorm\Exception)
Open
Open
use Automatorm\Exception;
- Exclude checks
Reference to undeclared property \Automatorm\Interfaces\Connection->data
(Did you mean $data) Open
Open
$keys = $this->connection->data->getCrossSchemaForeignKeys();
- Exclude checks
Variable $this
is undeclared Open
Open
$output .= " <span><strong>id</strong></span> => ".$this->id."\n";
- Exclude checks
Suspicious type false
of a variable or expression used to build a string. (Expected type to be able to cast to a string) Open
Open
parent::__construct('Query error: '.$query->error, $query, $previous_exception);
- Exclude checks
Expected an object instance or a class name when accessing a static property, but saw an expression with type null
Open
Open
$table = $value::$tablename;
- Exclude checks
Possibly zero references to use statement for classlike/namespace Exception
(\Automatorm\Exception)
Open
Open
use Automatorm\Exception;
- Exclude checks