Fix PHP 8.4 deprecations #112
Annotations
10 errors and 2 warnings
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.
|
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/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading