Completed
Push — master ( 944e8c...873a6a )
by mw
32:14
created
tests/phpunit/Unit/Factbox/CachedFactboxTest.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -122,6 +122,9 @@  discard block
 block discarded – undo
122 122
 		);
123 123
 	}
124 124
 
125
+	/**
126
+	 * @param CachedFactbox $instance
127
+	 */
125 128
 	public function assertPreProcess( $expected, $result, $outputPage, $instance ) {
126 129
 
127 130
 		if ( $expected['text'] ) {
@@ -150,6 +153,9 @@  discard block
 block discarded – undo
150 153
 		}
151 154
 	}
152 155
 
156
+	/**
157
+	 * @param CachedFactbox $instance
158
+	 */
153 159
 	public function assertPostProcess( $expected, $result, $outputPage, $instance ) {
154 160
 
155 161
 		$this->assertEquals(
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.
tests/phpunit/Unit/Factbox/FactboxTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -6,15 +6,12 @@
 block discarded – undo
6 6
 use SMW\Tests\Utils\Mock\MockObjectBuilder;
7 7
 use SMW\Tests\Utils\Mock\CoreMockObjectRepository;
8 8
 use SMW\Tests\Utils\Mock\MediaWikiMockObjectRepository;
9
-
10 9
 use SMW\ApplicationFactory;
11
-use SMW\TableFormatter;
12 10
 use SMW\ParserData;
13 11
 use SMW\Factbox\Factbox;
14 12
 use SMW\DIProperty;
15 13
 use SMW\DIWikiPage;
16 14
 use SMW\SemanticData;
17
-
18 15
 use ReflectionClass;
19 16
 use ParserOutput;
20 17
 use Title;
Please login to merge, or discard this patch.
tests/phpunit/Unit/MediaWiki/Api/BrowseBySubjectTest.php 2 patches
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -164,6 +164,11 @@
 block discarded – undo
164 164
 		} );
165 165
 	}
166 166
 
167
+	/**
168
+	 * @param string $field
169
+	 * @param string $internalType
170
+	 * @param \Closure $definition
171
+	 */
167 172
 	protected function assertInternalArrayStructure( $setup, $result, $field, $internalType, $definition ) {
168 173
 
169 174
 		if ( isset( $setup[$field] ) && $setup[$field] ) {
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -3,14 +3,10 @@
 block discarded – undo
3 3
 namespace SMW\Tests\MediaWiki\Api;
4 4
 
5 5
 use SMW\Tests\Utils\UtilityFactory;
6
-use SMW\Tests\Utils\Mock\MockTitle;
7
-
8 6
 use SMW\MediaWiki\Api\BrowseBySubject;
9 7
 use SMW\ApplicationFactory;
10 8
 use SMW\DIWikiPage;
11 9
 
12
-use Title;
13
-
14 10
 /**
15 11
  * @covers \SMW\MediaWiki\Api\BrowseBySubject
16 12
  * @group semantic-mediawiki
Please login to merge, or discard this patch.
tests/phpunit/Unit/MediaWiki/Api/PropertyListByApiRequestTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace SMW\Tests\MediaWiki\Api;
4 4
 
5
-use SMW\Tests\Utils\UtilityFactory;
6 5
 use SMW\MediaWiki\Api\PropertyListByApiRequest;
7
-use SMW\ApplicationFactory;
8 6
 use SMW\DIProperty;
9 7
 
10 8
 /**
Please login to merge, or discard this patch.
tests/phpunit/Unit/MediaWiki/EditInfoProviderTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace SMW\Tests\MediaWiki;
4 4
 
5 5
 use SMW\MediaWiki\EditInfoProvider;
6
-use SMW\Tests\Utils\Mock\MockTitle;
7
-
8 6
 use ParserOutput;
9 7
 
10 8
 /**
Please login to merge, or discard this patch.
tests/phpunit/Unit/MediaWiki/Hooks/ArticlePurgeTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,12 +3,9 @@
 block discarded – undo
3 3
 namespace SMW\Tests\MediaWiki\Hooks;
4 4
 
5 5
 use SMW\Tests\Utils\Mock\MockTitle;
6
-
7 6
 use SMW\MediaWiki\Hooks\ArticlePurge;
8 7
 use SMW\Settings;
9
-use SMW\Factbox\FactboxCache;
10 8
 use SMW\ApplicationFactory;
11
-
12 9
 use WikiPage;
13 10
 
14 11
 /**
Please login to merge, or discard this patch.
tests/phpunit/Unit/MediaWiki/Hooks/InternalParseBeforeLinksTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,12 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use SMW\Tests\Utils\UtilityFactory;
6 6
 use SMW\Tests\Utils\Mock\MockTitle;
7
-
8 7
 use SMW\MediaWiki\Hooks\InternalParseBeforeLinks;
9
-
10 8
 use SMW\ApplicationFactory;
11 9
 use SMW\Settings;
12
-
13 10
 use Title;
14 11
 
15 12
 /**
Please login to merge, or discard this patch.
tests/phpunit/Unit/MediaWiki/Hooks/ParserAfterTidyTest.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -4,12 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use SMW\Tests\Utils\UtilityFactory;
6 6
 use SMW\Tests\Utils\Mock\MockTitle;
7
-
8 7
 use SMW\MediaWiki\Hooks\ParserAfterTidy;
9
-
10 8
 use SMW\ApplicationFactory;
11
-use SMW\Settings;
12
-
13 9
 use Title;
14 10
 
15 11
 /**
Please login to merge, or discard this patch.
tests/phpunit/Unit/PropertyAnnotator/CategoryPropertyAnnotatorTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,14 +4,11 @@
 block discarded – undo
4 4
 
5 5
 use SMW\Tests\Utils\UtilityFactory;
6 6
 use SMW\Tests\Utils\Mock\MockTitle;
7
-
8 7
 use SMW\PropertyAnnotator\CategoryPropertyAnnotator;
9 8
 use SMW\PropertyAnnotator\NullPropertyAnnotator;
10 9
 use SMW\DIWikiPage;
11 10
 use SMW\ApplicationFactory;
12
-use SMW\Settings;
13 11
 use SMW\ParserData;
14
-
15 12
 use ParserOutput;
16 13
 
17 14
 /**
Please login to merge, or discard this patch.