Passed
Push — 2.0 ( 5d0306...d68ee5 )
by Kirill
03:00
created
server/app/Http/Middleware/ApiAuthenticate.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
  * For the full copyright and license information, please view the LICENSE
5 5
  * file that was distributed with this source code.
6 6
  */
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace App\Http\Middleware;
10 10
 
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
 
123 123
         $user = User::where('id', $id)->where('password', $password)->first();
124 124
 
125
-        if (! $user) {
125
+        if (!$user) {
126 126
             throw new UnprocessableEntityHttpException('Invalid user credentials.');
127 127
         }
128 128
 
Please login to merge, or discard this patch.
server/app/Http/Middleware/RedirectIfAuthenticated.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  * For the full copyright and license information, please view the LICENSE
7 7
  * file that was distributed with this source code.
8 8
  */
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace App\Http\Middleware;
12 12
 
Please login to merge, or discard this patch.
server/app/Providers/HttpClientServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace App\Providers;
11 11
 
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      */
24 24
     public function register(): void
25 25
     {
26
-        $this->app->singleton(Guzzle::class, function () {
26
+        $this->app->singleton(Guzzle::class, function() {
27 27
             return new Guzzle();
28 28
         });
29 29
 
Please login to merge, or discard this patch.
server/app/Providers/ViewsServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  * For the full copyright and license information, please view the LICENSE
7 7
  * file that was distributed with this source code.
8 8
  */
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace App\Providers;
12 12
 
Please login to merge, or discard this patch.
server/app/Providers/AuthServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  * For the full copyright and license information, please view the LICENSE
7 7
  * file that was distributed with this source code.
8 8
  */
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace App\Providers;
12 12
 
Please login to merge, or discard this patch.
server/app/Providers/RouteServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  * For the full copyright and license information, please view the LICENSE
7 7
  * file that was distributed with this source code.
8 8
  */
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace App\Providers;
12 12
 
Please login to merge, or discard this patch.
server/app/Providers/EnumsServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  * For the full copyright and license information, please view the LICENSE
7 7
  * file that was distributed with this source code.
8 8
  */
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace App\Providers;
12 12
 
Please login to merge, or discard this patch.
server/app/Providers/ColorGeneratorServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  * For the full copyright and license information, please view the LICENSE
7 7
  * file that was distributed with this source code.
8 8
  */
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace App\Providers;
12 12
 
Please login to merge, or discard this patch.
server/app/Providers/DataProviderServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
  * For the full copyright and license information, please view the LICENSE
5 5
  * file that was distributed with this source code.
6 6
  */
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace App\Providers;
10 10
 
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 {
21 21
     public function register(): void
22 22
     {
23
-        $this->app->singleton(Manager::class, function (Application $app) {
23
+        $this->app->singleton(Manager::class, function(Application $app) {
24 24
             $config = $app->make(Repository::class);
25 25
             $providers = (array) $config->get('data-providers.providers', []);
26 26
 
Please login to merge, or discard this patch.