Completed
Push — master ( 5f9e66...1f3475 )
by mw
123:57 queued 89:01
created
src/DataValues/ValueValidators/ListConstraintValueValidator.php 1 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\DataValues\ValueValidators;
4 4
 
5
-use SMW\DataValueFactory;
6 5
 use SMW\ApplicationFactory;
7 6
 use SMWDataValue as DataValue;
8 7
 use SMWDIBlob as DIBlob;
Please login to merge, or discard this patch.
src/DataValues/ValueValidators/PatternConstraintValueValidator.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -82,6 +82,10 @@
 block discarded – undo
82 82
 		);
83 83
 	}
84 84
 
85
+	/**
86
+	 * @param string $pattern
87
+	 * @param string $reference
88
+	 */
85 89
 	private function doPregMatch( $pattern, $dataValue, $reference ) {
86 90
 
87 91
 		// Convert escaping as in /\d{4}
Please login to merge, or discard this patch.
src/Query/PrintRequest/Formatter.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -40,6 +40,9 @@  discard block
 block discarded – undo
40 40
 		return self::getHTMLText( $printRequest, $linker );
41 41
 	}
42 42
 
43
+	/**
44
+	 * @param  $printRequest
45
+	 */
43 46
 	private static function getHTMLText( $printRequest, $linker = null ) {
44 47
 
45 48
 		$label = htmlspecialchars( $printRequest->getLabel() );
@@ -62,6 +65,9 @@  discard block
 block discarded – undo
62 65
 		}
63 66
 	}
64 67
 
68
+	/**
69
+	 * @param  $printRequest
70
+	 */
65 71
 	private static function getWikiText( $printRequest, $linker = false ) {
66 72
 
67 73
 		$label = $printRequest->getLabel();
Please login to merge, or discard this patch.
src/Query/PrintRequest/Serializer.php 1 patch
Doc Comments   +16 added lines patch added patch discarded remove patch
@@ -49,6 +49,10 @@  discard block
 block discarded – undo
49 49
 		return ''; // no current serialisation
50 50
 	}
51 51
 
52
+	/**
53
+	 * @param  $printRequest
54
+	 * @param string $parameters
55
+	 */
52 56
 	private static function doSerializeCat( $printRequest, $parameters ) {
53 57
 
54 58
 		$catlabel = Localizer::getInstance()->getNamespaceTextById( NS_CATEGORY );
@@ -61,6 +65,10 @@  discard block
 block discarded – undo
61 65
 		return $result . $parameters;
62 66
 	}
63 67
 
68
+	/**
69
+	 * @param  $printRequest
70
+	 * @param string $parameters
71
+	 */
64 72
 	private static function doSerializeCcat( $printRequest, $parameters ) {
65 73
 
66 74
 		$printname = $printRequest->getData()->getPrefixedText();
@@ -77,6 +85,10 @@  discard block
 block discarded – undo
77 85
 		return $result . $parameters;
78 86
 	}
79 87
 
88
+	/**
89
+	 * @param  $printRequest
90
+	 * @param string $parameters
91
+	 */
80 92
 	private static function doSerializeProp( $printRequest, $parameters ) {
81 93
 
82 94
 		$printname = '';
@@ -106,6 +118,10 @@  discard block
 block discarded – undo
106 118
 		return $result . $parameters;
107 119
 	}
108 120
 
