Skip to content

phpunit bumped to 10 and fix in PreparedStatement::getQuery() #42

phpunit bumped to 10 and fix in PreparedStatement::getQuery()

phpunit bumped to 10 and fix in PreparedStatement::getQuery() #42

Triggered via push September 1, 2023 15:26
Status Success
Total duration 47s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
phpstan: src/sparqlClient/PreparedStatement.php#L139
Property sparqlClient\PreparedStatement::$param (array<rdfInterface\TermInterface>) does not accept array<rdfInterface\TermInterface|null>.
phpstan: src/sparqlClient/PreparedStatement.php#L141
Property sparqlClient\PreparedStatement::$param (array<rdfInterface\TermInterface>) does not accept array<rdfInterface\TermInterface|null>.
phpstan: src/sparqlClient/PreparedStatement.php#L149
Anonymous function has an unused use $param.
phpstan: src/sparqlClient/PreparedStatement.php#L165
Method sparqlClient\PreparedStatement::getQuery() should return string but returns string|null.
phpstan: src/sparqlClient/PreparedStatement.php#L176
Parameter #1 $term of static method rdfHelpers\NtriplesUtil::serialize() expects rdfInterface\BlankNodeInterface|rdfInterface\LiteralInterface|rdfInterface\NamedNodeInterface|rdfInterface\QuadInterface, rdfInterface\TermInterface given.
phpstan: src/sparqlClient/Statement.php#L139
Method sparqlClient\Statement::fetchColumn() should return bool|object|string but returns array|object|string|false.
phpstan: src/sparqlClient/Statement.php#L143
Access to an undefined property object::$type.
phpstan: src/sparqlClient/Statement.php#L145
Access to an undefined property object::$value.
phpstan: src/sparqlClient/Statement.php#L147
Access to an undefined property object::$value.
phpstan: src/sparqlClient/Statement.php#L149
Access to an undefined property object::$value.
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/