Completed
Push — master ( 07dd29...2a8480 )
by mw
409:44 queued 374:41
created
src/DataValues/ValueValidators/AllowsListConstraintValueValidator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace SMW\DataValues\ValueValidators;
4 4
 
5
-use SMW\DataValueFactory;
6 5
 use SMW\ApplicationFactory;
7 6
 use SMWDataValue as DataValue;
8 7
 use SMWDIBlob as DIBlob;
Please login to merge, or discard this patch.
tests/phpunit/Unit/ParserFunctionFactoryTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace SMW\Tests;
4 4
 
5
-use SMW\DIWikiPage;
6 5
 use SMW\ParserFunctionFactory;
7 6
 use SMW\Tests\TestEnvironment;
8 7
 
Please login to merge, or discard this patch.
src/MediaWiki/Specials/Browse/ValueFormatter.php 2 patches
Doc Comments   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,7 +30,6 @@  discard block
 block discarded – undo
30 30
 	/**
31 31
 	 * @since 2.5
32 32
 	 *
33
-	 * @param DataValue $value
34 33
 	 *
35 34
 	 * @return string
36 35
 	 */
@@ -64,8 +63,7 @@  discard block
 block discarded – undo
64 63
 	 *
65 64
 	 * @since 2.5
66 65
 	 *
67
-	 * @param DataValue $value
68
-	 * @param PropertyValue $property
66
+	 * @param PropertyValue $propertyValue
69 67
 	 * @param boolean $incoming
70 68
 	 *
71 69
 	 * @return string
@@ -114,7 +112,7 @@  discard block
 block discarded – undo
114 112
 	 *
115 113
 	 * @since 2.5
116 114
 	 *
117
-	 * @param PropertyValue $property
115
+	 * @param PropertyValue $propertyValue
118 116
 	 * @param boolean $incoming
119 117
 	 * @param boolean $showInverse
120 118
 	 *
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 SMW\MediaWiki\Specials\Browse;
4 4
 
5
-use SMW\Message;
6 5
 use SMW\ApplicationFactory;
7 6
 use SMWDataValue as DataValue;
8
-use SMWDataItem as DataItem;
9 7
 use SMWPropertyValue as PropertyValue;
10 8
 use SMW\DataValueFactory;
11 9
 use SMW\DataValues\ValueFormatters\DataValueFormatter;
Please login to merge, or discard this patch.
src/ExtraneousLanguage/JsonLanguageContentsFileReader.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,6 @@  discard block
 block discarded – undo
100 100
 	 * @since 2.5
101 101
 	 *
102 102
 	 * @param string $languageCode
103
-	 * @param boolean $readFromFile
104 103
 	 *
105 104
 	 * @return boolean
106 105
 	 */
@@ -163,6 +162,10 @@  discard block
 block discarded – undo
163 162
 		return self::$contents[$languageCode];
164 163
 	}
165 164
 
165
+	/**
166
+	 * @param string $languageCode
167
+	 * @param string $cacheKey
168
+	 */
166 169
 	protected function doReadJsonContentsFromFileBy( $languageCode, $cacheKey ) {
167 170
 
168 171
 		$contents = json_decode(
@@ -189,6 +192,9 @@  discard block
 block discarded – undo
189 192
 		throw new RuntimeException( "Expected a {$file} file" );
190 193
 	}
191 194
 
195
+	/**
196
+	 * @param string $languageCode
197
+	 */
192 198
 	private function getCacheKeyFrom( $languageCode ) {
193 199
 		return $this->cachePrefix . ':' . $languageCode . ':' . md5( $this->ttl . $this->getModificationTimeByLanguageCode( $languageCode ) );
194 200
 	}
Please login to merge, or discard this patch.
includes/datavalues/SMW_DV_String.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 	/**
50 50
 	 * @see DataValue::loadDataItem
51 51
 	 *
52
-	 * @param SMWDataItem $dataitem
52
+	 * @param SMWDataItem $dataItem
53 53
 	 *
54 54
 	 * @return boolean
55 55
 	 */
@@ -111,6 +111,9 @@  discard block
 block discarded – undo
111 111
 		return $this->dataValueServiceFactory->getValueFormatter( $this )->format( DataValueFormatter::VALUE );
112 112
 	}
113 113
 
114
+	/**
115
+	 * @param integer $length
116
+	 */
114 117
 	public function getWikiValueByLengthOf( $length ) {
115 118
 
116 119
 		if ( mb_strlen( $this->getWikiValue() ) > $length ) {
Please login to merge, or discard this patch.
src/Services/DataValueServiceFactory.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -150,6 +150,9 @@
 block discarded – undo
150 150
 		return $this->containerBuilder->singleton( 'PropertySpecificationLookup' );
151 151
 	}
152 152
 
153
+	/**
154
+	 * @param DataValue $dataValue
155
+	 */
153 156
 	private function getDispatchableValueFormatter( $dataValue ) {
154 157
 
155 158
 		if ( $this->dispatchingDataValueFormatter === 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
 namespace SMW\Services;
4 4
 
5 5
 use Onoi\CallbackContainer\ContainerBuilder;
6
-use Onoi\CallbackContainer\Exception\ServiceNotFoundException;
7 6
 use SMW\DataValues\InfoLinksProvider;
8 7
 use SMWDataValue as DataValue;
9 8
 use SMW\DataValues\ValueFormatters\DispatchingDataValueFormatter;
Please login to merge, or discard this patch.
src/DataModel/SubSemanticData.php 1 patch
Doc Comments   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
 	 * output, then the Semdata container will at least look as if properly
97 97
 	 * initialised (though empty).
98 98
 	 *
99
-	 * @return array
99
+	 * @return string[]
100 100
 	 */
101 101
 	public function __sleep() {
102 102
 		return array( 'subject', 'subSemanticData' );
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
 	/**
146 146
 	 * @since 2.5
147 147
 	 *
148
-	 * @param string $subobjectName|null
148
+	 * @param string $subobjectName
149 149
 	 *
150 150
 	 * @return boolean
151 151
 	 */
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
 	 *
166 166
 	 * @param string $subobjectName
167 167
 	 *
168
-	 * @return ContainerSemanticData|null
168
+	 * @return SemanticData|null
169 169
 	 */
170 170
 	public function findSubSemanticData( $subobjectName ) {
171 171
 
@@ -256,6 +256,10 @@  discard block
 block discarded – undo
256 256
 		}
257 257
 	}
258 258
 
259
+	/**
260
+	 * @param SemanticData $semanticData
261
+	 * @param string $subobjectName
262
+	 */
259 263
 	private function appendSubSemanticData( $semanticData, $subobjectName ) {
260 264
 
261 265
 		if ( $this->hasSubSemanticData( $subobjectName ) ) {
Please login to merge, or discard this patch.
src/SPARQLStore/ReplicationDataTruncator.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 	/**
34 34
 	 * @since 2.5
35 35
 	 *
36
-	 * @param SemanticData $semanticDat
36
+	 * @param SemanticData $semanticData
37 37
 	 *
38 38
 	 * @return SemanticData
39 39
 	 */
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 SMW\SemanticData;
6 6
 use SMW\DIProperty;
7
-use SMW\DataTypeRegistry;
8 7
 
9 8
 /**
10 9
  * Truncate a SemanticData instance for the replication process
Please login to merge, or discard this patch.
tests/phpunit/Unit/Services/DataValueServicesContainerBuildTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,6 @@
 block discarded – undo
12 12
 use SMW\DataValues\ValueParsers\AllowsListValueParser;
13 13
 use SMW\DataValues\AllowsListValue;
14 14
 use SMW\DataValues\ValueValidators\CompoundConstraintValueValidator;
15
-use SMW\DataValues\ImportValue;
16
-use SMW\DataValues\ValueParsers\ImportValueParser;
17 15
 use SMW\Settings;
18 16
 use SMWStringValue as StringValue;
19 17
 use SMW\DataValues\ValueFormatters\StringValueFormatter;
Please login to merge, or discard this patch.