Completed
Push — master ( ebe875...a265d1 )
by mw
94:25 queued 69:18
created
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.
src/MediaWiki/Api/ApiRequestParameterFormatter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 	 *
73 73
 	 * @since 1.9
74 74
 	 *
75
-	 * @return ObjectDictionary
75
+	 * @return Options
76 76
 	 */
77 77
 	protected function formatAskArgs() {
78 78
 
Please login to merge, or discard this patch.
src/SQLStore/QueryEngineFactory.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 block discarded – undo
3 3
 namespace SMW\SQLStore;
4 4
 
5 5
 use SMW\ApplicationFactory;
6
-use SMW\CircularReferenceGuard;
7 6
 use SMW\DIProperty;
8
-use SMW\SQLStore\QueryEngine\ConceptQueryResolver;
9 7
 use SMW\SQLStore\QueryEngine\EngineOptions;
10 8
 use SMW\SQLStore\QueryEngine\HierarchyTempTableBuilder;
11 9
 use SMW\SQLStore\QueryEngine\QueryEngine;
Please login to merge, or discard this patch.
src/SQLStore/SQLStoreFactory.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 	/**
53 53
 	 * @since 2.2
54 54
 	 *
55
-	 * @return QueryEngine
55
+	 * @return QueryEngine\QueryEngine
56 56
 	 */
57 57
 	public function newMasterQueryEngine() {
58 58
 		return $this->queryEngineFactory->newQueryEngine();
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 	/**
62 62
 	 * @since 2.2
63 63
 	 *
64
-	 * @return QueryEngine
64
+	 * @return QueryEngine\QueryEngine
65 65
 	 */
66 66
 	public function newSlaveQueryEngine() {
67 67
 		return $this->queryEngineFactory->newQueryEngine();
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use SMW\SPARQLStore\QueryEngine\QueryEngine;
6 6
 use SMW\SPARQLStore\QueryEngine\EngineOptions;
7 7
 use SMW\SPARQLStore\QueryEngine\QueryResultFactory;
8
-use SMW\DIProperty;
9 8
 use SMWQuery as Query;
10 9
 
11 10
 /**
Please login to merge, or discard this patch.