GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Pull Request — master (#5)
by Timothy
06:55
created
src/Context/WebApiContext.php 3 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,8 +14,8 @@
 block discarded – undo
14 14
 use Behat\Gherkin\Node\TableNode;
15 15
 use GuzzleHttp\ClientInterface;
16 16
 use GuzzleHttp\Exception\RequestException;
17
-use PHPUnit_Framework_Assert as Assertions;
18 17
 use GuzzleHttp\Psr7\Request;
18
+use PHPUnit_Framework_Assert as Assertions;
19 19
 use Psr\Http\Message\ResponseInterface;
20 20
 
21 21
 /**
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -241,7 +241,7 @@
 block discarded – undo
241 241
 
242 242
         if (null === $expected) {
243 243
             throw new \RuntimeException(
244
-              "Can not convert expected to json:\n".$this->replacePlaceHolder($jsonString->getRaw())
244
+                "Can not convert expected to json:\n".$this->replacePlaceHolder($jsonString->getRaw())
245 245
             );
246 246
         }
247 247
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
         parse_str(implode('&', explode("\n", $body)), $fields);
165 165
 
166 166
         foreach ($fields as $key => $value) {
167
-            if(is_array($value)) {
167
+            if (is_array($value)) {
168 168
                 foreach ($value as $formKey => $formValue) {
169 169
                     $requestFields[] = sprintf('%s%s=%s', urlencode($key), urlencode('[' . $formKey . ']'), urlencode($formValue));
170 170
                 }
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
 
242 242
         if (null === $expected) {
243 243
             throw new \RuntimeException(
244
-              "Can not convert expected to json:\n".$this->replacePlaceHolder($jsonString->getRaw())
244
+              "Can not convert expected to json:\n" . $this->replacePlaceHolder($jsonString->getRaw())
245 245
             );
246 246
         }
247 247
 
Please login to merge, or discard this patch.
src/ServiceContainer/WebApiExtension.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,8 +75,8 @@
 block discarded – undo
75 75
     private function loadContextInitializer(ContainerBuilder $container, $config)
76 76
     {
77 77
         $definition = new Definition('Behat\WebApiExtension\Context\Initializer\ApiClientAwareInitializer', array(
78
-          new Reference(self::CLIENT_ID),
79
-          $config
78
+            new Reference(self::CLIENT_ID),
79
+            $config
80 80
         ));
81 81
         $definition->addTag(ContextExtension::INITIALIZER_TAG);
82 82
         $container->setDefinition('web_api.context_initializer', $definition);
Please login to merge, or discard this patch.