Showing 452 of 452 total issues
Argument 2 (cmp_function)
is Closure(mixed,mixed):bool
but \usort()
takes callable(mixed,mixed):int
Open
Open
usort($returnData, function ($a, $b) use ($sort) {
- Exclude checks
Possibly zero references to use statement for classlike/namespace DataAccessInterface
(\Automatorm\Interfaces\DataAccess)
Open
Open
use Automatorm\Interfaces\DataAccess as DataAccessInterface;
- 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
Invalid offset "time"
of array type array{insert_id:}
Open
Open
$time = number_format($query->debug[$count]['time'] * 1000, 2);
- Exclude checks
Variable $this
is undeclared Open
Open
$ids = $this->{$key}->id->toArray();
- Exclude checks
Variable $objstrings
was undeclared, but array fields are being added to it. Open
Open
$objstrings[] = \Automatorm\Orm\Dump::safeTruncate($obj);
- Exclude checks
Checking instanceof against undeclared class \Psr\Cache\CacheItemPoolInterface
Open
Open
if ($cache instanceof Psr6) {
- Exclude checks
Reference to undeclared property \Automatorm\Orm\Traits\ClosureTree->id
Open
Open
QueryBuilder::select($this->closureTable, ['parent_id'])->where(['child_id' => $this->id, 'depth' => 1])->limit(1)
- Exclude checks
Static call to undeclared method \Automatorm\Orm\Traits\ClosureTree::find
Open
Open
return static::find(['id' => $results[0]['parent_id']]);
- Exclude checks
Reference to undeclared property \Automatorm\Orm\Traits\ClosureTree->id
Open
Open
QueryBuilder::select($this->closureTable, ['parent_id'])->where(['child_id' => $this->id, 'depth>=' => 1])->orderBy('depth')
- 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
Static call to undeclared method \Automatorm\Orm\Traits\ClosureTree::findAll
Open
Open
return static::findAll(['id' => $children]);
- Exclude checks