Skip to content

.github/workflow/test.yml: phpdoc call fixed #73

.github/workflow/test.yml: phpdoc call fixed

.github/workflow/test.yml: phpdoc call fixed #73

Triggered via push August 29, 2023 16:54
Status Success
Total duration 44s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
phpstan: src/simpleRdf/Dataset.php#L129
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#L191
Result of || is always true.
phpstan: src/simpleRdf/Dataset.php#L198
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#L210
Result of || is always true.
phpstan: src/simpleRdf/Dataset.php#L217
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#L230
Result of || is always true.
phpstan: src/simpleRdf/Dataset.php#L258
Result of || is always true.
phpstan: src/simpleRdf/Dataset.php#L370
Result of && is always false.
phpstan: src/simpleRdf/Dataset.php#L370
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/