Completed
Push — master ( 944e8c...873a6a )
by mw
32:14
created
tests/phpunit/ByJsonTestCaseProvider.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -86,6 +86,9 @@  discard block
 block discarded – undo
86 86
 		parent::tearDown();
87 87
 	}
88 88
 
89
+	/**
90
+	 * @return string
91
+	 */
89 92
 	abstract protected function getTestCaseLocation();
90 93
 
91 94
 	/**
@@ -201,6 +204,9 @@  discard block
 block discarded – undo
201 204
 		}
202 205
 	}
203 206
 
207
+	/**
208
+	 * @param string $key
209
+	 */
204 210
 	protected function changeGlobalSettingTo( $key, $value ) {
205 211
 
206 212
 		if ( $key === '' || $value === '' ) {
Please login to merge, or discard this patch.
tests/phpunit/includes/DataValues/UriValueTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -85,6 +85,9 @@
 block discarded – undo
85 85
 		);
86 86
 	}
87 87
 
88
+	/**
89
+	 * @param UriValue $instance
90
+	 */
88 91
 	private function assertOutputFormatting( $instance, $linker, $expected ) {
89 92
 
90 93
 		$this->assertEquals(
Please login to merge, or discard this patch.
tests/phpunit/includes/DefinesTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 	/**
26 26
 	 * Returns the name of the class to be tested
27 27
 	 *
28
-	 * @return string|boolean
28
+	 * @return boolean
29 29
 	 */
30 30
 	public function getClass() {
31 31
 		return false;
Please login to merge, or discard this patch.
tests/phpunit/includes/export/ExpDataTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,11 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace SMW\Tests\Exporter;
4 4
 
5
-use SMW\Exporter\Element\ExpResource;
6 5
 use SMW\Exporter\Element\ExpNsResource;
7 6
 use SMW\Exporter\Element\ExpLiteral;
8 7
 use SMWExpData as ExpData;
9
-use SMWDIBlob as DIBlob;
10 8
 
11 9
 /**
12 10
  * @covers \SMWExpData
Please login to merge, or discard this patch.
tests/phpunit/includes/export/ExportSemanticDataTest.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -4,18 +4,14 @@
 block discarded – undo
4 4
 
5 5
 use SMW\Tests\Utils\SemanticDataFactory;
6 6
 use SMW\Tests\Utils\Validators\ExportDataValidator;
7
-
8 7
 use SMW\Tests\Utils\Fixtures\FixturesProvider;
9
-
10 8
 use SMW\DIWikiPage;
11 9
 use SMW\DIProperty;
12 10
 use SMW\DataValueFactory;
13 11
 use SMW\Subobject;
14 12
 use SMW\Exporter\Escaper;
15
-
16 13
 use SMWExporter as Exporter;
17 14
 use SMWExpNsResource as ExpNsResource;
18
-use SMWExpResource as ExpResource;
19 15
 
20 16
 /**
21 17
  * @covers \SMWExporter
Please login to merge, or discard this patch.
tests/phpunit/includes/NumberFormatterTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use SMW\NumberFormatter;
6 6
 
7
-use Language;
8
-
9 7
 /**
10 8
  * @covers \SMW\NumberFormatter
11 9
  *
Please login to merge, or discard this patch.
tests/phpunit/includes/querypages/PropertiesQueryPageTest.php 2 patches
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -3,10 +3,6 @@
 block discarded – undo
3 3
 namespace SMW\Test;
4 4
 
5 5
 use SMW\PropertiesQueryPage;
6
-use SMW\MessageFormatter;
7
-use SMW\ArrayAccessor;
8
-
9
-use SMWDataItem;
10 6
 
11 7
 /**
12 8
  * @covers \SMW\PropertiesQueryPage
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 class UnusedPropertiesQueryPageTest extends SemanticMediaWikiTestCase {
24 24
 
25 25
 	/**
26
-	 * @return string|false
26
+	 * @return string
27 27
 	 */
28 28
 	public function getClass() {
29 29
 		return '\SMW\UnusedPropertiesQueryPage';
@@ -55,6 +55,7 @@  discard block
 block discarded – undo
55 55
 	/**
56 56
 	 * @since 1.9
57 57
 	 *
58
+	 * @param string $result
58 59
 	 * @return UnusedPropertiesQueryPage
59 60
 	 */
60 61
 	private function newInstance( $result = null, $values = array() ) {
Please login to merge, or discard this patch.
tests/phpunit/includes/querypages/UnusedPropertiesQueryPageTest.php 2 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 class UnusedPropertiesQueryPageTest extends SemanticMediaWikiTestCase {
24 24
 
25 25
 	/**
26
-	 * @return string|false
26
+	 * @return string
27 27
 	 */
28 28
 	public function getClass() {
29 29
 		return '\SMW\UnusedPropertiesQueryPage';
@@ -55,6 +55,7 @@  discard block
 block discarded – undo
55 55
 	/**
56 56
 	 * @since 1.9
57 57
 	 *
58
+	 * @param string $result
58 59
 	 * @return UnusedPropertiesQueryPage
59 60
 	 */
60 61
 	private function newInstance( $result = null, $values = array() ) {
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,9 +3,6 @@
 block discarded – undo
3 3
 namespace SMW\Test;
4 4
 
5 5
 use SMW\UnusedPropertiesQueryPage;
6
-use SMW\MessageFormatter;
7
-
8
-use SMWDataItem;
9 6
 
10 7
 /**
11 8
  * @covers \SMW\UnusedPropertiesQueryPage
Please login to merge, or discard this patch.
tests/phpunit/includes/queryprinters/AggregatablePrinterTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 	/**
36 36
 	 * Returns the name of the class to be tested
37 37
 	 *
38
-	 * @return string|false
38
+	 * @return string
39 39
 	 */
40 40
 	public function getClass() {
41 41
 		return '\SMW\AggregatablePrinter';
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use SMW\DIWikiPage;
6 6
 use SMW\SemanticData;
7
-
8 7
 use Title;
9
-
10 8
 use RuntimeException;
11 9
 
12 10
 /**
Please login to merge, or discard this patch.