Completed
Push — master ( ebe875...a265d1 )
by mw
94:25 queued 69:18
created
tests/phpunit/Unit/Factbox/CachedFactboxTest.php 1 patch
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.
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   -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/SPARQLStore/QueryEngine/XmlResponseParserTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -55,6 +55,9 @@
 block discarded – undo
55 55
 		$instance->parse( $rawResultProvider->getInvalidSparqlResultXml() );
56 56
 	}
57 57
 
58
+	/**
59
+	 * @param \SMW\SPARQLStore\QueryEngine\RepositoryResult $results
60
+	 */
58 61
 	protected function assertResultFormat( $expectedResultRowItemInstance, $results ) {
59 62
 
60 63
 		if ( !is_array( $expectedResultRowItemInstance ) ) {
Please login to merge, or discard this patch.
tests/phpunit/Unit/SPARQLStore/RedirectLookupTest.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -243,6 +243,9 @@
 block discarded – undo
243 243
 		$this->assertFalse( $exists );
244 244
 	}
245 245
 
246
+	/**
247
+	 * @return \SMW\SPARQLStore\RepositoryConnection
248
+	 */
246 249
 	private function createRepositoryConnectionMockToUse( $listReturnValue ) {
247 250
 
248 251
 		$repositoryResult = $this->getMockBuilder( '\SMW\SPARQLStore\QueryEngine\RepositoryResult' )
Please login to merge, or discard this 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.
tests/phpunit/Unit/SQLStore/SQLStoreFactoryTest.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/ByPageSemanticDataFinder.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 	 *
34 34
 	 * @param Store $store
35 35
 	 *
36
-	 * @return PageDataFetcher
36
+	 * @return ByPageSemanticDataFinder
37 37
 	 */
38 38
 	public function setStore( Store $store ) {
39 39
 		$this->store = $store;
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 	 *
46 46
 	 * @param Title $title
47 47
 	 *
48
-	 * @return PageDataFetcher
48
+	 * @return ByPageSemanticDataFinder
49 49
 	 */
50 50
 	public function setTitle( Title $title ) {
51 51
 		$this->title = $title;
Please login to merge, or discard this patch.
tests/phpunit/Utils/Fixtures/Facts/BerlinFactsheet.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 	/**
98 98
 	 * @since 2.1
99 99
 	 *
100
-	 * @return DataValue
100
+	 * @return \SMWDataValue
101 101
 	 */
102 102
 	public function getLocatedInValue() {
103 103
 
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 	 *
115 115
 	 * @see https://en.wikipedia.org/wiki/Berlin
116 116
 	 *
117
-	 * @return DataValue
117
+	 * @return \SMWDataValue
118 118
 	 */
119 119
 	public function getAreaValue() {
120 120
 
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
 	 *
132 132
 	 * @see https://en.wikipedia.org/wiki/Berlin
133 133
 	 *
134
-	 * @return DataValue
134
+	 * @return \SMWDataValue
135 135
 	 */
136 136
 	public function getFoundedValue() {
137 137
 
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
 	 *
149 149
 	 * @see https://en.wikipedia.org/wiki/Berlin
150 150
 	 *
151
-	 * @return DataValue
151
+	 * @return \SMWDataValue
152 152
 	 */
153 153
 	public function getAverageHighTemperatureValue() {
154 154
 
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
 	 *
167 167
 	 * @see https://en.wikipedia.org/wiki/Berlin
168 168
 	 *
169
-	 * @return DataValue
169
+	 * @return \SMWDataValue
170 170
 	 */
171 171
 	public function getPopulationValue() {
172 172
 
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
 	 *
184 184
 	 * @see https://en.wikipedia.org/wiki/Demographics_of_Berlin
185 185
 	 *
186
-	 * @return DataValue
186
+	 * @return \SMWDataValue
187 187
 	 */
188 188
 	public function getPopulationDensityValue() {
189 189
 
Please login to merge, or discard this patch.
tests/phpunit/Utils/Fixtures/Facts/FranceFactsheet.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
 	/**
86 86
 	 * @since 2.1
87 87
 	 *
88
-	 * @return DataValue
88
+	 * @return \SMWDataValue
89 89
 	 */
90 90
 	public function getLocatedInValue() {
91 91
 
Please login to merge, or discard this patch.
tests/phpunit/Utils/Fixtures/Facts/ParisFactsheet.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
 	/**
96 96
 	 * @since 2.1
97 97
 	 *
98
-	 * @return DataValue
98
+	 * @return \SMWDataValue
99 99
 	 */
100 100
 	public function getLocatedInValue() {
101 101
 
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 	 *
113 113
 	 * @see https://en.wikipedia.org/wiki/Berlin
114 114
 	 *
115
-	 * @return DataValue
115
+	 * @return \SMWDataValue
116 116
 	 */
117 117
 	public function getAreaValue() {
118 118
 
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
 	 *
131 131
 	 * @see https://en.wikipedia.org/wiki/Berlin
132 132
 	 *
133
-	 * @return DataValue
133
+	 * @return \SMWDataValue
134 134
 	 */
135 135
 	public function getAverageHighTemperatureValue() {
136 136
 
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
 	 *
149 149
 	 * @see https://en.wikipedia.org/wiki/Demographics_of_Paris
150 150
 	 *
151
-	 * @return DataValue
151
+	 * @return \SMWDataValue
152 152
 	 */
153 153
 	public function getPopulationValue() {
154 154
 
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
 	 *
166 166
 	 * @see https://en.wikipedia.org/wiki/Demographics_of_Paris
167 167
 	 *
168
-	 * @return DataValue
168
+	 * @return \SMWDataValue
169 169
 	 */
170 170
 	public function getPopulationDensityValue() {
171 171
 
Please login to merge, or discard this patch.