Test Failed
Push — master ( 3b7232...dbe410 )
by Kirill
02:20
created
src/Stdlib/Directive/SkipDirective.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
         $this->withDescription(self::TYPE_DESCRIPTION)
53 53
             ->withArgument((new ArgumentDefinition($this, $document, 'if', 'Boolean'))
54 54
                 ->withModifiers(ArgumentDefinition::IS_NOT_NULL))
55
-            ->withLocation(...\array_map(function (string $location) use ($document): DirectiveLocation {
55
+            ->withLocation(...\array_map(function(string $location) use ($document): DirectiveLocation {
56 56
                 return new DirectiveLocation($this, $document, $location);
57 57
             }, self::LOCATIONS));
58 58
     }
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     public const TYPE_DESCRIPTION = <<<Description
40 40
 The @skip directive may be provided for fields, fragment spreads, and inline fragments,
41 41
 and allows for conditional exclusion during execution as described by the if argument.
42
-Description;
42
+description;
43 43
 
44 44
     /**
45 45
      * BooleanScalar constructor.
Please login to merge, or discard this patch.
src/Stdlib/Directive/DeprecatedDirective.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,9 +58,9 @@
 block discarded – undo
58 58
         parent::__construct($document, self::TYPE_NAME);
59 59
 
60 60
         $this->withDescription(self::TYPE_DESCRIPTION)
61
-            ->withArgument((new ArgumentDefinition($this, $document, 'reason','String'))
61
+            ->withArgument((new ArgumentDefinition($this, $document, 'reason', 'String'))
62 62
                 ->withDefaultValue('No longer supported'))
63
-            ->withLocation(...\array_map(function (string $location) use ($document): DirectiveLocation {
63
+            ->withLocation(...\array_map(function(string $location) use ($document): DirectiveLocation {
64 64
                 return new DirectiveLocation($this, $document, $location);
65 65
             }, self::LOCATIONS));
66 66
     }
Please login to merge, or discard this patch.
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      */
25 25
     private const LOCATIONS = [
26 26
         DirectiveLocation::OBJECT,
27
-        DirectiveLocation::INTERFACE,
27
+        DirectiveLocation::interface,
28 28
         DirectiveLocation::FIELD_DEFINITION,
29 29
         DirectiveLocation::SCALAR,
30 30
         DirectiveLocation::UNION,
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 The @deprecated directive is used within the type system definition language to
48 48
 indicate deprecated portions of a GraphQL service’s schema, such as deprecated
49 49
 fields on a type or deprecated enum values.
50
-Description;
50
+description;
51 51
 
52 52
     /**
53 53
      * BooleanScalar constructor.
Please login to merge, or discard this patch.
src/Stdlib/Directive/IncludeDirective.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
         $this->withDescription(self::TYPE_DESCRIPTION)
54 54
             ->withArgument((new ArgumentDefinition($this, $document, 'if', 'Boolean'))
55 55
                 ->withModifiers(ArgumentDefinition::IS_NOT_NULL))
56
-            ->withLocation(...\array_map(function (string $location) use ($document): DirectiveLocation {
56
+            ->withLocation(...\array_map(function(string $location) use ($document): DirectiveLocation {
57 57
                 return new DirectiveLocation($this, $document, $location);
58 58
             }, self::LOCATIONS));
59 59
     }
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 The @include directive may be provided for fields, fragment spreads, and inline
41 41
 fragments, and allows for conditional inclusion during execution as described
42 42
 by the if argument.
43
-Description;
43
+description;
44 44
 
45 45
     /**
46 46
      * BooleanScalar constructor.
Please login to merge, or discard this patch.