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.
Passed
Push — master ( 4d85e3...ce2d30 )
by Gabor
02:06
created
src/ShowUntranslatedCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     {
15 15
         $lang = $this->argument('lang');
16 16
         
17
-        if(! file_exists('resources/lang/'. $lang . '.json')) {
17
+        if (!file_exists('resources/lang/' . $lang . '.json')) {
18 18
             $this->error($lang . '.json doesn\'t exist');
19 19
             return;
20 20
         }
@@ -22,9 +22,9 @@  discard block
 block discarded – undo
22 22
         $jsonFile = file_get_contents('resources/lang/' . $lang . '.json');
23 23
 
24 24
         $count = collect(json_decode($jsonFile, true))
25
-                    ->filter(function($value, $key){
25
+                    ->filter(function($value, $key) {
26 26
                         return $key === $value;
27
-                    })->each(function($value){
27
+                    })->each(function($value) {
28 28
                         $this->line($value);
29 29
                     })->count();
30 30
 
Please login to merge, or discard this patch.
src/GenerateCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
         $translatables = (new SearchService())->getTranslatableStrings(config('translation.generator.patterns'));
25 25
 
26 26
         $lang = $this->argument('lang');
27
-        $fileName = 'resources/lang/'.$lang.'.json';
27
+        $fileName = 'resources/lang/' . $lang . '.json';
28 28
         $jsonFile = file_get_contents($fileName);
29 29
         $translations = json_decode($jsonFile, true);
30 30
 
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
             }
36 36
         }
37 37
 
38
-        $content = json_encode($translations, JSON_PRETTY_PRINT + JSON_UNESCAPED_UNICODE + JSON_UNESCAPED_SLASHES);
38
+        $content = json_encode($translations, JSON_PRETTY_PRINT+JSON_UNESCAPED_UNICODE+JSON_UNESCAPED_SLASHES);
39 39
         file_put_contents($fileName, $content);
40 40
 
41 41
         $isUpload = $this->option('upload');
Please login to merge, or discard this patch.
src/LokaliseClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
 
91 91
             $this->output->writeln(sprintf('[LOKALISE] Downloading translations from bundle url: %s', $bundleUrl));
92 92
 
93
-            $path = storage_path('app').'locale.zip';
93
+            $path = storage_path('app') . 'locale.zip';
94 94
             $file = fopen($path, 'wb');
95 95
             $client = new Client();
96 96
             $client->get($bundleUrl, ['save_to' => $file]);
Please login to merge, or discard this patch.
src/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     {
33 33
         $this->publishes(
34 34
             [
35
-                __DIR__.'/../config/translation.php' => config_path('translation.php'),
35
+                __DIR__ . '/../config/translation.php' => config_path('translation.php'),
36 36
             ]
37 37
         );
38 38
     }
Please login to merge, or discard this patch.