added lua module example closes #issue#7 #77
ci.yml
on: pull_request
Matrix: code-style
Matrix: PHPStan
Matrix: Psalm
Matrix: test
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.
|