Passed
Pull Request — master (#9)
by Rafael
03:29
created
src/Behat/GraphQLApiExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     public function __construct(ServiceProcessor $processor = null)
40 40
     {
41
-        $this->processor = $processor ? : new ServiceProcessor();
41
+        $this->processor = $processor ?: new ServiceProcessor();
42 42
     }
43 43
 
44 44
     public function getConfigKey()
Please login to merge, or discard this patch.
src/Behat/Transformer/TransformPystringToYamlstring.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         //parse
64 64
         array_walk_recursive(
65 65
             $parsedValue,
66
-            function (&$value) use ($definitionCall, $argumentIndex) {
66
+            function(&$value) use ($definitionCall, $argumentIndex) {
67 67
                 foreach ($this->transformers as $transformer) {
68 68
                     if ($transformer->supportsDefinitionAndArgument($definitionCall, $argumentIndex, $value)) {
69 69
                         $value = $transformer->transformArgument($definitionCall, $argumentIndex, $value);
Please login to merge, or discard this patch.
src/Behat/Transformer/ExpressionLanguage/JMESPathSearchProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,15 +30,15 @@
 block discarded – undo
30 30
         if (preg_match('/search\(/', $expression)) {
31 31
             $el->register(
32 32
                 'search',
33
-                function ($expression, $data) {
33
+                function($expression, $data) {
34 34
                     return sprintf('$search(%s, %s)', $expression, $data);
35 35
                 },
36
-                function (array $variables, $expression, $data) {
36
+                function(array $variables, $expression, $data) {
37 37
                     return $variables['search']($expression, $data);
38 38
                 }
39 39
             );
40 40
 
41
-            $values['search'] = function ($expression, $data) {
41
+            $values['search'] = function($expression, $data) {
42 42
                 return search($expression, $data);
43 43
             };
44 44
         }
Please login to merge, or discard this patch.