Completed
Push — master ( 5f9e66...1f3475 )
by mw
123:57 queued 89:01
created
includes/storage/SQLStore/SMW_SQLStore3_Writers.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use SMW\MediaWiki\Jobs\JobBase;
6 6
 use SMW\MediaWiki\Jobs\UpdateJob;
7 7
 use SMW\SemanticData;
8
-use SMW\SQLStore\PropertyStatisticsTable;
9 8
 use SMW\SQLStore\PropertyTableRowDiffer;
10 9
 use SMW\SQLStore\EntityStore\EntitySubobjectListIterator;
11 10
 use SMW\SQLStore\TableBuilder\FieldType;
Please login to merge, or discard this patch.
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,6 +103,10 @@  discard block
 block discarded – undo
103 103
 		\Hooks::run( 'SMW::SQLStore::AfterDeleteSubjectComplete', array( $this->store, $title ) );
104 104
 	}
105 105
 
106
+	/**
107
+	 * @param DIWikiPage $subject
108
+	 * @param SMW\Iterators\MappingIterator $subobjects
109
+	 */
106 110
 	private function doDelete( $id, $subject, $subobjects ) {
107 111
 
108 112
 		if ( $subject->getNamespace() === SMW_NS_CONCEPT ) { // make sure to clear caches
@@ -142,7 +146,6 @@  discard block
 block discarded – undo
142 146
 	 * @see SMWStore::doDataUpdate
143 147
 	 *
144 148
 	 * @since 1.8
145
-	 * @param SMWSemanticData $data
146 149
 	 */
147 150
 	public function doDataUpdate( SMWSemanticData $semanticData ) {
148 151
 		\Hooks::run( 'SMWSQLStore3::updateDataBefore', array( $this->store, $semanticData ) );
@@ -955,6 +958,9 @@  discard block
 block discarded – undo
955 958
 		return ( $new_tid == 0 ) ? $sid : $new_tid;
956 959
 	}
957 960
 
961
+	/**
962
+	 * @param integer $redirectId
963
+	 */
958 964
 	private function addToDeferredUpdate( $oldTitle, $newTitle, $redirectId ) {
959 965
 
960 966
 		$jobFactory = ApplicationFactory::getInstance()->newJobFactory();
Please login to merge, or discard this patch.
includes/storage/SQLStore/SMW_SQLStore3_Readers.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,6 +40,9 @@  discard block
 block discarded – undo
40 40
 	 */
41 41
 	private static $in_getSemanticData = 0;
42 42
 
43
+	/**
44
+	 * @param SQLStoreFactory $factory
45
+	 */
43 46
 	public function __construct( SMWSQLStore3 $parentStore, $factory ) {
44 47
 		$this->store = $parentStore;
45 48
 		$this->factory = $factory;
@@ -198,7 +201,7 @@  discard block
 block discarded – undo
198 201
 	 *
199 202
 	 * @since 1.8
200 203
 	 *
201
-	 * @param $subject mixed DIWikiPage or null
204
+	 * @param null|SMWDataItem $subject mixed DIWikiPage or null
202 205
 	 * @param $property SMWDIProperty
203 206
 	 * @param $requestOptions SMWRequestOptions
204 207
 	 *
@@ -684,7 +687,7 @@  discard block
 block discarded – undo
684 687
 	 * @param SMWDataItem $value
685 688
 	 * @param SMWRequestOptions|null $requestOptions
686 689
 	 *
687
-	 * @return array of SMWWikiPageValue
690
+	 * @return SMWDataItem[] of SMWWikiPageValue
688 691
 	 */
689 692
 	public function getInProperties( SMWDataItem $value, SMWRequestOptions $requestOptions = null ) {
690 693
 
Please login to merge, or discard this patch.
src/MediaWiki/Hooks/ArticleDelete.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 	 *
40 40
 	 * @param Wikipage $wikiPage
41 41
 	 *
42
-	 * @return true
42
+	 * @return boolean
43 43
 	 */
44 44
 	public function process( $wikiPage ) {
45 45
 
@@ -95,6 +95,9 @@  discard block
 block discarded – undo
95 95
 		return true;
96 96
 	}
97 97
 
98
+	/**
99
+	 * @param string $message
100
+	 */
98 101
 	private function log( $message, $context = array() ) {
99 102
 
100 103
 		if ( $this->logger === null ) {
Please login to merge, or discard this patch.
src/SQLStore/QueryDependency/DependencyLinksTableUpdater.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,6 @@  discard block
 block discarded – undo
110 110
 	/**
111 111
 	 * @since 2.4
112 112
 	 *
113
-	 * @param array $dependencyList
114 113
 	 */
115 114
 	public function deleteDependenciesFromList( array $deleteIdList ) {
116 115
 
@@ -243,6 +242,9 @@  discard block
 block discarded – undo
243 242
 		return $id;
244 243
 	}
245 244
 
245
+	/**
246
+	 * @param string $message
247
+	 */
246 248
 	private function log( $message, $context = array() ) {
247 249
 
248 250
 		if ( $this->logger === null ) {
Please login to merge, or discard this patch.
src/SQLStore/SQLStoreFactory.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 	/**
60 60
 	 * @since 2.2
61 61
 	 *
62
-	 * @return QueryEngine
62
+	 * @return QueryEngine\QueryEngine
63 63
 	 */
64 64
 	public function newMasterQueryEngine() {
65 65
 		return $this->queryEngineFactory->newQueryEngine();
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 	/**
69 69
 	 * @since 2.2
70 70
 	 *
71
-	 * @return QueryEngine
71
+	 * @return QueryEngine\QueryEngine
72 72
 	 */
73 73
 	public function newSlaveQueryEngine() {
74 74
 		return $this->newMasterQueryEngine();
@@ -421,7 +421,7 @@  discard block
 block discarded – undo
421 421
 	/**
422 422
 	 * @since 2.5
423 423
 	 *
424
-	 * @return LoggerInterface
424
+	 * @return \Psr\Log\LoggerInterface
425 425
 	 */
426 426
 	public function getLogger() {
427 427
 		return ApplicationFactory::getInstance()->getMediaWikiLogger();
Please login to merge, or discard this patch.
src/SQLStore/ConceptCache.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,6 @@
 block discarded – undo
38 38
 	 * @since 2.2
39 39
 	 *
40 40
 	 * @param SMWSQLStore3 $store
41
-	 * @param ConceptQuerySegmentBuilder $conceptQueryResolver
42 41
 	 */
43 42
 	public function __construct( SMWSQLStore3 $store, ConceptQuerySegmentBuilder $conceptQuerySegmentBuilder ) {
44 43
 		$this->store = $store;
Please login to merge, or discard this patch.
src/SQLStore/QueryEngine/QuerySegmentListBuildManager.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 	/**
67 67
 	 * @since 2.5
68 68
 	 *
69
-	 * @return array
69
+	 * @return string[]
70 70
 	 */
71 71
 	public function getErrors() {
72 72
 		return $this->errors;
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 	/**
76 76
 	 * @since 2.5
77 77
 	 *
78
-	 * @return array
78
+	 * @return QuerySegment[]
79 79
 	 */
80 80
 	public function getQuerySegmentList() {
81 81
 		return $this->querySegmentList;
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace SMW\SQLStore\QueryEngine;
4 4
 
5
-use SMW\DIWikiPage;
6 5
 use SMWQuery as Query;
7 6
 use SMW\MediaWiki\Database;
8 7
 use SMW\SQLStore\SQLStore;
Please login to merge, or discard this patch.
tests/phpunit/TestEnvironment.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
 	/**
184 184
 	 * @since 2.5
185 185
 	 *
186
-	 * @param $originalClassName
186
+	 * @param string $originalClassName
187 187
 	 * @param array $configuration
188 188
 	 *
189 189
 	 * @return PHPUnit_Framework_MockObject_MockObject
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
 	 * @since 2.5
229 229
 	 *
230 230
 	 * @param integer $index
231
-	 * @param string $url
231
+	 * @param string $text
232 232
 	 *
233 233
 	 * @return string
234 234
 	 */
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\ApplicationFactory;
6 6
 use SMW\DataValueFactory;
7 7
 use SMW\DeferredCallableUpdate;
8
-use SMW\Store;
9 8
 use SMW\Localizer;
10 9
 use SMW\Tests\Utils\UtilityFactory;
11 10
 use SMW\Tests\Utils\Mock\ConfigurableStub;
Please login to merge, or discard this patch.
includes/dataitems/SMW_DI_Property.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -307,6 +307,7 @@  discard block
 block discarded – undo
307 307
 	/**
308 308
 	 * @since  2.0
309 309
 	 *
310
+	 * @param string $propertyTypeId
310 311
 	 * @return self
311 312
 	 * @throws PropertyDataTypeLookupExeption
312 313
 	 * @throws InvalidArgumentException
@@ -460,6 +461,7 @@  discard block
 block discarded – undo
460 461
 
461 462
 	/**
462 463
 	 * @deprecated since 2.1, use PropertyRegistry::findPropertyIdByLabel
464
+	 * @param string $label
463 465
 	 */
464 466
 	public static function findPropertyID( $label, $useAlias = true ) {
465 467
 		return PropertyRegistry::getInstance()->findPropertyIdByLabel( $label, $useAlias );
@@ -493,6 +495,9 @@  discard block
 block discarded – undo
493 495
 		PropertyRegistry::getInstance()->registerPropertyAlias( $id, $label );
494 496
 	}
495 497
 
498
+	/**
499
+	 * @param string $subobjectName
500
+	 */
496 501
 	private function newDIWikiPage( $dbkey, $subobjectName ) {
497 502
 
498 503
 		// If an inverse marker is present just omit the marker so a normal
Please login to merge, or discard this patch.