Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace references to SMWQueryResult with #109

Merged
merged 3 commits into from
Feb 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/LibraryFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function __construct( Store $store ) {
}

/**
* Creates a new SMWQueryResult from passed arguments,
* Creates a new QueryResult from passed arguments,
* utilizing the {@see SMWQueryProcessor}
*
* @since 1.0
Expand Down
4 changes: 2 additions & 2 deletions tests/phpunit/Unit/LibraryFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ protected function setUp(): void {
->disableOriginalConstructor()
->getMock();

$queryResult = $this->getMockBuilder( '\SMWQueryResult' )
$queryResult = $this->getMockBuilder( QueryResult::class )
->disableOriginalConstructor()
->getMock();

Expand Down Expand Up @@ -117,7 +117,7 @@ public function testCanConstructSubobjectParserFunction() {

public function testCanConstructLuaAskResultProcessor() {

$queryResult = $this->getMockBuilder( '\SMWQueryResult' )
$queryResult = $this->getMockBuilder( QueryResult::class )
->disableOriginalConstructor()
->getMock();

Expand Down
4 changes: 2 additions & 2 deletions tests/phpunit/Unit/LuaAskResultProcessorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class LuaAskResultProcessorTest extends TestCase {
private $queryResult;

/**
* Set-up method prepares a mock {@see \SMWQueryResult}
* Set-up method prepares a mock {@see QueryResult}
*/
protected function setUp(): void {

Expand Down Expand Up @@ -65,7 +65,7 @@ public function testCanConstruct() {
}

/**
* Tests the conversion of a {@see \SMWQueryResult} in a lua table
* Tests the conversion of a {@see QueryResult} in a lua table
*
* @return void
* @see LuaAskResultProcessor::getProcessedResult
Expand Down
Loading