refactor: rewrite model (MyModel and MyCRUD) #1005
Annotations
10 errors and 2 warnings
Run PHPStan:
src/System/Database/MyModel/Collection.php#L15
Class System\Database\MyModel\Collection extends generic class System\Collection\Collection but does not specify its types: TKey, TValue
|
Run PHPStan:
src/System/Database/MyModel/Collection.php#L15
The @extends tag of class System\Database\MyModel\Collection describes System\Database\MyModel\AbstractCollectionImmutable but the class extends System\Collection\Collection.
|
Run PHPStan:
src/System/Database/MyModel/Model.php#L42
Property System\Database\MyModel\Model::$select is unused.
|
Run PHPStan:
src/System/Database/MyModel/Model.php#L43
Property System\Database\MyModel\Model::$select_multy is unused.
|
Run PHPStan:
src/System/Database/MyModel/Model.php#L57
Default value of the parameter #4 $indentifer (array<int, array>) of method System\Database\MyModel\Model::__construct() is incompatible with type array<string, array<string>>.
|
Run PHPStan:
src/System/Database/MyModel/Model.php#L63
Property System\Database\MyModel\Model::$columns (array<int, array<string, mixed>>) on left side of ??= is not nullable.
|
Run PHPStan:
src/System/Database/MyModel/Model.php#L63
Property System\Database\MyModel\Model::$fresh (array<int, array<string, mixed>>) does not accept array<string, mixed>.
|
Run PHPStan:
src/System/Database/MyModel/Model.php#L65
Property System\Database\MyModel\Model::$indentifer (array<string, array<string>>) on left side of ??= is not nullable.
|
Run PHPStan:
src/System/Database/MyModel/Model.php#L67
Property System\Database\MyModel\Model::$stash (array<string>) on left side of ??= is not nullable.
|
Run PHPStan:
src/System/Database/MyModel/Model.php#L68
Property System\Database\MyModel\Model::$resistant (array<string>) on left side of ??= is not nullable.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The logs for this run have expired and are no longer available.
Loading