Completed
Push — master ( 81a76b...c11830 )
by Guillaume
02:09
created
commands/AlfredTime.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -258,6 +258,9 @@
 block discarded – undo
258 258
         return $message;
259 259
     }
260 260
 
261
+    /**
262
+     * @param string $feature
263
+     */
261 264
     public function implementedServicesForFeature($feature = null)
262 265
     {
263 266
         $services = [];
Please login to merge, or discard this patch.
commands/vendor/composer/ClassLoader.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -367,6 +367,10 @@
 block discarded – undo
367 367
         return $file;
368 368
     }
369 369
 
370
+    /**
371
+     * @param string $class
372
+     * @param string $ext
373
+     */
370 374
     private function findFileWithExtension($class, $ext)
371 375
     {
372 376
         // PSR-4 lookup
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -342,7 +342,7 @@  discard block
 block discarded – undo
342 342
             return false;
343 343
         }
344 344
         if (null !== $this->apcuPrefix) {
345
-            $file = apcu_fetch($this->apcuPrefix.$class, $hit);
345
+            $file = apcu_fetch($this->apcuPrefix . $class, $hit);
346 346
             if ($hit) {
347 347
                 return $file;
348 348
             }
@@ -356,7 +356,7 @@  discard block
 block discarded – undo
356 356
         }
357 357
 
358 358
         if (null !== $this->apcuPrefix) {
359
-            apcu_add($this->apcuPrefix.$class, $file);
359
+            apcu_add($this->apcuPrefix . $class, $file);
360 360
         }
361 361
 
362 362
         if (false === $file) {
Please login to merge, or discard this patch.
commands/menu.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
             ->subtitle($subtitle)
108 108
             ->type('default')
109 109
             ->mod('cmd', $subtitle . ' and Harvest with default project and tags', 'start_default ' . $query)
110
-            ->mod('alt', 'Continue timer for Toggl and Harvest ("'.$alfredTime->getTimerDescription() .'") with default project and tags', 'start_default ' . $alfredTime->getTimerDescription())
110
+            ->mod('alt', 'Continue timer for Toggl and Harvest ("' . $alfredTime->getTimerDescription() . '") with default project and tags', 'start_default ' . $alfredTime->getTimerDescription())
111 111
             ->valid(true);
112 112
     } else {
113 113
         $services = $alfredTime->activatedServices();
Please login to merge, or discard this patch.
commands/vendor/joetannenbaum/alfred-workflow/src/Workflow.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      */
31 31
     public function sortResults($direction = 'asc', $property = 'title')
32 32
     {
33
-        usort($this->results, function ($a, $b) use ($direction, $property) {
33
+        usort($this->results, function($a, $b) use ($direction, $property) {
34 34
             if ($direction === 'asc') {
35 35
                 return $a->$property > $b->$property;
36 36
             }
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 
58 58
         $query = (string) $query;
59 59
 
60
-        $this->results = array_filter($this->results, function ($result) use ($query, $property) {
60
+        $this->results = array_filter($this->results, function($result) use ($query, $property) {
61 61
                 return strstr($result->$property, $query) !== false;
62 62
             });
63 63
 
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     public function output()
73 73
     {
74 74
         $output = [
75
-            'items' => array_map(function ($result) {
75
+            'items' => array_map(function($result) {
76 76
                             return $result->toArray();
77 77
                         }, array_values($this->results)),
78 78
         ];
Please login to merge, or discard this patch.
commands/vendor/composer/autoload_static.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -6,23 +6,23 @@
 block discarded – undo
6 6
 
7 7
 class ComposerStaticInita05347a33fae9bdb6b099d5455d6f527
8 8
 {
9
-    public static $prefixLengthsPsr4 = array (
9
+    public static $prefixLengthsPsr4 = array(
10 10
         'A' => 
11
-        array (
11
+        array(
12 12
             'Alfred\\Workflows\\' => 17,
13 13
         ),
14 14
     );
15 15
 
16
-    public static $prefixDirsPsr4 = array (
16
+    public static $prefixDirsPsr4 = array(
17 17
         'Alfred\\Workflows\\' => 
18
-        array (
18
+        array(
19 19
             0 => __DIR__ . '/..' . '/joetannenbaum/alfred-workflow/src',
20 20
         ),
21 21
     );
22 22
 
23 23
     public static function getInitializer(ClassLoader $loader)
24 24
     {
25
-        return \Closure::bind(function () use ($loader) {
25
+        return \Closure::bind(function() use ($loader) {
26 26
             $loader->prefixLengthsPsr4 = ComposerStaticInita05347a33fae9bdb6b099d5455d6f527::$prefixLengthsPsr4;
27 27
             $loader->prefixDirsPsr4 = ComposerStaticInita05347a33fae9bdb6b099d5455d6f527::$prefixDirsPsr4;
28 28
 
Please login to merge, or discard this patch.
commands/timer_list.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,8 @@
 block discarded – undo
33 33
         'description' => $timer['description']
34 34
     ];
35 35
 
36
-    $subtitle = (empty($projectName) === true ? 'No project' : $projectName) .', '
37
-        .(empty($tags) === true ? 'No tag' : '[' .implode(', ', $tags) .']') .', '
36
+    $subtitle = (empty($projectName) === true ? 'No project' : $projectName) . ', '
37
+        .(empty($tags) === true ? 'No tag' : '[' . implode(', ', $tags) . ']') . ', '
38 38
         .($duration > 0 ? gmdate('H:i:s', $duration) : '--:--:--');
39 39
 
40 40
     $workflow->result()
Please login to merge, or discard this patch.