Skip to content

Implement DataFactory::quadNoSubject() #81

Implement DataFactory::quadNoSubject()

Implement DataFactory::quadNoSubject() #81

Triggered via push January 24, 2024 10:57
Status Success
Total duration 33s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
phpstan: src/simpleRdf/Dataset.php#L131
Parameter #1 $quads of method simpleRdf\Dataset::add() expects array<rdfInterface\QuadInterface>|rdfInterface\QuadInterface|Traversable<mixed, rdfInterface\QuadInterface>, rdfInterface\QuadInterface|rdfInterface\QuadIteratorAggregateInterface|rdfInterface\QuadIteratorInterface given.
phpstan: src/simpleRdf/Dataset.php#L193
Result of || is always true.
phpstan: src/simpleRdf/Dataset.php#L200
Parameter #1 $offset of method simpleRdf\Dataset::findMatchingQuads() expects 0|(callable(): mixed)|rdfInterface\QuadCompareInterface|rdfInterface\QuadIteratorAggregateInterface|rdfInterface\QuadIteratorInterface|null, (callable(): mixed)|int|rdfInterface\QuadCompareInterface given.
phpstan: src/simpleRdf/Dataset.php#L212
Result of || is always true.
phpstan: src/simpleRdf/Dataset.php#L219
Parameter #1 $offset of method simpleRdf\Dataset::findMatchingQuads() expects 0|(callable(): mixed)|rdfInterface\QuadCompareInterface|rdfInterface\QuadIteratorAggregateInterface|rdfInterface\QuadIteratorInterface|null, (callable(): mixed)|int|rdfInterface\QuadCompareInterface given.
phpstan: src/simpleRdf/Dataset.php#L232
Result of || is always true.
phpstan: src/simpleRdf/Dataset.php#L260
Result of || is always true.
phpstan: src/simpleRdf/Dataset.php#L372
Result of && is always false.
phpstan: src/simpleRdf/Dataset.php#L372
Strict comparison using !== between 0 and 0 will always evaluate to false.
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/