Completed
Push — master ( 07dd29...2a8480 )
by mw
409:44 queued 374:41
created
src/MediaWiki/Specials/Admin/IdTaskHandler.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use SMW\MediaWiki\Renderer\HtmlFormRenderer;
7 7
 use SMW\Store;
8 8
 use SMW\Message;
9
-use SMW\NamespaceManager;
10 9
 use Html;
11 10
 use WebRequest;
12 11
 
Please login to merge, or discard this patch.
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,6 @@
 block discarded – undo
108 108
 
109 109
 	/**
110 110
 	 * @param integer $id
111
-	 * @param User|null $use
112 111
 	 */
113 112
 	private function doDispose( $id ) {
114 113
 
Please login to merge, or discard this patch.
src/MediaWiki/Specials/Admin/SupportListTaskHandler.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace SMW\MediaWiki\Specials\Admin;
4 4
 
5
-use SMW\ApplicationFactory;
6 5
 use SMW\MediaWiki\Renderer\HtmlFormRenderer;
7
-use SMW\Message;
8 6
 use WebRequest;
9 7
 use Html;
10 8
 
Please login to merge, or discard this patch.
src/MediaWiki/Specials/Browse/ContentsBuilder.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -344,6 +344,7 @@  discard block
 block discarded – undo
344 344
 	 * @param[in] $property SMWPropertyValue  The property this value is linked to the subject with
345 345
 	 * @param[in] $value DataValue  The actual value
346 346
 	 * @param[in] $incoming bool  If this is an incoming or outgoing link
347
+	 * @param boolean $incoming
347 348
 	 *
348 349
 	 * @return string  HTML with the link to the article, browse, and search pages
349 350
 	 */
@@ -418,6 +419,7 @@  discard block
 block discarded – undo
418 419
 	 * Creates the HTML for the bottom bar including the links with further navigation options.
419 420
 	 *
420 421
 	 * @param[in] $more bool  Are there more inproperties to be displayed?
422
+	 * @param boolean $more
421 423
 	 * @return string  HTMl with the bottom bar
422 424
 	 */
423 425
 	private function displayBottom( $more ) {
Please login to merge, or discard this patch.
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -3,16 +3,11 @@
 block discarded – undo
3 3
 namespace SMW\MediaWiki\Specials\Browse;
4 4
 
5 5
 use SMW\SemanticData;
6
-use SMW\ApplicationFactory;
7 6
 use SMW\DataValueFactory;
8
-use SMW\Localizer;
9
-use SMW\DIProperty;
10 7
 use SMW\DIWikiPage;
11 8
 use SMW\Store;
12 9
 use Html;
13
-use SMW\Message;
14 10
 use SMWDataValue as DataValue;
15
-use SMW\DataValues\ValueFormatters\DataValueFormatter;
16 11
 use SMW\RequestOptions;
17 12
 
18 13
 /**
Please login to merge, or discard this patch.
src/MediaWiki/Specials/SpecialBrowse.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -98,6 +98,9 @@  discard block
 block discarded – undo
98 98
 		$this->addExternalHelpLinks();
99 99
 	}
100 100
 
101
+	/**
102
+	 * @param boolean $isEmptyRequest
103
+	 */
101 104
 	private function getHtml( $webRequest, $isEmptyRequest ) {
102 105
 
103 106
 		if ( $isEmptyRequest && !$this->including() ) {
@@ -184,6 +187,9 @@  discard block
 block discarded – undo
184 187
 		return $html;
185 188
 	}
186 189
 
190
+	/**
191
+	 * @param \SMW\Settings $settings
192
+	 */
187 193
 	private function newContentsBuilder( $webRequest, $settings ) {
188 194
 
189 195
 		$contentsBuilder = new ContentsBuilder(
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,9 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use SMW\ApplicationFactory;
6 6
 use SMW\DataValueFactory;
7
-use SMW\DIProperty;
8
-use SMW\Localizer;
9
-use SMW\SemanticData;
10 7
 use SMW\UrlEncoder;
11 8
 use SMW\MediaWiki\Specials\Browse\ContentsBuilder;
12 9
 use SMW\MediaWiki\Specials\Browse\FormHelper;
Please login to merge, or discard this patch.
includes/datavalues/SMW_DV_WikiPage.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -79,6 +79,9 @@  discard block
 block discarded – undo
79 79
 	 */
80 80
 	protected $queryParameters = array();
81 81
 
82
+	/**
83
+	 * @param string $typeid
84
+	 */
82 85
 	public function __construct( $typeid ) {
83 86
 		parent::__construct( $typeid );
84 87
 		switch ( $typeid ) {
@@ -692,6 +695,9 @@  discard block
 block discarded – undo
692 695
 		return $dvWikiPage;
693 696
 	}
694 697
 
698
+	/**
699
+	 * @param DataItem $subject
700
+	 */
695 701
 	private function findDisplayTitleFor( $subject ) {
696 702
 
697 703
 		$displayTitle = '';
Please login to merge, or discard this patch.
src/ParserFunctions/AskParserFunction.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -69,6 +69,7 @@  discard block
 block discarded – undo
69 69
 	 *
70 70
 	 * @since 1.9
71 71
 	 *
72
+	 * @param boolean $mode
72 73
 	 * @return AskParserFunction
73 74
 	 */
74 75
 	public function setShowMode( $mode ) {
@@ -218,6 +219,9 @@  discard block
 block discarded – undo
218 219
 		return $result;
219 220
 	}
220 221
 
222
+	/**
223
+	 * @param Query $query
224
+	 */
221 225
 	private function addQueryProfile( $query, $format ) {
222 226
 
223 227
 		$settings = $this->applicationFactory->getSettings();
Please login to merge, or discard this patch.
src/Query/ProfileAnnotatorFactory.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -79,10 +79,18 @@  discard block
 block discarded – undo
79 79
 		return $profileAnnotator;
80 80
 	}
81 81
 
82
+	/**
83
+	 * @param DescriptionProfileAnnotator $profileAnnotator
84
+	 * @param string $format
85
+	 */
82 86
 	private function newFormatProfileAnnotator( $profileAnnotator, $format ) {
83 87
 		return new FormatProfileAnnotator( $profileAnnotator, $format );
84 88
 	}
85 89
 
90
+	/**
91
+	 * @param FormatProfileAnnotator $profileAnnotator
92
+	 * @param Query $query
93
+	 */
86 94
 	private function newParametersProfileAnnotator( $profileAnnotator, $query ) {
87 95
 
88 96
 		if ( $query->getOption( Query::OPT_PARAMETERS ) === false ) {
@@ -96,6 +104,10 @@  discard block
 block discarded – undo
96 104
 		return new DurationProfileAnnotator( $profileAnnotator, $duration );
97 105
 	}
98 106
 
107
+	/**
108
+	 * @param DurationProfileAnnotator $profileAnnotator
109
+	 * @param string|null $querySource
110
+	 */
99 111
 	private function newSourceProfileAnnotator( $profileAnnotator, $querySource ) {
100 112
 
101 113
 		if ( $querySource === '' ) {
Please login to merge, or discard this patch.
src/PropertySpecificationReqExaminer.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,6 @@  discard block
 block discarded – undo
44 44
 	 * @since 2.5
45 45
 	 *
46 46
 	 * @param Store $store
47
-	 * @param DIProperty $property
48 47
 	 */
49 48
 	public function __construct( Store $store ) {
50 49
 		$this->store = $store;
@@ -104,6 +103,7 @@  discard block
 block discarded – undo
104 103
 	/**
105 104
 	 * A violation occurs when a predefined property contains a `Has type` annotation
106 105
 	 * that is incompatible with the default type.
106
+	 * @param DIProperty $property
107 107
 	 */
108 108
 	private function checkOnTypeForPredefinedProperty( $property ) {
109 109
 
@@ -157,6 +157,7 @@  discard block
 block discarded – undo
157 157
 	/**
158 158
 	 * A violation occurs when a Reference or Record typed property does not denote
159 159
 	 * a `Has fields` declaration.
160
+	 * @param DIProperty $property
160 161
 	 */
161 162
 	private function checkOnFieldList( $property ) {
162 163
 
@@ -177,6 +178,7 @@  discard block
 block discarded – undo
177 178
 	/**
178 179
 	 * A violation occurs when the External Identifier typed property does not declare
179 180
 	 * a `External formatter URI` declaration.
181
+	 * @param DIProperty $property
180 182
 	 */
181 183
 	private function checkOnExternalFormatterUri( $property ) {
182 184
 
@@ -194,6 +196,7 @@  discard block
 block discarded – undo
194 196
 	/**
195 197
 	 * A violation occurs when the `Imported from` property detects an incompatible
196 198
 	 * `Has type` declaration.
199
+	 * @param DIProperty $property
197 200
 	 */
198 201
 	private function checkOnImportedVocabType( $property ) {
199 202
 
Please login to merge, or discard this patch.
includes/datavalues/SMW_DV_Property.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
 	 * the provided name is not allowed. An object is returned
103 103
 	 * in any case.
104 104
 	 *
105
-	 * @param string $propertyName
105
+	 * @param string $propertyLabel
106 106
 	 *
107 107
 	 * @return SMWPropertyValue
108 108
 	 */
@@ -282,6 +282,9 @@  discard block
 block discarded – undo
282 282
 		}
283 283
 	}
284 284
 
285
+	/**
286
+	 * @param boolean $isinverse
287
+	 */
285 288
 	public function setInverse( $isinverse ) {
286 289
 		return $this->m_dataitem = new DIProperty( $this->m_dataitem->getKey(), ( $isinverse == true ) );
287 290
 	}
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,10 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use SMW\ApplicationFactory;
4 3
 use SMW\DataValues\ValueFormatters\DataValueFormatter;
5 4
 use SMW\DataValueFactory;
6 5
 use SMW\DIProperty;
7
-use SMW\Highlighter;
8 6
 use SMW\Message;
9 7
 
10 8
 /**
Please login to merge, or discard this patch.