Showing 452 of 452 total issues
Invalid offset 0
of array type array{}
Open
Open
return static::find(['id' => $results[0]['parent_id']]);
- Exclude checks
Argument 1 (string)
is \Automatorm\Orm\Model|\JsonSerializable
but \strlen()
takes string
Open
Open
if (strlen($string) > $length) {
- 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
return static::get($rootid);
- Exclude checks
Possibly zero references to use statement for classlike/namespace Schema
(\Automatorm\Orm\Schema)
Open
Open
use Automatorm\Orm\Schema;
- Exclude checks
Variable $this
is undeclared Open
Open
$count = $this->_data->joinCount($key, []);
- Exclude checks
null
passed to foreach instead of array Open
Open
foreach ($value as $obj) {
- Exclude checks
null
passed to foreach instead of array Open
Open
foreach ($value as $obj) {
- Exclude checks
Argument 1 (string)
is ?\Automatorm\Orm\Model|\Automatorm\Orm\Model|\JsonSerializable
but \htmlspecialchars()
takes string
Open
Open
return htmlspecialchars($string);
- Exclude checks
Call to undeclared method \Automatorm\Orm\Traits\ClosureTree::getConnection
Open
Open
$query = new Query($this->getConnection());
- Exclude checks
Return type of getLogger()
is undeclared type \Psr\Log\LoggerInterface
Open
Open
public function getLogger()
- 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
Assigning array<int></int>
to property but \Automatorm\Database\Query->debug
is array<int></int>
Open
Open
$this->debug[$count]['affected_rows'] = $result->rowCount();
- Exclude checks
Variable $this
is undeclared Open
Open
$value = $this->_data->$key;
- Exclude checks
Variable $this
is undeclared Open
Open
$value = $this->{$key};
- Exclude checks
Checking instanceof against undeclared class \Psr\SimpleCache\CacheInterface
Open
Open
if ($cache instanceof Psr16) {
- Exclude checks
Invalid offset 1
of array type array{0:array{}}|array{0:}
in an array destructuring assignment Open
Open
list($root, $results) = $query->execute();
- Exclude checks
Parameter $logger
has undeclared type ?\Psr\Log\LoggerInterface
Open
Open
public static function registerPDO(PDO $pdo, LoggerInterface $logger = null)
- Exclude checks
Reference to undeclared property \Automatorm\Interfaces\Connection->name
Open
Open
$message = "{$time}ms Con:{$query->connection->name} | $preview";
- Exclude checks
Possibly zero references to use statement for classlike/namespace SqlString
(\Automatorm\Database\SqlString)
Open
Open
use Automatorm\Database\SqlString;
- Exclude checks