TmpStreamSerializerTrait::serialize(): harden against empty graph #71
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
11 errors and 2 warnings
phpstan:
src/quickRdfIo/JsonLdStreamSerializer.php#L116
Parameter #2 $subject of method quickRdfIo\JsonLdStreamSerializer::processSubject() expects rdfInterface\BlankNodeInterface|rdfInterface\NamedNodeInterface, rdfInterface\TermInterface given.
|
phpstan:
src/quickRdfIo/NQuadsParser.php#L317
While loop condition is always true.
|
phpstan:
src/quickRdfIo/NQuadsParser.php#L347
Parameter #1 $string of function strlen expects string, string|null given.
|
phpstan:
src/quickRdfIo/NQuadsParser.php#L348
Parameter #1 $iri of static method rdfInterface\DataFactoryInterface::namedNode() expects string|Stringable, string|null given.
|
phpstan:
src/quickRdfIo/NQuadsParser.php#L354
Parameter #1 $string of function strlen expects string, string|null given.
|
phpstan:
src/quickRdfIo/NQuadsParser.php#L360
Parameter #1 $iri of static method rdfInterface\DataFactoryInterface::namedNode() expects string|Stringable, string|null given.
|
phpstan:
src/quickRdfIo/NQuadsParser.php#L367
Parameter #1 $string of function strlen expects string, string|null given.
|
phpstan:
src/quickRdfIo/NQuadsParser.php#L378
Parameter #1 $string of function strlen expects string, string|null given.
|
phpstan:
src/quickRdfIo/NQuadsSerializer.php#L78
Parameter #1 $res of static method rdfHelpers\NtriplesUtil::serializeIri() expects rdfInterface\BlankNodeInterface|rdfInterface\NamedNodeInterface, rdfInterface\TermInterface given.
|
phpstan:
src/quickRdfIo/NQuadsSerializer.php#L87
Parameter #1 $term of static method rdfHelpers\NtriplesUtil::serialize() expects rdfInterface\BlankNodeInterface|rdfInterface\LiteralInterface|rdfInterface\NamedNodeInterface|rdfInterface\QuadInterface, rdfInterface\TermInterface given.
|
phpunit
Process completed with exit code 1.
|
phpstan
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/
|
phpunit
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/
|