Skip to content

composer.json: bump sweetrdf/rdf-helpers to ^2.0.0 #10

composer.json: bump sweetrdf/rdf-helpers to ^2.0.0

composer.json: bump sweetrdf/rdf-helpers to ^2.0.0 #10

Triggered via push April 9, 2024 11:21
Status Success
Total duration 22s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
phpstan: src/rdfInterface2easyRdf/AsEasyRdf.php#L79
Call to an undefined method EasyRdf\Graph|EasyRdf\Literal|EasyRdf\Resource::resource().
phpstan: src/rdfInterface2easyRdf/AsEasyRdf.php#L99
Method rdfInterface2easyRdf\AsEasyRdf::asLiteral() should return EasyRdf\Literal but returns EasyRdf\Graph|EasyRdf\Literal|EasyRdf\Resource.
phpstan: src/rdfInterface2easyRdf/AsEasyRdf.php#L112
Method rdfInterface2easyRdf\AsEasyRdf::asResource() should return EasyRdf\Resource but returns EasyRdf\Graph|EasyRdf\Literal|EasyRdf\Resource.
phpstan: src/rdfInterface2easyRdf/AsEasyRdf.php#L126
Method rdfInterface2easyRdf\AsEasyRdf::asGraph() should return EasyRdf\Graph but returns EasyRdf\Graph|EasyRdf\Literal.
phpstan: src/rdfInterface2easyRdf/AsRdfInterface.php#L137
Instanceof between mixed and rdfInterface\DatasetNodeInterface will always evaluate to false.
phpstan: src/rdfInterface2easyRdf/AsRdfInterface.php#L146
Method rdfInterface2easyRdf\AsRdfInterface::add() should return rdfInterface\DatasetNodeInterface but returns rdfInterface\DatasetInterface.
phpstan: src/rdfInterface2easyRdf/AsRdfInterface.php#L225
Parameter #1 $value of static method rdfInterface\DataFactoryInterface::literal() expects bool|float|int|string|Stringable, bool|DateTime|int|string given.
phpstan: tests/AsEasyRdfTest.php#L82
Call to an undefined method EasyRdf\Graph|EasyRdf\Literal|EasyRdf\Resource::getGraph().
phpstan: tests/AsEasyRdfTest.php#L88
Call to an undefined method EasyRdf\Graph|EasyRdf\Literal|EasyRdf\Resource::getGraph().
phpstan: tests/AsEasyRdfTest.php#L96
Cannot call method isBNode() on EasyRdf\Resource|false.
phpunit
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
phpstan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.