We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ -49,7 +49,7 @@ | ||
| 49 | 49 | $expectedData = [ | 
| 50 | 50 | 'user' => [ | 
| 51 | 51 | 'friends' => [ | 
| 52 | - 'totalCount' => 4, | |
| 52 | + 'totalCount' => 4, | |
| 53 | 53 | 'edges' => [ | 
| 54 | 54 | [ | 
| 55 | 55 | 'friendshipTime' => 'Yesterday', | 
| @@ -165,7 +165,7 @@ | ||
| 165 | 165 |          $client->request('POST', '/?batch', [], [], ['CONTENT_TYPE' => 'application/json'], json_encode($data)); | 
| 166 | 166 | $result = $client->getResponse()->getContent(); | 
| 167 | 167 | |
| 168 | - $expected = [ | |
| 168 | + $expected = [ | |
| 169 | 169 | 'friends' => ['data' => $this->expectedData], | 
| 170 | 170 | 'friendsTotalCount' => ['data' => ['user' => ['friends' => ['totalCount' => 4]]]], | 
| 171 | 171 | ]; | 
| @@ -15,7 +15,7 @@ | ||
| 15 | 15 |  { | 
| 16 | 16 | private static $hasMutate = false; | 
| 17 | 17 | |
| 18 | - public static function hasMutate($reset = false) | |
| 18 | + public static function hasMutate($reset = false) | |
| 19 | 19 |      { | 
| 20 | 20 | $hasMutate = self::$hasMutate; | 
| 21 | 21 | |
| @@ -43,7 +43,7 @@ | ||
| 43 | 43 |          $node = $builder->root('name', 'scalar'); | 
| 44 | 44 | $node->isRequired(); | 
| 45 | 45 | $node->validate() | 
| 46 | -            ->ifTrue(function ($name) { | |
| 46 | +            ->ifTrue(function($name) { | |
| 47 | 47 |                  return !preg_match('/^[_a-z][_0-9a-z]*$/i', $name); | 
| 48 | 48 | }) | 
| 49 | 49 |                  ->thenInvalid('Invalid type name "%s". (see https://facebook.github.io/graphql/#Name)') | 
| @@ -36,11 +36,11 @@ | ||
| 36 | 36 | ->end(); | 
| 37 | 37 | |
| 38 | 38 | $node->validate() | 
| 39 | -            ->ifTrue(function ($v) { | |
| 39 | +            ->ifTrue(function($v) { | |
| 40 | 40 | |
| 41 | 41 |                  return array_key_exists('fieldsDefaultAccess', $v) && null !== $v['fieldsDefaultAccess']; | 
| 42 | 42 | }) | 
| 43 | -            ->then(function ($v) { | |
| 43 | +            ->then(function($v) { | |
| 44 | 44 |                  foreach ($v['fields'] as &$field) { | 
| 45 | 45 |                      if (array_key_exists('access', $field) && null !== $field['access']) { | 
| 46 | 46 | continue; | 
| @@ -127,10 +127,10 @@ discard block | ||
| 127 | 127 | $prototype | 
| 128 | 128 | // build args if argsBuilder exists | 
| 129 | 129 | ->beforeNormalization() | 
| 130 | -                ->ifTrue(function ($field) { | |
| 130 | +                ->ifTrue(function($field) { | |
| 131 | 131 | return isset($field['argsBuilder']); | 
| 132 | 132 | }) | 
| 133 | -                ->then(function ($field) { | |
| 133 | +                ->then(function($field) { | |
| 134 | 134 | $argsBuilderName = null; | 
| 135 | 135 | |
| 136 | 136 |                      if (is_string($field['argsBuilder'])) { | 
| @@ -156,7 +156,7 @@ discard block | ||
| 156 | 156 | ->end() | 
| 157 | 157 | // build field if builder exists | 
| 158 | 158 | ->beforeNormalization() | 
| 159 | -                ->always(function ($field) { | |
| 159 | +                ->always(function($field) { | |
| 160 | 160 | $fieldBuilderName = null; | 
| 161 | 161 | |
| 162 | 162 |                      if (isset($field['builder']) && is_string($field['builder'])) { | 
| @@ -40,7 +40,7 @@ | ||
| 40 | 40 | |
| 41 | 41 | public function getPrivatePropertyWithoutGetterUsingCallBack() | 
| 42 | 42 |      { | 
| 43 | -        return function () { | |
| 43 | +        return function() { | |
| 44 | 44 | return $this->privatePropertyWithoutGetter; | 
| 45 | 45 | }; | 
| 46 | 46 | } | 
| @@ -40,7 +40,7 @@ | ||
| 40 | 40 | private function processConfig(array $configs) | 
| 41 | 41 |      { | 
| 42 | 42 | return array_map( | 
| 43 | -            function ($v) { | |
| 43 | +            function($v) { | |
| 44 | 44 |                  if (is_array($v)) { | 
| 45 | 45 | return call_user_func([$this, 'processConfig'], $v); | 
| 46 | 46 |                  } elseif (is_string($v) && 0 === strpos($v, '@=')) { | 
| @@ -36,7 +36,7 @@ discard block | ||
| 36 | 36 |          switch (true) { | 
| 37 | 37 | case is_array($result): | 
| 38 | 38 | $result = array_map( | 
| 39 | -                    function ($object) use ($accessChecker, $resolveArgs) { | |
| 39 | +                    function($object) use ($accessChecker, $resolveArgs) { | |
| 40 | 40 | return $this->checkAccess($accessChecker, $object, $resolveArgs) ? $object : null; | 
| 41 | 41 | }, | 
| 42 | 42 | $result | 
| @@ -44,7 +44,7 @@ discard block | ||
| 44 | 44 | break; | 
| 45 | 45 | case $result instanceof Connection: | 
| 46 | 46 | $result->edges = array_map( | 
| 47 | -                    function (Edge $edge) use ($accessChecker, $resolveArgs) { | |
| 47 | +                    function(Edge $edge) use ($accessChecker, $resolveArgs) { | |
| 48 | 48 | $edge->node = $this->checkAccess($accessChecker, $edge->node, $resolveArgs) ? $edge->node : null; | 
| 49 | 49 | |
| 50 | 50 | return $edge; |