jenkins-bot has submitted this change and it was merged.
Change subject: Fix PHP lint error
......................................................................
Fix PHP lint error
Fatal error: Switch statements may only contain one default: clause
in includes/sparql/SMW_SparqlDatabase.php on line 81
Change-Id: Ic74b10ceeda3387b5de92116c446574d0216cae1
---
M includes/sparql/SMW_SparqlDatabase.php
1 file changed, 3 insertions(+), 3 deletions(-)
Approvals:
Alex Monk: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/sparql/SMW_SparqlDatabase.php
b/includes/sparql/SMW_SparqlDatabase.php
index c7bd85f..b77dd45 100644
--- a/includes/sparql/SMW_SparqlDatabase.php
+++ b/includes/sparql/SMW_SparqlDatabase.php
@@ -73,11 +73,11 @@
case self::ERROR_GRAPH_EXISTS:
$errorName = 'Graph already exists';
break;
+ case self::ERROR_NOSERVICE:
+ $errorName = 'Required service has not been
defined';
+ break;
case self::ERROR_OTHER: default:
$errorName = 'Unkown error';
- break;
- case self::ERROR_NOSERVICE: default:
- $errorName = 'Required service has not been
defined';
break;
}
$message = "A SPARQL query error has occurred\n" .
--
To view, visit https://gerrit.wikimedia.org/r/278073
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic74b10ceeda3387b5de92116c446574d0216cae1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticMediaWiki
Gerrit-Branch: 1.8.x
Gerrit-Owner: 20after4 <[email protected]>
Gerrit-Reviewer: Alex Monk <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits