π more fix assert #20
Annotations
10 errors and 1 warning
Run PHPStan:
src/AuditableObserver.php#L113
Call to an undefined method OwenIt\Auditing\Contracts\Auditable::withoutRelations().
|
Run PHPStan:
src/Contracts/Auditable.php#L14
Generic type Illuminate\Database\Eloquent\Relations\MorphMany<OwenIt\Auditing\Models\Audit> in PHPDoc tag @return does not specify all template types of class Illuminate\Database\Eloquent\Relations\MorphMany: TRelatedModel, TDeclaringModel
|
Run PHPStan:
src/Drivers/Database.php#L38
Parameter #1 $query of method Illuminate\Database\Eloquent\Builder<OwenIt\Auditing\Models\Audit>::leftJoinSub() expects Closure|Illuminate\Database\Eloquent\Builder<*>|Illuminate\Database\Query\Builder|string, Illuminate\Database\Eloquent\Relations\MorphMany<OwenIt\Auditing\Models\Audit> given.
|
Run PHPStan:
src/Events/DispatchAudit.php#L30
Method OwenIt\Auditing\Events\DispatchAudit::__serialize() return type has no value type specified in iterable type array.
|
Run PHPStan:
src/Events/DispatchAudit.php#L36
Call to an undefined method OwenIt\Auditing\Contracts\Auditable::getQueueableConnection().
|
Run PHPStan:
src/Events/DispatchAudit.php#L71
Method OwenIt\Auditing\Events\DispatchAudit::__unserialize() has parameter $values with no value type specified in iterable type array.
|
Run PHPStan:
src/Events/DispatchAudit.php#L73
Property OwenIt\Auditing\Events\DispatchAudit::$model (OwenIt\Auditing\Contracts\Auditable) does not accept object.
|
Run PHPStan:
src/Events/DispatchAudit.php#L80
Method OwenIt\Auditing\Events\DispatchAudit::__unserialize() with return type void returns array but should not return anything.
|
Run PHPStan:
src/Events/DispatchAudit.php#L86
Method OwenIt\Auditing\Events\DispatchAudit::setModelPropertyValue() has no return type specified.
|
Run PHPStan:
src/Events/DispatchAudit.php#L86
Method OwenIt\Auditing\Events\DispatchAudit::setModelPropertyValue() has parameter $reflection with generic class ReflectionClass but does not specify its types: T
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading