Completed
Push — master ( 30add5...f043e7 )
by mw
14s
created
tests/phpunit/Integration/MediaWiki/Hooks/FileUploadIntegrationTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace SMW\Tests\SQLStore;
4 4
 
5 5
 use SMW\SQLStore\PropertyTableOutdatedReferenceDisposer;
6
-use Title;
7 6
 
8 7
 /**
9 8
  * @covers \SMW\SQLStore\PropertyTableOutdatedReferenceDisposer
Please login to merge, or discard this patch.
Integration/MediaWiki/Hooks/InternalParseBeforeLinksIntegrationTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace SMW\Tests\SQLStore;
4 4
 
5 5
 use SMW\SQLStore\PropertyTableOutdatedReferenceDisposer;
6
-use Title;
7 6
 
8 7
 /**
9 8
  * @covers \SMW\SQLStore\PropertyTableOutdatedReferenceDisposer
Please login to merge, or discard this patch.
phpunit/Integration/MediaWiki/Hooks/ParserAfterTidyIntegrationTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace SMW\Tests\SQLStore;
4 4
 
5 5
 use SMW\SQLStore\PropertyTableOutdatedReferenceDisposer;
6
-use Title;
7 6
 
8 7
 /**
9 8
  * @covers \SMW\SQLStore\PropertyTableOutdatedReferenceDisposer
Please login to merge, or discard this patch.
tests/phpunit/Unit/Factbox/FactboxTest.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\Factbox\Factbox;
11 11
 use SMW\ParserData;
12 12
 use SMW\SemanticData;
13
-use SMW\TableFormatter;
14 13
 use SMW\Tests\Utils\Mock\CoreMockObjectRepository;
15 14
 use SMW\Tests\Utils\Mock\MediaWikiMockObjectRepository;
16 15
 use SMW\Tests\Utils\Mock\MockObjectBuilder;
Please login to merge, or discard this patch.
tests/phpunit/Unit/MediaWiki/Hooks/ArticlePurgeTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace SMW\MediaWiki\Hooks;
4 4
 
5 5
 use SMW\ApplicationFactory;
6
-use SMW\Factbox\FactboxCache;
7 6
 
8 7
 /**
9 8
  * TitleMoveComplete occurs whenever a request to move an article
Please login to merge, or discard this patch.
tests/phpunit/Utils/PageRefresher.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace SMW\Tests\SQLStore;
4 4
 
5 5
 use SMW\SQLStore\SQLStoreFactory;
6
-use SMW\Store;
7 6
 use SMWSQLStore3;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.
tests/phpunit/Utils/Validators/SemanticDataValidator.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 	/**
113 113
 	 * @since 2.1
114 114
 	 *
115
-	 * @param array $expected
115
+	 * @param DIProperty[] $expected
116 116
 	 * @param array $properties
117 117
 	 */
118 118
 	public function assertHasProperties( array $expected, array $properties ) {
@@ -344,6 +344,10 @@  discard block
 block discarded – undo
344 344
 		);
345 345
 	}
346 346
 
347
+	/**
348
+	 * @param \SMWDataValue $dataValue
349
+	 * @param string $defaultFormatter
350
+	 */
347 351
 	private function assertContainsPropertyValues( &$expected, $dataValue, $defaultFormatter, $formatterParameters = array() ) {
348 352
 
349 353
 		if ( !isset( $expected['propertyValues'] ) ) {
Please login to merge, or discard this patch.
tests/phpunit/includes/export/ExportSemanticDataTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use SMWExpLiteral as ExpLiteral;
10 10
 use SMWExpNsResource as ExpNsResource;
11 11
 use SMWExporter as Exporter;
12
-use SMWExpResource as ExpResource;
13 12
 
14 13
 /**
15 14
  * @covers \SMW\SPARQLStore\RedirectLookup
Please login to merge, or discard this patch.
src/DeferredRequestDispatchManager.php 1 patch
Doc Comments   +11 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 	 * @since 2.3
87 87
 	 *
88 88
 	 * @param string $type
89
-	 * @param Title $title
89
+	 * @param Title|null $title
90 90
 	 * @param array $parameters
91 91
 	 */
92 92
 	public function dispatchJobRequestFor( $type, Title $title, $parameters = array() ) {
@@ -118,6 +118,9 @@  discard block
 block discarded – undo
118 118
 		return true;
119 119
 	}
120 120
 
121
+	/**
122
+	 * @param string $type
123
+	 */
121 124
 	private function getDispatchableCallbackJobFor( $type ) {
122 125
 
123 126
 		$jobFactory = ApplicationFactory::getInstance()->newJobFactory();
@@ -148,6 +151,9 @@  discard block
 block discarded – undo
148 151
 		return $callback;
149 152
 	}
150 153
 
154
+	/**
155
+	 * @param string $type
156
+	 */
151 157
 	private function doPreliminaryCheckForType( $type, array $parameters ) {
152 158
 
153 159
 		if ( $type !== 'SMW\ParserCachePurgeJob' && $type !== 'SMW\UpdateJob' ) {
@@ -172,6 +178,10 @@  discard block
 block discarded – undo
172 178
 		return self::$canConnectToUrl = $this->httpRequest->ping();
173 179
 	}
174 180
 
181
+	/**
182
+	 * @param string $type
183
+	 * @param \Closure $dispatchableCallbackJob
184
+	 */
175 185
 	private function doPostJobWith( $type, $title, $parameters, $dispatchableCallbackJob ) {
176 186
 
177 187
 		$parameters['async-job'] = array(
Please login to merge, or discard this patch.