Failed Conditions
Pull Request — master (#569)
by Max
08:35
created
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.
tests/Validator/UniqueFragmentNamesTest.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -131,6 +131,13 @@
 block discarded – undo
131 131
         );
132 132
     }
133 133
 
134
+    /**
135
+     * @param string $fragName
136
+     * @param integer $l1
137
+     * @param integer $c1
138
+     * @param integer $l2
139
+     * @param integer $c2
140
+     */
134 141
     private function duplicateFrag($fragName, $l1, $c1, $l2, $c2)
135 142
     {
136 143
         return FormattedError::create(
Please login to merge, or discard this patch.
tests/Validator/UniqueInputFieldNamesTest.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -95,6 +95,13 @@
 block discarded – undo
95 95
         );
96 96
     }
97 97
 
98
+    /**
99
+     * @param string $name
100
+     * @param integer $l1
101
+     * @param integer $c1
102
+     * @param integer $l2
103
+     * @param integer $c2
104
+     */
98 105
     private function duplicateField($name, $l1, $c1, $l2, $c2)
99 106
     {
100 107
         return FormattedError::create(
Please login to merge, or discard this patch.
tests/Validator/UniqueOperationNamesTest.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -135,6 +135,13 @@
 block discarded – undo
135 135
         );
136 136
     }
137 137
 
138
+    /**
139
+     * @param string $opName
140
+     * @param integer $l1
141
+     * @param integer $c1
142
+     * @param integer $l2
143
+     * @param integer $c2
144
+     */
138 145
     private function duplicateOp($opName, $l1, $c1, $l2, $c2)
139 146
     {
140 147
         return FormattedError::create(
Please login to merge, or discard this patch.
tests/Validator/UniqueVariableNamesTest.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -46,6 +46,13 @@
 block discarded – undo
46 46
         );
47 47
     }
48 48
 
49
+    /**
50
+     * @param string $name
51
+     * @param integer $l1
52
+     * @param integer $c1
53
+     * @param integer $l2
54
+     * @param integer $c2
55
+     */
49 56
     private function duplicateVariable($name, $l1, $c1, $l2, $c2)
50 57
     {
51 58
         return FormattedError::create(
Please login to merge, or discard this patch.
tests/Validator/ValuesOfCorrectTypeTest.php 1 patch
Doc Comments   +25 added lines patch added patch discarded remove patch
@@ -245,6 +245,12 @@  discard block
 block discarded – undo
245 245
         );
246 246
     }
247 247
 
248
+    /**
249
+     * @param string $typeName
250
+     * @param string $value
251
+     * @param integer $line
252
+     * @param integer $column
253
+     */
248 254
     private function badValue($typeName, $value, $line, $column, $message = null)
249 255
     {
250 256
         return FormattedError::create(
@@ -257,6 +263,11 @@  discard block
 block discarded – undo
257 263
         );
258 264
     }
259 265
 
266
+    /**
267
+     * @param string $message
268
+     * @param integer $line
269
+     * @param integer $column
270
+     */
260 271
     private function badValueWithMessage($message, $line, $column)
261 272
     {
262 273
         return FormattedError::create($message, [new SourceLocation($line, $column)]);
@@ -1237,6 +1248,13 @@  discard block
 block discarded – undo
1237 1248
         );
1238 1249
     }
1239 1250
 
1251
+    /**
1252
+     * @param string $typeName
1253
+     * @param string $fieldName
1254
+     * @param string $fieldTypeName
1255
+     * @param integer $line
1256
+     * @param integer $column
1257
+     */
1240 1258
     private function requiredField($typeName, $fieldName, $fieldTypeName, $line, $column)
1241 1259
     {
1242 1260
         return FormattedError::create(
@@ -1328,6 +1346,13 @@  discard block
 block discarded – undo
1328 1346
         );
1329 1347
     }
1330 1348
 
1349
+    /**
1350
+     * @param string $typeName
1351
+     * @param string $fieldName
1352
+     * @param integer $line
1353
+     * @param integer $column
1354
+     * @param string $message
1355
+     */
1331 1356
     private function unknownField($typeName, $fieldName, $line, $column, $message = null)
1332 1357
     {
1333 1358
         return FormattedError::create(
Please login to merge, or discard this patch.