Skip to content

RepoDb::getPdoStatementBySqlQuery(): fix META_NONE metadata read mode… #469

RepoDb::getPdoStatementBySqlQuery(): fix META_NONE metadata read mode…

RepoDb::getPdoStatementBySqlQuery(): fix META_NONE metadata read mode… #469

Triggered via push February 24, 2025 11:13
Status Success
Total duration 2m 4s
Artifacts

test.yml

on: push
Matrix: phpunit
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: src/acdhOeaw/arche/lib/Config.php#L212
Class acdhOeaw\arche\lib\Config has PHPDoc tag @Property for property $parameters with no value type specified in iterable type array.
phpstan: src/acdhOeaw/arche/lib/Config.php#L212
PHPDoc tag @Property for property acdhOeaw\arche\lib\Config::$meta contains unknown class acdhOeaw\arche\lib\quickRdf\DatasetNode.
phpstan: src/acdhOeaw/arche/lib/Repo.php#L193
Method acdhOeaw\arche\lib\Repo::factoryFromUrl() never assigns null to &$realUrl so it can be removed from the by-ref type.
phpstan: src/acdhOeaw/arche/lib/Repo.php#L312
Parameter #1 $graph of method quickRdfIo\NQuadsSerializer::serialize() expects array<rdfInterface\QuadInterface>|Traversable<mixed, rdfInterface\QuadInterface>, rdfInterface\DatasetNodeInterface given.
phpstan: src/acdhOeaw/arche/lib/RepoDb.php#L159
Undefined variable: $id
phpstan: src/acdhOeaw/arche/lib/RepoDb.php#L159
Undefined variable: $id2
phpstan: src/acdhOeaw/arche/lib/RepoDb.php#L161
Method acdhOeaw\arche\lib\RepoDb::getResourceByIds() should return acdhOeaw\arche\lib\RepoResourceDb but returns acdhOeaw\arche\lib\RepoResourceInterface.
phpstan: src/acdhOeaw/arche/lib/RepoDb.php#L419
Parameter #1 $value of function count expects array|Countable, array<string>|string given.
phpstan: src/acdhOeaw/arche/lib/RepoDb.php#L466
Parameter #1 $value of function count expects array|Countable, array<string>|string given.
phpstan: src/acdhOeaw/arche/lib/RepoDb.php#L507
Call to function is_array() with array<string> will always evaluate to true.