Skip to content

Commit

Permalink
Raises mimimum requirements (#35)
Browse files Browse the repository at this point in the history
* Update composer.json
* Update SemanticCompoundQueries.php
* Update .travis.yml
  • Loading branch information
kghbln committed Oct 8, 2018
1 parent 9cbb593 commit e612d92
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
8 changes: 2 additions & 6 deletions .travis.yml
Expand Up @@ -7,12 +7,8 @@ matrix:
include:
- env: DB=mysql; MW=master; SMW=2.5.2
php: 7
# - env: DBTYPE=mysql; MW=1.23.0; SMW=2.3.1
# php: 5.5
# - env: DBTYPE=mysql; MW=1.24.0; SMW=2.3.1
# php: 5.6
# - env: DBTYPE=sqlite; MW=1.25.6; SMW=2.3.1
# php: 5.6
- env: DB=mysql; MW=REL1_27;
php: 5.6

install:
- travis_retry composer self-update
Expand Down
2 changes: 1 addition & 1 deletion SemanticCompoundQueries.php
Expand Up @@ -86,7 +86,7 @@ public static function initExtension() {
*/
public static function checkRequirements() {

if ( version_compare( $GLOBALS[ 'wgVersion' ], '1.23', 'lt' ) ) {
if ( version_compare( $GLOBALS[ 'wgVersion' ], '1.27', 'lt' ) ) {
die( '<b>Error:</b> This version of <a href="https://github.com/SemanticMediaWiki/SemanticCompoundQueries/">Semantic Compound Queries</a> is only compatible with MediaWiki 1.23 or above. You need to upgrade MediaWiki first.' );
}

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Expand Up @@ -25,9 +25,9 @@
"source": "https://github.com/SemanticCompoundQueries/SemanticCompoundQueries"
},
"require": {
"php": ">=5.5",
"php": ">=5.6",
"composer/installers": "1.*,>=1.0.1",
"mediawiki/semantic-media-wiki": "~2.4|~3.0"
"mediawiki/semantic-media-wiki": "~2.5|~3.0"
},
"require-dev": {
"mediawiki/semantic-media-wiki": "@dev",
Expand Down

0 comments on commit e612d92

Please sign in to comment.