Completed
Push — master ( f835ba...dee201 )
by mw
47:53 queued 08:25
created
src/MediaWiki/Specials/SpecialBrowse.php 1 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\HtmlContentBuilder;
12 9
 use SMW\Message;
Please login to merge, or discard this patch.
src/MediaWiki/Database.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,6 @@  discard block
 block discarded – undo
110 110
 	 *
111 111
 	 * @since 1.9.0.2
112 112
 	 *
113
-	 * @param string $tableName
114 113
 	 *
115 114
 	 * @return string
116 115
 	 */
@@ -165,6 +164,7 @@  discard block
 block discarded – undo
165 164
 	 * @param $conditions
166 165
 	 * @param array $options
167 166
 	 * @param array $joinConditions
167
+	 * @param string $fname
168 168
 	 *
169 169
 	 * @return ResultWrapper
170 170
 	 * @throws UnexpectedValueException
@@ -373,6 +373,7 @@  discard block
 block discarded – undo
373 373
 
374 374
 	/**
375 375
 	 * @since 2.4
376
+	 * @param string $sql
376 377
 	 */
377 378
 	public function queryWithAutoCommit( $sql, $fname = __METHOD__, $ignoreException = false ) {
378 379
 
@@ -447,6 +448,8 @@  discard block
 block discarded – undo
447 448
 	 * @see DatabaseBase::selectField
448 449
 	 *
449 450
 	 * @since 1.9.2
451
+	 * @param string $table
452
+	 * @param string $fieldName
450 453
 	 */
451 454
 	public function selectField( $table, $fieldName, $conditions = '', $fname = __METHOD__, $options = array() ) {
452 455
 		return $this->readConnection()->selectField( $table, $fieldName, $conditions, $fname, $options );
@@ -456,6 +459,7 @@  discard block
 block discarded – undo
456 459
 	 * @see DatabaseBase::estimateRowCount
457 460
 	 *
458 461
 	 * @since 2.1
462
+	 * @param string $table
459 463
 	 */
460 464
 	public function estimateRowCount( $table, $vars = '*', $conditions = '', $fname = __METHOD__, $options = array() ) {
461 465
 		return $this->readConnection()->estimateRowCount(
Please login to merge, or discard this patch.
src/DeferredRequestDispatchManager.php 1 patch
Doc Comments   +12 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 	/**
86 86
 	 * @since 2.5
87 87
 	 *
88
-	 * @param Title $title
88
+	 * @param Title|null $title
89 89
 	 * @param array $parameters
90 90
 	 */
91 91
 	public function dispatchSearchTableUpdateJobFor( Title $title, $parameters = array() ) {
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
 	 * @since 2.3
97 97
 	 *
98 98
 	 * @param string $type
99
-	 * @param Title $title
99
+	 * @param Title|null $title
100 100
 	 * @param array $parameters
101 101
 	 */
102 102
 	public function dispatchJobRequestFor( $type, Title $title, $parameters = array() ) {
@@ -128,6 +128,9 @@  discard block
 block discarded – undo
128 128
 		return true;
129 129
 	}
130 130
 
131
+	/**
132
+	 * @param string $type
133
+	 */
131 134
 	private function getDispatchableCallbackJobFor( $type ) {
132 135
 
133 136
 		$jobFactory = ApplicationFactory::getInstance()->newJobFactory();
@@ -170,6 +173,9 @@  discard block
 block discarded – undo
170 173
 		return $callback;
171 174
 	}
172 175
 
176
+	/**
177
+	 * @param string $type
178
+	 */
173 179
 	private function doPreliminaryCheckForType( $type, array $parameters ) {
174 180
 
175 181
 		if ( $type !== 'SMW\ParserCachePurgeJob' && $type !== 'SMW\UpdateJob' && $type !== 'SMW\SearchTableUpdateJob' ) {
@@ -194,6 +200,10 @@  discard block
 block discarded – undo
194 200
 		return self::$canConnectToUrl = $this->httpRequest->ping();
195 201
 	}
196 202
 
203
+	/**
204
+	 * @param string $type
205
+	 * @param \Closure $dispatchableCallbackJob
206
+	 */
197 207
 	private function doPostJobWith( $type, $title, $parameters, $dispatchableCallbackJob ) {
198 208
 
199 209
 		$parameters['async-job'] = array(
Please login to merge, or discard this patch.
src/SQLStore/QueryEngine/Fulltext/SearchTableRebuilder.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use SMW\SQLStore\QueryEngine\QuerySegmentListBuilder;
8 8
 use SMW\Query\Language\ConceptDescription;
9 9
 use SMW\DIWikiPage;
10
-use SMWDIBlob as DIBlob;
11 10
 
12 11
 /**
13 12
  * @covers \SMW\SQLStore\QueryEngine\Interpreter\ConceptDescriptionInterpreter
Please login to merge, or discard this patch.
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 	 *
87 87
 	 * @since 2.5
88 88
 	 *
89
-	 * @return boolean
89
+	 * @return null|boolean
90 90
 	 */
91 91
 	public function run() {
92 92
 
@@ -160,6 +160,9 @@  discard block
 block discarded – undo
160 160
 		$this->doRebuildFromRows( $searchTable, $table, $pid, $rows );
161 161
 	}
162 162
 
163
+	/**
164
+	 * @param SearchTable $searchTable
165
+	 */
163 166
 	private function doRebuildFromRows( $searchTable, $table, $pid, $rows ) {
164 167
 
165 168
 		$i = 0;
@@ -203,6 +206,9 @@  discard block
 block discarded – undo
203 206
 		$this->reportMessage( "\n" );
204 207
 	}
205 208
 
209
+	/**
210
+	 * @param string $message
211
+	 */
206 212
 	private function reportMessage( $message, $verbose = true ) {
207 213
 		if ( $verbose ) {
208 214
 			$this->messageReporter->reportMessage( $message );
Please login to merge, or discard this patch.
src/DataValues/ErrorMsgTextValue.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
 	/**
42 42
 	 * @see DataValue::loadDataItem
43 43
 	 *
44
-	 * @param SMWDataItem $dataitem
44
+	 * @param DataItem $dataItem
45 45
 	 *
46 46
 	 * @return boolean
47 47
 	 */
Please login to merge, or discard this patch.
src/Message.php 1 patch
Doc Comments   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 	/**
61 61
 	 * @since 2.4
62 62
 	 *
63
-	 * @param $type
63
+	 * @param string $type
64 64
 	 */
65 65
 	public static function deregisterHandlerFor( $type ) {
66 66
 		unset( self::$messageHandler[$type] );
@@ -96,7 +96,6 @@  discard block
 block discarded – undo
96 96
 	 *
97 97
 	 * @since 2.5
98 98
 	 *
99
-	 * @param string|array $parameters
100 99
 	 * @param integer|null $type
101 100
 	 *
102 101
 	 * @return string
@@ -119,7 +118,7 @@  discard block
 block discarded – undo
119 118
 	 *
120 119
 	 * @since 2.5
121 120
 	 *
122
-	 * @param string $messageId
121
+	 * @param string $message
123 122
 	 *
124 123
 	 * @return boolean
125 124
 	 */
@@ -130,7 +129,6 @@  discard block
 block discarded – undo
130 129
 	/**
131 130
 	 * @since 2.5
132 131
 	 *
133
-	 * @param string $json
134 132
 	 * @param integer|null $type
135 133
 	 * @param integer|null $language
136 134
 	 *
Please login to merge, or discard this patch.
src/ProcessingErrorMsgHandler.php 2 patches
Doc Comments   +9 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
 	/**
114 114
 	 * @since 2.5
115 115
 	 *
116
-	 * @param array|string $errorMsg
116
+	 * @param array|string $error
117 117
 	 * @param DIProperty|null $property
118 118
 	 *
119 119
 	 * @return DIContainer|null
@@ -171,6 +171,11 @@  discard block
 block discarded – undo
171 171
 		return new DIContainer( $containerSemanticData );
172 172
 	}
173 173
 
174
+	/**
175
+	 * @param ContainerSemanticData $containerSemanticData
176
+	 * @param DIProperty|null $property
177
+	 * @param string $error
178
+	 */
174 179
 	private function addToContainerSemanticData( $containerSemanticData, $property, $error ) {
175 180
 
176 181
 		if ( $property !== null ) {
@@ -186,6 +191,9 @@  discard block
 block discarded – undo
186 191
 		);
187 192
 	}
188 193
 
194
+	/**
195
+	 * @param string $hash
196
+	 */
189 197
 	private function newContainerSemanticData( $hash ) {
190 198
 
191 199
 		if ( $this->subject === null ) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 use SMW\DataTypeRegistry;
4 4
 use SMW\DIWikiPage;
5 5
 use SMW\SQLStore\TableDefinition;
6
-use SMWDataItem as DataItem;
7 6
 
8 7
 /**
9 8
  * Class to provide all basic read methods for SMWSQLStore3.
Please login to merge, or discard this patch.
tests/phpunit/Unit/ProcessingErrorMsgHandlerTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 use SMW\DataValueFactory;
5 5
 use SMW\DIProperty;
6 6
 use SMW\Highlighter;
7
-use SMW\Message;
8 7
 
9 8
 /**
10 9
  * Objects of this class represent properties in SMW.
Please login to merge, or discard this patch.
src/SQLStore/PropertyTableIdReferenceDisposer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -119,6 +119,9 @@
 block discarded – undo
119 119
 		return $reference === false || $reference === null ? false : $reference;
120 120
 	}
121 121
 
122
+	/**
123
+	 * @param integer $id
124
+	 */
122 125
 	private function findReferenceByPropertyTable( $proptable, $id ) {
123 126
 
124 127
 		$row = false;
Please login to merge, or discard this patch.