Skip to content

RepoTrait::extractResourcesFromGraph(): remove total search count triple #466

RepoTrait::extractResourcesFromGraph(): remove total search count triple

RepoTrait::extractResourcesFromGraph(): remove total search count triple #466

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

test.yml

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

Annotations

10 errors and 1 warning
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#L418
Parameter #1 $value of function count expects array|Countable, array<string>|string given.
phpstan: src/acdhOeaw/arche/lib/RepoDb.php#L465
Parameter #1 $value of function count expects array|Countable, array<string>|string given.
phpstan: src/acdhOeaw/arche/lib/RepoDb.php#L506
Call to function is_array() with array<string> will always evaluate to true.
phpstan
Cache not found for keys: Linux-composer-, Linux-composer-