Completed
Push — master ( 0946e3...f22088 )
by Andreas
23s
created
src/Service/ConfigService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 
14 14
 class ConfigService
15 15
 {
16
-    private $configFile = __DIR__ . '/../../config/callingallpapers.ini';
16
+    private $configFile = __DIR__.'/../../config/callingallpapers.ini';
17 17
 
18 18
     public function __construct()
19 19
     {
@@ -21,6 +21,6 @@  discard block
 block discarded – undo
21 21
 
22 22
     public function getConfiguration(): array
23 23
     {
24
-        return parse_ini_file($this->configFile)??[];
24
+        return parse_ini_file($this->configFile) ?? [];
25 25
     }
26 26
 }
Please login to merge, or discard this patch.
src/Notification/MastodonNotifier.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     {
45 45
         $name = $this->shortenName($cfp->conferenceName);
46 46
         $uri  = $this->shortenUri($cfp->uri);
47
-        $tags = ' #' . implode(' #', $cfp->tags);
47
+        $tags = ' #'.implode(' #', $cfp->tags);
48 48
 
49 49
         $notificationString = sprintf(
50 50
             <<<'NOTIFICATION'
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
         if (strlen($name) < 70) {
69 69
             return $name;
70 70
         }
71
-        return substr($name, 0, 69) . '…';
71
+        return substr($name, 0, 69).'…';
72 72
     }
73 73
 
74 74
     protected function shortenUri($uri)
Please login to merge, or discard this patch.