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
Push — master ( 6c832d...398192 )
by Philipp
01:59 queued 29s
created
EventListener/GoogleTagManagerListener.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     {
38 38
         $this->environment = $environment;
39 39
         $this->extension = $extension;
40
-        $this->autoAppend = (bool)$autoAppend;
40
+        $this->autoAppend = (bool) $autoAppend;
41 41
     }
42 42
 
43 43
     /**
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      */
48 48
     public function onKernelResponse(FilterResponseEvent $event)
49 49
     {
50
-        if (!$this->allowRender($event)) {
50
+        if ( ! $this->allowRender($event)) {
51 51
             return false;
52 52
         }
53 53
 
@@ -87,17 +87,17 @@  discard block
 block discarded – undo
87 87
     private function allowRender(FilterResponseEvent $event)
88 88
     {
89 89
         // not configured to append automatically
90
-        if (!$this->autoAppend) {
90
+        if ( ! $this->autoAppend) {
91 91
             return false;
92 92
         }
93 93
 
94 94
         // only append to HTML responses
95
-        if (!in_array($event->getResponse()->headers->get('content-type'), array('text/html', null))) {
95
+        if ( ! in_array($event->getResponse()->headers->get('content-type'), array('text/html', null))) {
96 96
             return false;
97 97
         }
98 98
 
99 99
         // only append to master request
100
-        if (!$event->isMasterRequest()) {
100
+        if ( ! $event->isMasterRequest()) {
101 101
             return false;
102 102
         }
103 103
 
Please login to merge, or discard this patch.