Completed
Pull Request — master (#76)
by
unknown
10:28 queued 06:56
created
app/Domains/Bot/Achievements/Karma100Achieve.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      */
40 40
     public function handle()
41 41
     {
42
-        Karma::created(function (Karma $karma) {
42
+        Karma::created(function(Karma $karma) {
43 43
 
44 44
             $count = $karma->target->karma->count();
45 45
 
Please login to merge, or discard this patch.
app/Domains/Bot/Achievements/Thanks10Karma0Achieve.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      */
40 40
     public function handle()
41 41
     {
42
-        Karma::created(function (Karma $karma) {
42
+        Karma::created(function(Karma $karma) {
43 43
 
44 44
             $count = $karma->target->karma->count();
45 45
 
Please login to merge, or discard this patch.
app/Domains/Bot/Achievements/Karma500Achieve.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      */
40 40
     public function handle()
41 41
     {
42
-        Karma::created(function (Karma $karma) {
42
+        Karma::created(function(Karma $karma) {
43 43
 
44 44
             $count = $karma->target->karma->count();
45 45
 
Please login to merge, or discard this patch.
app/Domains/Bot/Achievements/Thanks20Achieve.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      */
40 40
     public function handle()
41 41
     {
42
-        Karma::created(function (Karma $karma) {
42
+        Karma::created(function(Karma $karma) {
43 43
 
44 44
             $count = $karma->target->karma->count();
45 45
 
Please login to merge, or discard this patch.
app/Domains/Bot/Achievements/Karma50Achieve.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      */
40 40
     public function handle()
41 41
     {
42
-        Karma::created(function (Karma $karma) {
42
+        Karma::created(function(Karma $karma) {
43 43
 
44 44
             $count = $karma->target->karma->count();
45 45
 
Please login to merge, or discard this patch.
app/Domains/Bot/Achievements/Thanks50Achieve.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      */
40 40
     public function handle()
41 41
     {
42
-        Karma::created(function (Karma $karma) {
42
+        Karma::created(function(Karma $karma) {
43 43
 
44 44
             $count = $karma->target->karma->count();
45 45
 
Please login to merge, or discard this patch.
app/Domains/Bot/Achievements/Thanks100Achieve.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      */
40 40
     public function handle()
41 41
     {
42
-        Karma::created(function (Karma $karma) {
42
+        Karma::created(function(Karma $karma) {
43 43
 
44 44
             $count = $karma->target->karma->count();
45 45
 
Please login to merge, or discard this patch.
app/Domains/Bot/AchieveSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
      */
78 78
     public function handle()
79 79
     {
80
-        Achieve::created(function (Achieve $achieve) {
80
+        Achieve::created(function(Achieve $achieve) {
81 81
             $room = \App::make(Room::class);
82 82
 
83 83
             $room->write(
Please login to merge, or discard this patch.
app/Interfaces/Console/Commands/StartGitterPool.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
                 $this->stop();
78 78
                 break;
79 79
             default:
80
-                throw new \InvalidArgumentException('Action ' . $action . ' not found');
80
+                throw new \InvalidArgumentException('Action '.$action.' not found');
81 81
         }
82 82
     }
83 83
 
@@ -87,9 +87,9 @@  discard block
 block discarded – undo
87 87
     protected function start()
88 88
     {
89 89
         foreach ($this->config->get('gitter.rooms') as $key => $id) {
90
-            shell_exec('nohup php artisan gitter:listen ' . $key . ' > /dev/null 2>&1 &');
90
+            shell_exec('nohup php artisan gitter:listen '.$key.' > /dev/null 2>&1 &');
91 91
 
92
-            $this->line('Starting ' . $key . ' => ' . $id . ' listener.');
92
+            $this->line('Starting '.$key.' => '.$id.' listener.');
93 93
         }
94 94
     }
95 95
 
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 
106 106
         foreach ($finder as $file) {
107 107
             $pid = file_get_contents($file->getRealpath());
108
-            shell_exec('kill ' . $pid);
108
+            shell_exec('kill '.$pid);
109 109
             unlink($file->getRealpath());
110 110
         }
111 111
     }
Please login to merge, or discard this patch.