.github/workflows/test.yml: skip testing on php 8 as it requires dedi… #104
Annotations
10 errors and 2 warnings
phpstan:
src/quickRdfIo/JsonLdStreamSerializer.php#L115
Parameter #2 $subject of method quickRdfIo\JsonLdStreamSerializer::processSubject() expects rdfInterface\BlankNodeInterface|rdfInterface\NamedNodeInterface, rdfInterface\TermInterface given.
|
phpstan:
src/quickRdfIo/NQuadsParser.php#L316
While loop condition is always true.
|
phpstan:
src/quickRdfIo/NQuadsSerializer.php#L50
Parameter #1 $res of static method rdfHelpers\NtriplesUtil::serializeIri() expects rdfInterface\BlankNodeInterface|rdfInterface\NamedNodeInterface, rdfInterface\TermInterface given.
|
phpstan:
src/quickRdfIo/NQuadsSerializer.php#L59
Parameter #1 $term of static method rdfHelpers\NtriplesUtil::serialize() expects rdfInterface\BlankNodeInterface|rdfInterface\LiteralInterface|rdfInterface\NamedNodeInterface|rdfInterface\QuadInterface, rdfInterface\TermInterface given.
|
phpstan:
tests/JsonLdStreamTest.php#L53
Parameter #1 $graph of method quickRdfIo\JsonLdStreamSerializer::serialize() expects array<rdfInterface\QuadInterface>|Traversable<mixed, rdfInterface\QuadInterface>, rdfInterface\DatasetInterface given.
|
phpstan:
tests/JsonLdStreamTest.php#L65
Parameter #1 $output of method quickRdfIo\JsonLdStreamSerializer::serializeStream() expects Psr\Http\Message\StreamInterface|resource, resource|false given.
|
phpstan:
tests/JsonLdStreamTest.php#L65
Parameter #2 $graph of method quickRdfIo\JsonLdStreamSerializer::serializeStream() expects array<rdfInterface\QuadInterface>|Traversable<mixed, rdfInterface\QuadInterface>, rdfInterface\DatasetInterface given.
|
phpstan:
tests/JsonLdStreamTest.php#L66
Parameter #1 $stream of function fseek expects resource, resource|false given.
|
phpstan:
tests/JsonLdStreamTest.php#L68
Parameter #1 $input of method quickRdfIo\JsonLdParser::parseStream() expects Psr\Http\Message\StreamInterface|resource, resource|false given.
|
phpstan:
tests/JsonLdStreamTest.php#L69
Parameter #1 $stream of function fclose expects resource, resource|false given.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Loading