Skip to content

.github/workflows/test.yml: run phpstan on PHP 8.4 #113

.github/workflows/test.yml: run phpstan on PHP 8.4

.github/workflows/test.yml: run phpstan on PHP 8.4 #113

Triggered via push September 26, 2024 09:41
Status Success
Total duration 2m 27s
Artifacts

test.yml

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

Annotations

10 errors
phpstan: src/quickRdfIo/JsonLdParser.php#L130
Cannot call method getContents() on Psr\Http\Message\StreamInterface|resource.
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#L319
While loop condition is always true.
phpstan: src/quickRdfIo/NQuadsParser.php#L349
Parameter #1 $string of function strlen expects string, string|null given.
phpstan: src/quickRdfIo/NQuadsParser.php#L350
Parameter #1 $iri of static method rdfInterface\DataFactoryInterface::namedNode() expects string|Stringable, string|null given.
phpstan: src/quickRdfIo/NQuadsParser.php#L356
Parameter #1 $string of function strlen expects string, string|null given.
phpstan: src/quickRdfIo/NQuadsParser.php#L362
Parameter #1 $iri of static method rdfInterface\DataFactoryInterface::namedNode() expects string|Stringable, string|null given.
phpstan: src/quickRdfIo/NQuadsParser.php#L369
Parameter #1 $string of function strlen expects string, string|null given.
phpstan: src/quickRdfIo/NQuadsParser.php#L380
Parameter #1 $string of function strlen expects string, string|null given.
phpstan: src/quickRdfIo/NQuadsSerializer.php#L50
Parameter #1 $res of static method rdfHelpers\NtriplesUtil::serializeIri() expects rdfInterface\BlankNodeInterface|rdfInterface\NamedNodeInterface, rdfInterface\TermInterface given.