Skip to content

Commit

Permalink
Merge pull request #80 from SemanticMediaWiki/fix-ci
Browse files Browse the repository at this point in the history
Updates build submodule to pull in latest changes.
Adds codecov.yml
Replaces removed (was deprecated) class aliases. SemanticMediaWiki/SemanticMediaWiki@9dd59b6
  • Loading branch information
gesinn-it-gea authored Mar 4, 2025
2 parents ff1b85e + 66a362f commit 37872ef
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build
2 changes: 2 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fixes:
- "/var/www/html/extensions/SemanticCompoundQueries/::"
5 changes: 3 additions & 2 deletions src/CompoundQueryProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace SCQ;

use SMW\Query\QueryResult;
use SMWQueryProcessor as QueryProcessor;
use SMWQuery as Query;
use Parser;
Expand Down Expand Up @@ -168,7 +169,7 @@ protected static function getSubParams( $param ) {
* @param $context
* @param $showmode
*
* @return SMWQueryResult
* @return QueryResult
*/
protected static function getQueryResultFromFunctionParams( $rawParams, $context = QueryProcessor::INLINE_QUERY, $showMode = false ) {
list( $querystring, $params, $printouts ) = self::getComponentsFromFunctionParams( $rawParams, $showMode );
Expand Down Expand Up @@ -226,7 +227,7 @@ protected static function mergeSMWPrintRequests( $printRequests1, $printRequests
* @param $outputMode
* @param $context
*
* @return SMWQueryResult
* @return QueryResult
*/
protected static function getQueryResultFromQueryString( $querystring, array $params, $extraPrintouts, $context = QueryProcessor::INLINE_QUERY ) {

Expand Down
4 changes: 2 additions & 2 deletions src/CompoundQueryResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace SCQ;

use SMWQueryResult as QueryResult;
use SMWResultArray as ResultArray;
use SMW\Query\QueryResult;
use SMW\Query\Result\ResultArray;

/**
* Subclass of SMWQueryResult - this class was mostly created in order to
Expand Down

0 comments on commit 37872ef

Please sign in to comment.