Skip to content

RepoInterface::getResource*ById*() API changed #450

RepoInterface::getResource*ById*() API changed

RepoInterface::getResource*ById*() API changed #450

Triggered via push October 1, 2024 08:08
Status Success
Total duration 2m 9s
Artifacts

test.yml

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

Annotations

10 errors
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#L457
Parameter #1 $value of function count expects array|Countable, array<string>|string given.
phpstan: src/acdhOeaw/arche/lib/RepoDb.php#L628
Method acdhOeaw\arche\lib\RepoDb::parseMetadataReadMode() should return array<int> but returns array<int, int|string|null>.
phpstan: src/acdhOeaw/arche/lib/RepoResource.php#L224
Parameter #1 $graph of method quickRdfIo\NQuadsSerializer::serialize() expects array<rdfInterface\QuadInterface>|Traversable<mixed, rdfInterface\QuadInterface>, rdfInterface\DatasetNodeInterface given.
phpstan: src/acdhOeaw/arche/lib/RepoResource.php#L261
Method acdhOeaw\arche\lib\RepoResource::delete() should return array<string> but returns array<int, int|string>.
phpstan: src/acdhOeaw/arche/lib/RepoResourceResolver.php#L144
Access to an undefined property object::$metadataReadMode.