Completed
Pull Request — master (#76)
by
unknown
10:28 queued 06:56
created
app/Domains/Analyser/UrlFinder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
         // TODO Add support for non-latin domains
93 93
         // Current RFC 1738
94 94
         $pattern = static::getPattern();
95
-        preg_match_all($pattern, $text . ' ', $matches, PREG_PATTERN_ORDER);
95
+        preg_match_all($pattern, $text.' ', $matches, PREG_PATTERN_ORDER);
96 96
 
97 97
         return $matches[1];
98 98
     }
Please login to merge, or discard this patch.
app/Domains/Bot/Middlewares/InlineDataMiddleware.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,11 +17,11 @@
 block discarded – undo
17 17
     {
18 18
         $isImage = preg_match(
19 19
             '/[^`]http(?:s)?:\/\/.*?\.(?:jpg|png|jpeg|svg|bmp)/iu'
20
-        , ' ' . $message->text);
20
+        , ' '.$message->text);
21 21
 
22 22
         $isVideo = preg_match(
23 23
             '/[^`]http(?:s)?:\/\/(?:www\.)?(?:youtube\.com|youtu\.be).*?/iu'
24
-        , ' ' . $message->text);
24
+        , ' '.$message->text);
25 25
 
26 26
         if (($isImage || $isVideo) && $message->user->login !== \Auth::user()->login) {
27 27
             $answer = \Lang::get('gitter.inline', [
Please login to merge, or discard this patch.
app/Domains/Bot/Middlewares/PersonalAnswersMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
             if ($isHello) {
54 54
                 $id = array_rand(\Lang::get('personal.hello'));
55 55
 
56
-                $message->italic(\Lang::get('personal.hello.' . $id, [
56
+                $message->italic(\Lang::get('personal.hello.'.$id, [
57 57
                     'user' => $message->user->login
58 58
                 ]));
59 59
             }
Please login to merge, or discard this patch.
app/Domains/Bot/Middlewares/SqlBuilderMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
                 return null;
27 27
 
28 28
             } catch (\Exception $e) {
29
-                $message->pre('SQL Builder error: ' . $e->getMessage());
29
+                $message->pre('SQL Builder error: '.$e->getMessage());
30 30
             }
31 31
         }
32 32
 
Please login to merge, or discard this patch.
app/Domains/Room.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     {
113 113
         $client = $this->client
114 114
             ->stream('messages', ['roomId' => $this->id])
115
-            ->on(Stream::EVENT_MESSAGE, function ($stream, $data) {
115
+            ->on(Stream::EVENT_MESSAGE, function($stream, $data) {
116 116
                 $this->onMessage(Message::fromGitterObject($data));
117 117
             })
118 118
             ->on(Stream::EVENT_END, [$this, 'onClose'])
@@ -127,9 +127,9 @@  discard block
 block discarded – undo
127 127
     protected function logException(\Exception $e)
128 128
     {
129 129
         \Log::error(
130
-            $e->getMessage() . ' in ' . $e->getFile() . ':' . $e->getLine() . "\n" .
131
-            $e->getTraceAsString() . "\n" .
132
-            str_repeat('=', 80) . "\n"
130
+            $e->getMessage().' in '.$e->getFile().':'.$e->getLine()."\n".
131
+            $e->getTraceAsString()."\n".
132
+            str_repeat('=', 80)."\n"
133 133
         );
134 134
     }
135 135
 
Please login to merge, or discard this patch.
app/Core/Support/helpers.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,11 @@
 block discarded – undo
3 3
 if (!function_exists('asset_ts')) {
4 4
     function asset_ts($path, $secure = false)
5 5
     {
6
-        $url = '/' . $path;
6
+        $url = '/'.$path;
7 7
 
8 8
         if (is_file(public_path($path))) {
9 9
             $time = filemtime(public_path($path));
10
-            $url .= '?' . $time;
10
+            $url .= '?'.$time;
11 11
         }
12 12
 
13 13
         return $url;
Please login to merge, or discard this patch.