Completed
Push — master ( 6bf91e...1f7fc3 )
by GIT
15:48 queued 12s
created
src/InterlanguageLink.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,9 +5,7 @@
 block discarded – undo
5 5
 use SMW\DataValueFactory;
6 6
 use SMW\DIProperty;
7 7
 use SMW\DIWikiPage;
8
-
9 8
 use SMWDIBlob as DIBlob;
10
-
11 9
 use Title;
12 10
 
13 11
 /**
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
 	/**
91 91
 	 * @since 1.0
92 92
 	 *
93
-	 * @return DataValue
93
+	 * @return \SMWDataValue
94 94
 	 */
95 95
 	public function newLinkReferenceDataValue() {
96 96
 		return DataValueFactory::getInstance()->newDataItemValue(
Please login to merge, or discard this patch.
src/InterlanguageListParserFunction.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -74,6 +74,9 @@  discard block
 block discarded – undo
74 74
 		return $languageTargetLinks;
75 75
 	}
76 76
 
77
+	/**
78
+	 * @param string $template
79
+	 */
77 80
 	private function createTemplateInclusionCode( array $languageTargetLinks, $template ) {
78 81
 
79 82
 		$result = '';
@@ -104,6 +107,9 @@  discard block
 block discarded – undo
104 107
 		return ( $targetLink->getNamespace() === NS_CATEGORY ? ':' : '' ) . $targetLink->getPrefixedText();
105 108
 	}
106 109
 
110
+	/**
111
+	 * @param string $messageKey
112
+	 */
107 113
 	private function createErrorMessageFor( $messageKey, $arg1 = '' ) {
108 114
 		return '<div class="smw-callout smw-callout-error">' . wfMessage( $messageKey, $arg1 )->inContentLanguage()->text() . '</div>';
109 115
 	}
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Title;
6 6
 use Language;
7
-
8 7
 use SMW\Localizer;
9 8
 
10 9
 /**
Please login to merge, or discard this patch.
src/InterwikiLanguageLink.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 	/**
75 75
 	 * @since 1.0
76 76
 	 *
77
-	 * @return DataValue
77
+	 * @return \SMWDataValue
78 78
 	 */
79 79
 	public function newLanguageDataValue() {
80 80
 		return DataValueFactory::getInstance()->newDataItemValue(
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 	/**
87 87
 	 * @since 1.0
88 88
 	 *
89
-	 * @return DataValue
89
+	 * @return \SMWDataValue
90 90
 	 */
91 91
 	public function newInterwikiReferenceDataValue() {
92 92
 		return DataValueFactory::getInstance()->newDataItemValue(
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,9 +5,7 @@
 block discarded – undo
5 5
 use SMW\DataValueFactory;
6 6
 use SMW\DIProperty;
7 7
 use SMW\DIWikiPage;
8
-
9 8
 use SMWDIBlob as DIBlob;
10
-
11 9
 use Title;
12 10
 
13 11
 /**
Please login to merge, or discard this patch.
src/Search/MappedSearchResultSet.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use SearchResult;
6 6
 use SearchResultSet;
7
-
8 7
 use Title;
9 8
 
10 9
 /**
Please login to merge, or discard this patch.
src/SiteLanguageLinksParserOutputAppender.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,6 @@
 block discarded – undo
45 45
 	/**
46 46
 	 * @since 1.0
47 47
 	 *
48
-	 * @param Title $target
49 48
 	 *
50 49
 	 * @return Title
51 50
 	 */
Please login to merge, or discard this patch.
src/InterlanguageLinkParserFunction.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -114,6 +114,9 @@  discard block
 block discarded – undo
114 114
 		return $this->createSiteLanguageLinks( $interlanguageLink );
115 115
 	}
116 116
 
117
+	/**
118
+	 * @param string $linkReference
119
+	 */
117 120
 	private function getTitleFrom( $isSupportedLanguage, $languageCode, $linkReference ) {
118 121
 
119 122
 		if ( $this->inRevisionMode || !$this->languageLinkAnnotator->canAddAnnotation() ) {
@@ -173,6 +176,9 @@  discard block
 block discarded – undo
173 176
 		return Language::isSupportedLanguage( $languageCode );
174 177
 	}
175 178
 
179
+	/**
180
+	 * @param string $messageKey
181
+	 */
176 182
 	private function createErrorMessageFor( $messageKey, $arg1 = '', $arg2 = '', $arg3 = '',$arg4 = '' ) {
177 183
 		return '<div class="smw-callout smw-callout-error">' . wfMessage(
178 184
 			$messageKey,
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace SIL;
4 4
 
5
-use Onoi\Cache\CacheFactory;
6 5
 use Title;
7 6
 use Language;
8
-
9 7
 use SMW\Localizer;
10 8
 
11 9
 /**
Please login to merge, or discard this patch.
src/PageContentLanguageOnTheFlyModifier.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -3,10 +3,6 @@
 block discarded – undo
3 3
 namespace SIL;
4 4
 
5 5
 use Onoi\Cache\Cache;
6
-use SMW\Store;
7
-use SMW\DIWikiPage;
8
-use SMW\DIProperty;
9
-
10 6
 use Title;
11 7
 
12 8
 /**
Please login to merge, or discard this patch.
src/InterlanguageLinksLookup.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 use SMW\DIWikiPage;
11 11
 use SMW\DIProperty;
12 12
 use SMWPrintRequest as PrintRequest;
13
-use SMWPropertyValue as PropertyValue;
14 13
 use SMWQuery as Query;
15 14
 use SMWDIBlob as DIBlob;
16 15
 use Title;
Please login to merge, or discard this patch.
src/HookRegistry.php 2 patches
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -84,6 +84,11 @@
 block discarded – undo
84 84
 		);
85 85
 	}
86 86
 
87
+	/**
88
+	 * @param Store $store
89
+	 * @param Cache $cache
90
+	 * @param CacheKeyProvider $cacheKeyProvider
91
+	 */
87 92
 	private function addCallbackHandlers( $store, $cache, $cacheKeyProvider ) {
88 93
 
89 94
 		$languageTargetLinksCache = new LanguageTargetLinksCache(
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,6 @@
 block discarded – undo
6 6
 use SMW\Store;
7 7
 use SMW\ApplicationFactory;
8 8
 use SMW\InMemoryPoolCache;
9
-use SIL\Search\SearchResultModifier;
10
-use SIL\Search\LanguageResultMatchFinder;
11 9
 use SIL\Category\LanguageFilterCategoryPage;
12 10
 use Hooks;
13 11
 use Language;
Please login to merge, or discard this patch.