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 ( f477ee...c75598 )
by Philipp
26s
created
DependencyInjection/GoogleTagManagerExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         $configuration = new Configuration();
31 31
         $config = $this->processConfiguration($configuration, $configs);
32 32
 
33
-        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
33
+        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
34 34
         $loader->load('services.yml');
35 35
 
36 36
         foreach ($config as $name => $node) {
Please login to merge, or discard this patch.
Tests/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
  * file that was distributed with this source code.
9 9
  */
10 10
 
11
-if (!is_file($autoloadFile = __DIR__.'/../vendor/autoload.php')) {
11
+if ( ! is_file($autoloadFile = __DIR__ . '/../vendor/autoload.php')) {
12 12
     throw new \LogicException('Run "composer install" to create autoloader.');
13 13
 }
14 14
 
Please login to merge, or discard this patch.
Tests/DependencyInjection/YamlGoogleTagManagerExtensionTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      */
30 30
     protected function loadConfiguration(ContainerBuilder $container, $resource)
31 31
     {
32
-        $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/Fixtures/Yaml/'));
32
+        $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/Fixtures/Yaml/'));
33 33
         $loader->load($resource . self::FILE_TYPE);
34 34
     }
35 35
 }
36 36
\ No newline at end of file
Please login to merge, or discard this patch.
Twig/GoogleTagManagerExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      */
143 143
     private function getRenderedTemplate(Environment $twig, $area)
144 144
     {
145
-        if (!$this->helper->isEnabled()) {
145
+        if ( ! $this->helper->isEnabled()) {
146 146
             return '';
147 147
         }
148 148
 
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
                 'id' => $this->helper->getId(),
154 154
                 'data' => $this->helper->hasData() ? $this->helper->getData() : null,
155 155
                 'push' => $this->helper->getPush() ? $this->helper->getPush() : null,
156
-                'url_suffix' => $additionalParameters ? '&'.trim($additionalParameters,'&') : ''
156
+                'url_suffix' => $additionalParameters ? '&' . trim($additionalParameters, '&') : ''
157 157
             )
158 158
         );
159 159
     }
Please login to merge, or discard this patch.
EventListener/GoogleTagManagerListener.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      */
47 47
     public function onKernelResponse(mixed $event): bool
48 48
     {
49
-        if (!$this->allowRender($event)) {
49
+        if ( ! $this->allowRender($event)) {
50 50
             return false;
51 51
         }
52 52
 
@@ -86,22 +86,22 @@  discard block
 block discarded – undo
86 86
     private function allowRender(mixed $event): bool
87 87
     {
88 88
         // not configured to append automatically
89
-        if (!$this->autoAppend) {
89
+        if ( ! $this->autoAppend) {
90 90
             return false;
91 91
         }
92 92
 
93 93
         // only append to HTML responses
94
-        if (!in_array($event->getResponse()->headers->get('content-type'), array('text/html', null))) {
94
+        if ( ! in_array($event->getResponse()->headers->get('content-type'), array('text/html', null))) {
95 95
             return false;
96 96
         }
97 97
 
98 98
         // only append to main request (symfony >= 5)
99
-        if ($event instanceof \Symfony\Component\HttpKernel\Event\ResponseEvent && !$event->isMainRequest()) {
99
+        if ($event instanceof \Symfony\Component\HttpKernel\Event\ResponseEvent && ! $event->isMainRequest()) {
100 100
             return false;
101 101
         }
102 102
 
103 103
         // only append to master request (symfony < 5)
104
-        if ($event instanceof \Symfony\Component\HttpKernel\Event\FilterResponseEvent && !$event->isMasterRequest()) {
104
+        if ($event instanceof \Symfony\Component\HttpKernel\Event\FilterResponseEvent && ! $event->isMasterRequest()) {
105 105
             return false;
106 106
         }
107 107
 
Please login to merge, or discard this patch.