Skip to content

added lua module example closes #issue#7 #77

added lua module example closes #issue#7

added lua module example closes #issue#7 #77

Triggered via pull request November 10, 2023 12:39
Status Failure
Total duration 1m 11s
Artifacts

ci.yml

on: pull_request
Matrix: code-style
Matrix: PHPStan
Matrix: Psalm
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

7 errors
PHPStan: MW REL1_41, PHP 8.1: src/SparqlLua.php#L22
Method ProfessionalWiki\SPARQL\SparqlLua::runSparqlQuery() return type has no value type specified in iterable type array.
PHPStan: MW REL1_41, PHP 8.1: src/SparqlLuaQueryRunner.php#L17
Method ProfessionalWiki\SPARQL\SparqlLuaQueryRunner::runQuery() return type has no value type specified in iterable type array.
PHPStan: MW REL1_41, PHP 8.1: src/SparqlLuaQueryRunner.php#L26
Method ProfessionalWiki\SPARQL\SparqlLuaQueryRunner::runQuery() should return array|null but returns mixed.
PHPStan: MW REL1_41, PHP 8.1
Process completed with exit code 1.
MixedInferredReturnType: src/SparqlLuaQueryRunner.php#L17
src/SparqlLuaQueryRunner.php:17:46: MixedInferredReturnType: Could not verify return type 'array<array-key, mixed>|null' for ProfessionalWiki\SPARQL\SparqlLuaQueryRunner::runQuery (see https://psalm.dev/047)
MixedReturnStatement: src/SparqlLuaQueryRunner.php#L26
src/SparqlLuaQueryRunner.php:26:10: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
Psalm: MW REL1_41, PHP 8.1
Process completed with exit code 2.