Passed
Pull Request — master (#569)
by Max
03:03
created
tests/Validator/NoFragmentCyclesTest.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -106,6 +106,11 @@
 block discarded – undo
106 106
         );
107 107
     }
108 108
 
109
+    /**
110
+     * @param string $fargment
111
+     * @param integer $line
112
+     * @param integer $column
113
+     */
109 114
     private function cycleError($fargment, $spreadNames, $line, $column)
110 115
     {
111 116
         return FormattedError::create(
Please login to merge, or discard this patch.
tests/Validator/NoUndefinedVariablesTest.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -180,6 +180,14 @@
 block discarded – undo
180 180
         );
181 181
     }
182 182
 
183
+    /**
184
+     * @param string $varName
185
+     * @param integer $line
186
+     * @param integer $column
187
+     * @param string $opName
188
+     * @param integer $l2
189
+     * @param integer $c2
190
+     */
183 191
     private function undefVar($varName, $line, $column, $opName = null, $l2 = null, $c2 = null)
184 192
     {
185 193
         $locs = [new SourceLocation($line, $column)];
Please login to merge, or discard this patch.
tests/Validator/NoUnusedFragmentsTest.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -115,6 +115,11 @@
 block discarded – undo
115 115
         );
116 116
     }
117 117
 
118
+    /**
119
+     * @param string $fragName
120
+     * @param integer $line
121
+     * @param integer $column
122
+     */
118 123
     private function unusedFrag($fragName, $line, $column)
119 124
     {
120 125
         return FormattedError::create(
Please login to merge, or discard this patch.
tests/Validator/NoUnusedVariablesTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -158,6 +158,12 @@
 block discarded – undo
158 158
         );
159 159
     }
160 160
 
161
+    /**
162
+     * @param string $varName
163
+     * @param null|string $opName
164
+     * @param integer $line
165
+     * @param integer $column
166
+     */
161 167
     private function unusedVar($varName, $opName, $line, $column)
162 168
     {
163 169
         return FormattedError::create(
Please login to merge, or discard this patch.
tests/Validator/PossibleFragmentSpreadsTest.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -192,6 +192,13 @@  discard block
 block discarded – undo
192 192
         );
193 193
     }
194 194
 
195
+    /**
196
+     * @param string $fragName
197
+     * @param string $parentType
198
+     * @param string $fragType
199
+     * @param integer $line
200
+     * @param integer $column
201
+     */
195 202
     private function error($fragName, $parentType, $fragType, $line, $column)
196 203
     {
197 204
         return FormattedError::create(
@@ -216,6 +223,12 @@  discard block
 block discarded – undo
216 223
         );
217 224
     }
218 225
 
226
+    /**
227
+     * @param string $parentType
228
+     * @param string $fragType
229
+     * @param integer $line
230
+     * @param integer $column
231
+     */
219 232
     private function errorAnon($parentType, $fragType, $line, $column)
220 233
     {
221 234
         return FormattedError::create(
Please login to merge, or discard this patch.
tests/Validator/ProvidedRequiredArgumentsTest.php 1 patch
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -238,6 +238,13 @@  discard block
 block discarded – undo
238 238
         );
239 239
     }
240 240
 
241
+    /**
242
+     * @param string $fieldName
243
+     * @param string $argName
244
+     * @param string $typeName
245
+     * @param integer $line
246
+     * @param integer $column
247
+     */
241 248
     private function missingFieldArg($fieldName, $argName, $typeName, $line, $column)
242 249
     {
243 250
         return FormattedError::create(
@@ -345,6 +352,13 @@  discard block
 block discarded – undo
345 352
         );
346 353
     }
347 354
 
355
+    /**
356
+     * @param string $directiveName
357
+     * @param string $argName
358
+     * @param string $typeName
359
+     * @param integer $line
360
+     * @param integer $column
361
+     */
348 362
     private function missingDirectiveArg($directiveName, $argName, $typeName, $line, $column)
349 363
     {
350 364
         return FormattedError::create(
Please login to merge, or discard this patch.
tests/Validator/QuerySecurityTestCase.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -31,6 +31,9 @@  discard block
 block discarded – undo
31 31
      */
32 32
     abstract protected function getRule($max);
33 33
 
34
+    /**
35
+     * @param integer $maxExpected
36
+     */
34 37
     protected function assertIntrospectionQuery($maxExpected)
35 38
     {
36 39
         $query = Introspection::getIntrospectionQuery();
@@ -38,6 +41,9 @@  discard block
 block discarded – undo
38 41
         $this->assertMaxValue($query, $maxExpected);
39 42
     }
40 43
 
44
+    /**
45
+     * @param string $query
46
+     */
41 47
     protected function assertMaxValue($query, $maxExpected)
42 48
     {
43 49
         $this->assertDocumentValidator($query, $maxExpected);
@@ -81,6 +87,9 @@  discard block
 block discarded – undo
81 87
      */
82 88
     abstract protected function getErrorMessage($max, $count);
83 89
 
90
+    /**
91
+     * @param integer $maxExpected
92
+     */
84 93
     protected function assertIntrospectionTypeMetaFieldQuery($maxExpected)
85 94
     {
86 95
         $query = '
@@ -94,6 +103,9 @@  discard block
 block discarded – undo
94 103
         $this->assertMaxValue($query, $maxExpected);
95 104
     }
96 105
 
106
+    /**
107
+     * @param integer $maxExpected
108
+     */
97 109
     protected function assertTypeNameMetaFieldQuery($maxExpected)
98 110
     {
99 111
         $query = '
Please login to merge, or discard this patch.
tests/Validator/ScalarLeafsTest.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -42,6 +42,12 @@  discard block
 block discarded – undo
42 42
         );
43 43
     }
44 44
 
45
+    /**
46
+     * @param string $field
47
+     * @param string $type
48
+     * @param integer $line
49
+     * @param integer $column
50
+     */
45 51
     private function missingObjSubselection($field, $type, $line, $column)
46 52
     {
47 53
         return FormattedError::create(
@@ -97,6 +103,12 @@  discard block
 block discarded – undo
97 103
         );
98 104
     }
99 105
 
106
+    /**
107
+     * @param string $field
108
+     * @param string $type
109
+     * @param integer $line
110
+     * @param integer $column
111
+     */
100 112
     private function noScalarSubselection($field, $type, $line, $column)
101 113
     {
102 114
         return FormattedError::create(
Please login to merge, or discard this patch.
tests/Validator/UniqueArgumentNamesTest.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -163,6 +163,13 @@
 block discarded – undo
163 163
         );
164 164
     }
165 165
 
166
+    /**
167
+     * @param string $argName
168
+     * @param integer $l1
169
+     * @param integer $c1
170
+     * @param integer $l2
171
+     * @param integer $c2
172
+     */
166 173
     private function duplicateArg($argName, $l1, $c1, $l2, $c2)
167 174
     {
168 175
         return FormattedError::create(
Please login to merge, or discard this patch.