Skip to content

Commit 67b2df2

Browse files
authored
Merge pull request #121 from SemanticMediaWiki/fix-ci
Fix ci
2 parents 2452e6b + d567870 commit 67b2df2

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ DB_TYPE?=mysql
1717
DB_IMAGE?="mariadb:10"
1818

1919
# extensions
20-
SMW_VERSION?=5.2.0
20+
SMW_VERSION?=dev-master
2121

2222
# composer
2323
# Enables "composer update" inside of extension

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
"require": {
2828
"php": ">=7.4",
29-
"composer/installers": "1.*,>=1.0.1"
29+
"composer/installers": ">=1.0.1"
3030
},
3131
"require-dev": {
3232
"mediawiki/minus-x": "^1.1.3",

src/Hooks.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
use MediaWiki\MediaWikiServices;
2020
use RequestContext;
2121
use Sanitizer;
22-
use SMWSemanticData;
23-
use SMWStore;
22+
use SMW\SemanticData;
23+
use SMW\Store;
2424
use Title;
2525
use User;
2626

@@ -32,12 +32,12 @@ final class Hooks {
3232
*
3333
* @since 0.1
3434
*
35-
* @param SMWStore $store
36-
* @param SMWChangeSet $changes
35+
* @param Store $store
36+
* @param SemanticData $newData
3737
*
3838
* @return true
3939
*/
40-
public static function onDataUpdate( SMWStore $store, SMWSemanticData $newData ) {
40+
public static function onDataUpdate( Store $store, SemanticData $newData ) {
4141
wfDebugLog( 'SemanticWatchlist', __METHOD__ . ' was called' );
4242
$subject = $newData->getSubject();
4343
$oldData = $store->getSemanticData( $subject );

0 commit comments

Comments
 (0)