Add ConnectionTelemetry #95
Annotations
10 errors
Analyze:
lib/ActiveRecord.php#L76
Type array<string>|int|string in generic type ICanBoogie\ActiveRecord\Model<array<string>|int|string, static(ICanBoogie\ActiveRecord<TKey of array<string>|int|string>)> in PHPDoc tag @var for property ICanBoogie\ActiveRecord::$model is not subtype of template type TKey of array<string>|int|string of class ICanBoogie\ActiveRecord\Model.
|
Analyze:
lib/ActiveRecord.php#L81
Type array<string>|int|string in generic type ICanBoogie\ActiveRecord\Model<array<string>|int|string, static(ICanBoogie\ActiveRecord<TKey of array<string>|int|string>)> in PHPDoc tag @return is not subtype of template type TKey of array<string>|int|string of class ICanBoogie\ActiveRecord\Model.
|
Analyze:
lib/ActiveRecord.php#L92
Type array<string>|int|string in generic type ICanBoogie\ActiveRecord\Model<array<string>|int|string, static(ICanBoogie\ActiveRecord<TKey of array<string>|int|string>)> in PHPDoc tag @param for parameter $model is not subtype of template type TKey of array<string>|int|string of class ICanBoogie\ActiveRecord\Model.
|
Analyze:
lib/ActiveRecord.php#L177
Parameter #1 $properties of method ICanBoogie\ActiveRecord<TKey of array<string>|int|string>::alter_persistent_properties() expects array<non-empty-string, mixed>, array<string, mixed> given.
|
Analyze:
lib/ActiveRecord.php#L195
Access to an undefined property ICanBoogie\ActiveRecord\Schema\Column::$auto_increment.
|
Analyze:
lib/ActiveRecord.php#L218
Parameter #1 $primary_key of method ICanBoogie\ActiveRecord<TKey of array<string>|int|string>::update_primary_key() expects non-empty-array<non-empty-string>|int|non-empty-string, mixed given.
|
Analyze:
lib/ActiveRecord/BelongsToRelation.php#L43
Method ICanBoogie\ActiveRecord\BelongsToRelation::__invoke() should return ICanBoogie\ActiveRecord|null but returns array<ICanBoogie\ActiveRecord>|ICanBoogie\ActiveRecord.
|
Analyze:
lib/ActiveRecord/Config/TableDefinition.php#L63
Method ICanBoogie\ActiveRecord\Config\TableDefinition::make_alias() should return non-empty-string but returns string.
|
Analyze:
lib/ActiveRecord/Connection.php#L294
Parameter #2 $type of method ICanBoogie\ActiveRecord\Driver::cast_value() expects non-empty-string|null, string|null given.
|
Analyze:
lib/ActiveRecord/Connection.php#L302
Parameter #1 $table_name of method ICanBoogie\ActiveRecord\Driver::create_table() expects non-empty-string, string given.
|
Loading