Completed
Push — master ( 74c577...c1ce98 )
by Kirill
06:10
created
app/Domains/Analyser/UrlFinder.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 declare(strict_types = 1);
3 3
 /**
4
- * This file is part of GitterBot package.
5
- *
6
- * @author Serafim <[email protected]>
7
- * @date 28.03.2016 23:19
8
- *
9
- * For the full copyright and license information, please view the LICENSE
10
- * file that was distributed with this source code.
11
- */
4
+     * This file is part of GitterBot package.
5
+     *
6
+     * @author Serafim <[email protected]>
7
+     * @date 28.03.2016 23:19
8
+     *
9
+     * For the full copyright and license information, please view the LICENSE
10
+     * file that was distributed with this source code.
11
+     */
12 12
 
13 13
 
14 14
 namespace Domains\Analyser;
Please login to merge, or discard this patch.
app/Domains/Analyser/MessageRelations.php 2 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 declare(strict_types = 1);
3 3
 /**
4
- * This file is part of GitterBot package.
5
- *
6
- * @author Serafim <[email protected]>
7
- * @date 28.03.2016 23:55
8
- *
9
- * For the full copyright and license information, please view the LICENSE
10
- * file that was distributed with this source code.
11
- */
4
+     * This file is part of GitterBot package.
5
+     *
6
+     * @author Serafim <[email protected]>
7
+     * @date 28.03.2016 23:55
8
+     *
9
+     * For the full copyright and license information, please view the LICENSE
10
+     * file that was distributed with this source code.
11
+     */
12 12
 namespace Domains\Analyser;
13 13
 
14 14
 use Core\Lazy\Fetch;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
 
89 89
         /** @var User $mention */
90 90
         foreach ($message->mentions as $mention) {
91
-            $question = $this->buffer->last(function ($i, Message $question) use ($mention) {
91
+            $question = $this->buffer->last(function($i, Message $question) use ($mention) {
92 92
                 if ($question->user) {
93 93
                     return $question->user->getId() === $mention->getId();
94 94
                 }
Please login to merge, or discard this patch.
app/Core/Providers/GitterClientServiceProvider.php 2 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of GitterBot package.
4
- *
5
- * @author Serafim <[email protected]>
6
- * @date 09.04.2016 3:09
7
- *
8
- * For the full copyright and license information, please view the LICENSE
9
- * file that was distributed with this source code.
10
- */
3
+     * This file is part of GitterBot package.
4
+     *
5
+     * @author Serafim <[email protected]>
6
+     * @date 09.04.2016 3:09
7
+     *
8
+     * For the full copyright and license information, please view the LICENSE
9
+     * file that was distributed with this source code.
10
+     */
11 11
 namespace Core\Providers;
12 12
 
13 13
 use Gitter\Client;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,12 +30,12 @@
 block discarded – undo
30 30
         $config = $this->app->make(Repository::class);
31 31
 
32 32
 
33
-        $this->app->singleton(Client::class, function (Container $app) use ($config) {
33
+        $this->app->singleton(Client::class, function(Container $app) use ($config) {
34 34
             return new Client($config->get('gitter.token'));
35 35
         });
36 36
 
37 37
 
38
-        $this->app->singleton('bot', function (Container $app) {
38
+        $this->app->singleton('bot', function(Container $app) {
39 39
             /** @var Client $client */
40 40
             $client = $app->make(Client::class);
41 41
             return $client->http->getCurrentUser()->wait();
Please login to merge, or discard this patch.
app/Core/Providers/OrmServiceProvider.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of GitterBot package.
4
- *
5
- * @author Serafim <[email protected]>
6
- * @date 09.04.2016 3:51
7
- *
8
- * For the full copyright and license information, please view the LICENSE
9
- * file that was distributed with this source code.
10
- */
3
+     * This file is part of GitterBot package.
4
+     *
5
+     * @author Serafim <[email protected]>
6
+     * @date 09.04.2016 3:51
7
+     *
8
+     * For the full copyright and license information, please view the LICENSE
9
+     * file that was distributed with this source code.
10
+     */
11 11
 namespace Core\Providers;
12 12
 
13 13
 use Core\Observers\IdObserver;
Please login to merge, or discard this patch.
app/Core/Lazy/Fetch.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 declare(strict_types = 1);
3 3
 /**
4
- * This file is part of Ai package.
5
- *
6
- * @author Serafim <[email protected]>
7
- * @date 28.03.2016 14:02
8
- *
9
- * For the full copyright and license information, please view the LICENSE
10
- * file that was distributed with this source code.
11
- */
4
+     * This file is part of Ai package.
5
+     *
6
+     * @author Serafim <[email protected]>
7
+     * @date 28.03.2016 14:02
8
+     *
9
+     * For the full copyright and license information, please view the LICENSE
10
+     * file that was distributed with this source code.
11
+     */
12 12
 
13 13
 
14 14
 namespace Core\Lazy;
Please login to merge, or discard this patch.
app/Core/Observers/IdObserver.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 declare(strict_types = 1);
3 3
 /**
4
- * This file is part of GitterBot package.
5
- *
6
- * @author Serafim <[email protected]>
7
- * @date 28.03.2016 15:52
8
- *
9
- * For the full copyright and license information, please view the LICENSE
10
- * file that was distributed with this source code.
11
- */
4
+     * This file is part of GitterBot package.
5
+     *
6
+     * @author Serafim <[email protected]>
7
+     * @date 28.03.2016 15:52
8
+     *
9
+     * For the full copyright and license information, please view the LICENSE
10
+     * file that was distributed with this source code.
11
+     */
12 12
 
13 13
 
14 14
 namespace Core\Observers;
Please login to merge, or discard this patch.
app/Core/Mappers/UserMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 
38 38
         $user = User::where('gitter_id', $values['gitter_id'])->first();
39 39
         if (!$user) {
40
-            $user = User::unguarded(function () use ($values) {
40
+            $user = User::unguarded(function() use ($values) {
41 41
                 return User::create($values);
42 42
             });
43 43
         }
Please login to merge, or discard this patch.
app/Core/Mappers/Message/RelationMapper.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 declare(strict_types = 1);
3 3
 /**
4
- * This file is part of GitterBot package.
5
- *
6
- * @author Serafim <[email protected]>
7
- * @date 28.03.2016 18:07
8
- *
9
- * For the full copyright and license information, please view the LICENSE
10
- * file that was distributed with this source code.
11
- */
4
+     * This file is part of GitterBot package.
5
+     *
6
+     * @author Serafim <[email protected]>
7
+     * @date 28.03.2016 18:07
8
+     *
9
+     * For the full copyright and license information, please view the LICENSE
10
+     * file that was distributed with this source code.
11
+     */
12 12
 namespace Core\Mappers\Message;
13 13
 
14 14
 use Domains\Message\Message;
Please login to merge, or discard this patch.
app/Core/Mappers/Message/UrlMapper.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of GitterBot package.
4
- *
5
- * @author Serafim <[email protected]>
6
- * @date 09.04.2016 4:17
7
- *
8
- * For the full copyright and license information, please view the LICENSE
9
- * file that was distributed with this source code.
10
- */
3
+     * This file is part of GitterBot package.
4
+     *
5
+     * @author Serafim <[email protected]>
6
+     * @date 09.04.2016 4:17
7
+     *
8
+     * For the full copyright and license information, please view the LICENSE
9
+     * file that was distributed with this source code.
10
+     */
11 11
 namespace Core\Mappers\Message;
12 12
 
13 13
 use Domains\Message\Message;
Please login to merge, or discard this patch.