Hydrate from attributes + ids on create() instead of post-insert read #25
Annotations
10 errors and 1 warning
|
PHPStan Static Analysis:
lib/Abstracts/JunctionTable.php#L45
Parameter #1 $localPrefixProvider of method PHPNomad\Database\Abstracts\Table::__construct() expects PHPNomad\Database\Interfaces\HasLocalDatabasePrefix, mixed given.
|
|
PHPStan Static Analysis:
lib/Abstracts/JunctionTable.php#L44
Property PHPNomad\Database\Abstracts\JunctionTable::$leftTable (PHPNomad\Database\Abstracts\Table) does not accept mixed.
|
|
PHPStan Static Analysis:
lib/Abstracts/JunctionTable.php#L43
Property PHPNomad\Database\Abstracts\JunctionTable::$rightTable (PHPNomad\Database\Abstracts\Table) does not accept mixed.
|
|
PHPStan Static Analysis:
lib/Abstracts/JunctionTable.php#L42
Property PHPNomad\Database\Abstracts\JunctionTable::$logger (PHPNomad\Logger\Interfaces\LoggerStrategy) does not accept mixed.
|
|
PHPStan Static Analysis:
lib/Abstracts/JunctionTable.php#L28
PHPDoc tag @var for property PHPNomad\Database\Abstracts\JunctionTable::$logger with type mixed is not subtype of native type PHPNomad\Logger\Interfaces\LoggerStrategy.
|
|
PHPStan Static Analysis:
lib/Abstracts/IdentifiableDatabaseDatastoreHandler.php#L46
Parameter #1 $ids of method PHPNomad\Database\Abstracts\IdentifiableDatabaseDatastoreHandler::updateCompound() expects array<string, int>, array<string, mixed> given.
|
|
PHPStan Static Analysis:
lib/Abstracts/IdentifiableDatabaseDatastoreHandler.php#L28
Method PHPNomad\Database\Abstracts\IdentifiableDatabaseDatastoreHandler::findMultiple() return type has no value type specified in iterable type array.
|
|
PHPStan Static Analysis:
lib/Abstracts/IdentifiableDatabaseDatastoreHandler.php#L28
Method PHPNomad\Database\Abstracts\IdentifiableDatabaseDatastoreHandler::findMultiple() has parameter $ids with no value type specified in iterable type array.
|
|
PHPStan Static Analysis:
lib/Abstracts/IdentifiableDatabaseDatastoreHandler.php#L24
Parameter #1 $ids of method PHPNomad\Database\Abstracts\IdentifiableDatabaseDatastoreHandler::findFromCompound() expects non-empty-array<string, int>, array{id: mixed} given.
|
|
PHPStan Static Analysis:
lib/Abstracts/IdentifiableDatabaseDatastoreHandler.php#L24
Method PHPNomad\Database\Abstracts\IdentifiableDatabaseDatastoreHandler::find() should return PHPNomad\Datastore\Interfaces\DataModel but returns mixed.
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
background
wait
wait-all
cancel
Loading