121
+	/**
122
+	 * @param  $printRequest
123
+	 * @param string $parameters
124
+	 */
109 125
 	private static function doSerializeThis( $printRequest, $parameters ) {
110 126
 
111 127
 		$result = '?';
Please login to merge, or discard this patch.
src/DataItemFactory.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 use SMWDIError as DIError;
10 10
 use SMWDINumber as DINumber;
11 11
 use SMWDIUri as DIUri;
12
-use SMWDITime  as DITime;
12
+use SMWDITime as DITime;
13 13
 
14 14
 /**
15 15
  * @private
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,8 +136,8 @@
 block discarded – undo
136 136
 	 *
137 137
 	 * @param integer $calendarmodel
138 138
 	 * @param integer $year
139
-	 * @param integer|false $month
140
-	 * @param integer|false $day
139
+	 * @param integer $month
140
+	 * @param integer $day
141 141
 	 * @param integer|false $hour
142 142
 	 * @param integer|false $minute
143 143
 	 * @param integer|false $second
Please login to merge, or discard this patch.
src/Deserializers/DVDescriptionDeserializer/DescriptionDeserializer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 	 * @since 2.5
61 61
 	 *
62 62
 	 * @param DescriptionFactory|null $descriptionFactory
63
-	 * @param DataItemFactory|null $dataItemFactory
63
+	 * @param null|DescriptionFactory $dataItemFactory
64 64
 	 */
65 65
 	public function __construct( DescriptionFactory $descriptionFactory = null, DescriptionFactory $dataItemFactory = null ) {
66 66
 		$this->descriptionFactory = $descriptionFactory;
Please login to merge, or discard this patch.
DVDescriptionDeserializer/SomeValueDescriptionDeserializer.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -77,6 +77,10 @@
 block discarded – undo
77 77
 		return $description;
78 78
 	}
79 79
 
80
+	/**
81
+	 * @param DIWikiPage $dataItem
82
+	 * @param ValueDescription $description
83
+	 */
80 84
 	private function findApproriateDescription( $comparator, $dataItem, $description ) {
81 85
 
82 86
 		$value = $dataItem->getDBKey();
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\Deserializers\DVDescriptionDeserializer;
4 4
 
5 5
 use InvalidArgumentException;
6
-use SMW\Query\Language\ThingDescription;
7 6
 use SMW\Query\Language\ValueDescription;
8 7
 use SMWDataValue as DataValue;
9 8
 use SMW\DIWikiPage;
Please login to merge, or discard this patch.
src/Libs/Time/JulianDay.php 1 patch
Doc Comments   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 	/**
35 35
 	 * @since 2.4
36 36
 	 *
37
-	 * @param integer $calendarmodel
37
+	 * @param integer $calendarModel
38 38
 	 * @param integer $year
39 39
 	 * @param integer $month
40 40
 	 * @param integer $day
@@ -68,10 +68,10 @@  discard block
 block discarded – undo
68 68
 	 * calendar model. This calculation assumes that neither calendar
69 69
 	 * has a year 0.
70 70
 	 *
71
-	 * @param $year integer representing the year
72
-	 * @param $month integer representing the month
73
-	 * @param $day integer representing the day
74
-	 * @param $calendarmodel integer either CM_GREGORIAN or CM_JULIAN
71
+	 * @param integer $year integer representing the year
72
+	 * @param integer $month integer representing the month
73
+	 * @param integer $day integer representing the day
74
+	 * @param integer $calendarmodel integer either CM_GREGORIAN or CM_JULIAN
75 75
 	 *
76 76
 	 * @return float Julian Day number
77 77
 	 * @throws RuntimeException
@@ -97,9 +97,9 @@  discard block
 block discarded – undo
97 97
 	 * Compute the offset for the Julian Day number from a given time.
98 98
 	 * This computation is the same for all calendar models.
99 99
 	 *
100
-	 * @param $hours integer representing the hour
101
-	 * @param $minutes integer representing the minutes
102
-	 * @param $seconds integer representing the seconds
100
+	 * @param integer $hours integer representing the hour
101
+	 * @param integer $minutes integer representing the minutes
102
+	 * @param integer $seconds integer representing the seconds
103 103
 	 *
104 104
 	 * @return float offset for a Julian Day number to get this time
105 105
 	 */
@@ -114,8 +114,8 @@  discard block
 block discarded – undo
114 114
 	 * conversion to Gregorian needs positive JD. If this happens, wrong
115 115
 	 * values will be returned. Avoid date conversions before 10000 BCE.
116 116
 	 *
117
-	 * @param $jdValue float number of Julian Days
118
-	 * @param $calendarModel integer either CM_GREGORIAN or CM_JULIAN
117
+	 * @param double $jdValue float number of Julian Days
118
+	 * @param integer $calendarModel integer either CM_GREGORIAN or CM_JULIAN
119 119
 	 *
120 120
 	 * @return array( calendarModel, yearnumber, monthnumber, daynumber )
121 121
 	 * @throws RuntimeException
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
 	 * Extract the time from a Julian Day number and return it as a string.
167 167
 	 * This conversion is the same for all calendar models.
168 168
 	 *
169
-	 * @param $jdvalue float number of Julian Days
169
+	 * @param double $jdvalue float number of Julian Days
170 170
 	 * @return array( hours, minutes, seconds )
171 171
 	 */
172 172
 	public static function JD2Time( $jdvalue ) {
Please login to merge, or discard this patch.
tests/phpunit/Unit/Libs/Time/TimezoneTest.php 1 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\Tests\Libs\Time;
4 4
 
5
-use SMW\DataItemFactory;
6 5
 use SMW\Libs\Time\Timezone;
7 6
 
8 7
 /**
Please login to merge, or discard this patch.