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 ( 23c71a...dcb9a9 )
by Richard
11:04
created
src/Phase/TakeATicket/ControllerProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         $app['twig'] = $app->share(
40 40
             $app->extend(
41 41
                 'twig',
42
-                function (\Twig_Environment $twig, $app) {
42
+                function(\Twig_Environment $twig, $app) {
43 43
                     // add custom globals, filters, tags, ...
44 44
                     $engine = new MichelfMarkdownEngine();
45 45
                     $twig->addExtension(new MarkdownExtension($engine));
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         );
50 50
 
51 51
         $app['ticket.controller'] = $app->share(
52
-            function (Application $app) {
52
+            function(Application $app) {
53 53
                 return new Controller($app);
54 54
             }
55 55
         );
Please login to merge, or discard this patch.
src/Phase/TakeATicket/PlaylistExporter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
 
95 95
         if (is_array($band) && !empty($band[$instrument])) {
96 96
             $performers = array_map(
97
-                function ($performer) {
97
+                function($performer) {
98 98
                     return $performer['performerName'];
99 99
                 },
100 100
                 $band[$instrument]
Please login to merge, or discard this patch.
web/app.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@
 block discarded – undo
5 5
 /**
6 6
  * @var Composer\Autoload\ClassLoader
7 7
  */
8
-$loader = require __DIR__.'/../app/autoload.php';
9
-include_once __DIR__.'/../var/bootstrap.php.cache';
8
+$loader = require __DIR__ . '/../app/autoload.php';
9
+include_once __DIR__ . '/../var/bootstrap.php.cache';
10 10
 
11 11
 // Enable APC for autoloading to improve performance.
12 12
 // You should change the ApcClassLoader first argument to a unique prefix
Please login to merge, or discard this patch.
web/app_dev.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,13 +15,13 @@
 block discarded – undo
15 15
     || !(in_array(@$_SERVER['REMOTE_ADDR'], ['127.0.0.1', 'fe80::1', '::1']) || php_sapi_name() === 'cli-server')
16 16
 ) {
17 17
     header('HTTP/1.0 403 Forbidden');
18
-    exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
18
+    exit('You are not allowed to access this file. Check ' . basename(__FILE__) . ' for more information.');
19 19
 }
20 20
 
21 21
 /**
22 22
  * @var Composer\Autoload\ClassLoader $loader
23 23
  */
24
-$loader = require __DIR__.'/../app/autoload.php';
24
+$loader = require __DIR__ . '/../app/autoload.php';
25 25
 Debug::enable();
26 26
 
27 27
 $kernel = new AppKernel('dev', true);
Please login to merge, or discard this patch.
src/Phase/TakeATicketBundle/Controller/ManagementController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
             $settingsForm->handleRequest($request);
110 110
 
111 111
             /**
112
- * @noinspection PhpUndefinedMethodInspection
112
+             * @noinspection PhpUndefinedMethodInspection
113 113
 */ // isClicked on Submit
114 114
             if ($settingsForm->isSubmitted()
115 115
                 && $settingsForm->isValid()
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
             $resetForm->handleRequest($request);
139 139
 
140 140
             /**
141
- * @noinspection PhpUndefinedMethodInspection
141
+             * @noinspection PhpUndefinedMethodInspection
142 142
 */ // isClicked on Submit
143 143
             if ($resetForm->isSubmitted()
144 144
                 && $resetForm->isValid()
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
             $songListForm->handleRequest($request);
170 170
 
171 171
             /**
172
- * @noinspection PhpUndefinedMethodInspection
172
+             * @noinspection PhpUndefinedMethodInspection
173 173
 */ // isClicked on Submit
174 174
             if ($songListForm->isSubmitted()
175 175
                 && $songListForm->isValid()
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
 
180 180
                 $file = $data['songListFile'];
181 181
                 /**
182
- * @var UploadedFile $file
182
+                 * @var UploadedFile $file
183 183
 */
184 184
 
185 185
                 $loader = new SongLoader();
Please login to merge, or discard this patch.
src/Phase/TakeATicketBundle/Controller/DefaultController.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         //$protocol = $_SERVER['HTTPS'] ? 'https' : 'http';
33 33
         $protocol = 'http'; // $_SERVER['HTTPS'] ? 'https' : 'http';
34 34
         /**
35
- * @noinspection RealpathInSteamContextInspection
35
+         * @noinspection RealpathInSteamContextInspection
36 36
 */
37 37
         $viewParams = [
38 38
             //'serverInfo' => $protocol . '://' . $_SERVER['SERVER_ADDR'] . ':' . $_SERVER['SERVER_PORT'] . '/',
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -36,8 +36,8 @@  discard block
 block discarded – undo
36 36
 */
37 37
         $viewParams = [
38 38
             //'serverInfo' => $protocol . '://' . $_SERVER['SERVER_ADDR'] . ':' . $_SERVER['SERVER_PORT'] . '/',
39
-            'serverInfo' => $protocol.'://127.0.0.1:8000/', //FIXME get server name (from config if not in request?)
40
-            'base_dir' => realpath($this->getParameter('kernel.root_dir').'/..'),
39
+            'serverInfo' => $protocol . '://127.0.0.1:8000/', //FIXME get server name (from config if not in request?)
40
+            'base_dir' => realpath($this->getParameter('kernel.root_dir') . '/..'),
41 41
         ];
42 42
         $viewParams['displayOptions'] = $this->getDisplayOptions();
43 43
 
@@ -46,14 +46,14 @@  discard block
 block discarded – undo
46 46
 
47 47
     public function announceAction($section)
48 48
     {
49
-        $rootDir = realpath(__DIR__.'/../../../../');
50
-        $announceDir = $rootDir.'/docs/announcements';
49
+        $rootDir = realpath(__DIR__ . '/../../../../');
50
+        $announceDir = $rootDir . '/docs/announcements';
51 51
 
52 52
         if (!preg_match('/^\w+$/', $section)) {
53 53
             throw new NotFoundHttpException(); // don't give access to anything but plain names
54 54
         }
55 55
 
56
-        $candidateFile = $announceDir.'/'.$section.'.md';
56
+        $candidateFile = $announceDir . '/' . $section . '.md';
57 57
 
58 58
         if (!file_exists($candidateFile)) {
59 59
             throw new NotFoundHttpException();
Please login to merge, or discard this patch.
src/Phase/TakeATicket/SongLoader.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -81,16 +81,16 @@
 block discarded – undo
81 81
         foreach ($iterator as $row) {
82 82
             $raw = [];
83 83
             /**
84
- * @var \PHPExcel_Worksheet_Row $row
84
+             * @var \PHPExcel_Worksheet_Row $row
85 85
 */
86 86
             //            $rowIdx = $row->getRowIndex();
87 87
             $cells = $row->getCellIterator();
88 88
             /**
89
- * @var Iterator $cells
89
+             * @var Iterator $cells
90 90
 */
91 91
             foreach ($cells as $cell) {
92 92
                 /**
93
- * @var \PHPExcel_Cell $cell
93
+                 * @var \PHPExcel_Cell $cell
94 94
 */
95 95
                 $column = $cell->getColumn();
96 96
                 $content = $cell->getFormattedValue();
Please login to merge, or discard this patch.
src/Phase/TakeATicket/DataSource/MySql.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      */
16 16
     protected function concatenateEscapedFields($fields)
17 17
     {
18
-        return 'CONCAT('.implode(', ', $fields).')';
18
+        return 'CONCAT(' . implode(', ', $fields) . ')';
19 19
     }
20 20
 
21 21
     /**
Please login to merge, or discard this patch.
src/Phase/TakeATicket/Controller.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     public function upcomingAction()
58 58
     {
59 59
         $viewParams = $this->defaultViewParams();
60
-        $viewParams['freeze'] = (bool) $this->dataSource->getSetting('freeze');
60
+        $viewParams['freeze'] = (bool)$this->dataSource->getSetting('freeze');
61 61
         $viewParams['freezeMessage'] = $this->dataSource->getSetting('freezeMessage');
62 62
 
63 63
         return $this->app['twig']->render('upcoming.html.twig', $viewParams);
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
             throw new \InvalidArgumentException('Order must be array!');
188 188
         }
189 189
 
190
-        $this->app['logger']->debug('New order: '.print_r($idOrder, true));
190
+        $this->app['logger']->debug('New order: ' . print_r($idOrder, true));
191 191
 
192 192
         $res = true;
193 193
         foreach ($idOrder as $offset => $id) {
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
         if ($res) {
197 197
             $jsonResponse = new JsonResponse(['ok' => 'ok']);
198 198
         } else {
199
-            $this->app['logger']->warn('Failed to store track order: '.print_r($idOrder, true));
199
+            $this->app['logger']->warn('Failed to store track order: ' . print_r($idOrder, true));
200 200
             $jsonResponse = new JsonResponse(['ok' => 'fail', 'message' => 'Failed to store new sort order'], 500);
201 201
         }
202 202
 
@@ -281,11 +281,11 @@  discard block
 block discarded – undo
281 281
     {
282 282
         $this->assertRole(self::MANAGER_REQUIRED_ROLE);
283 283
 
284
-        $rootDir = realpath(__DIR__.'/../../../');
284
+        $rootDir = realpath(__DIR__ . '/../../../');
285 285
         $map = [
286
-            'readme' => $rootDir.'/README.md',
287
-            'CONTRIBUTING' => $rootDir.'/docs/CONTRIBUTING.md',
288
-            'TODO' => $rootDir.'/docs/TODO.md',
286
+            'readme' => $rootDir . '/README.md',
287
+            'CONTRIBUTING' => $rootDir . '/docs/CONTRIBUTING.md',
288
+            'TODO' => $rootDir . '/docs/TODO.md',
289 289
         ];
290 290
 
291 291
         if (!isset($map[$section])) {
@@ -310,14 +310,14 @@  discard block
 block discarded – undo
310 310
     {
311 311
         //$this->assertRole(self::MANAGER_REQUIRED_ROLE);
312 312
 
313
-        $rootDir = realpath(__DIR__.'/../../../');
314
-        $announceDir = $rootDir.'/docs/announcements';
313
+        $rootDir = realpath(__DIR__ . '/../../../');
314
+        $announceDir = $rootDir . '/docs/announcements';
315 315
 
316 316
         if (!preg_match('/^\w+$/', $section)) {
317 317
             throw new NotFoundHttpException(); // don't give access to anything but plain names
318 318
         }
319 319
 
320
-        $candidateFile = $announceDir.'/'.$section.'.md';
320
+        $candidateFile = $announceDir . '/' . $section . '.md';
321 321
 
322 322
         if (!file_exists($candidateFile)) {
323 323
             throw new NotFoundHttpException();
@@ -381,8 +381,8 @@  discard block
 block discarded – undo
381 381
     {
382 382
         /* @noinspection PhpUnusedParameterInspection */
383 383
         $this->app->error(
384
-            function (\Exception $e, $code) {
385
-                $message = 'Threw '.get_class($e).': '.$e->getMessage();
384
+            function(\Exception $e, $code) {
385
+                $message = 'Threw ' . get_class($e) . ': ' . $e->getMessage();
386 386
 
387 387
                 return new JsonResponse(['error' => $message]);
388 388
             }
@@ -396,7 +396,7 @@  discard block
 block discarded – undo
396 396
     {
397 397
         $protocol = $_SERVER['HTTPS'] ? 'https' : 'http';
398 398
         $viewParams = [
399
-            'serverInfo' => $protocol.'://'.$_SERVER['SERVER_ADDR'].':'.$_SERVER['SERVER_PORT'].'/',
399
+            'serverInfo' => $protocol . '://' . $_SERVER['SERVER_ADDR'] . ':' . $_SERVER['SERVER_PORT'] . '/',
400 400
         ];
401 401
         $viewParams['displayOptions'] = $this->getDisplayOptions();
402 402
 
Please login to merge, or discard this patch.