Test Setup Failed
Pull Request — master (#1)
by Jonathan André
59:44 queued 50:49
created
app/Http/Controllers/Auth/RegisterController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -65,9 +65,9 @@
 block discarded – undo
65 65
     protected function create(array $data)
66 66
     {
67 67
         return User::create([
68
-            'name'     => $data['name'],
69
-            'email'    => $data['email'],
70
-            'password' => bcrypt($data['password']),
68
+            'name'     => $data[ 'name' ],
69
+            'email'    => $data[ 'email' ],
70
+            'password' => bcrypt($data[ 'password' ]),
71 71
         ]);
72 72
     }
73 73
 }
Please login to merge, or discard this patch.
server.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
  * @author   Taylor Otwell <[email protected]>
7 7
  */
8 8
 $uri = urldecode(
9
-    parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
9
+    parse_url($_SERVER[ 'REQUEST_URI' ], PHP_URL_PATH)
10 10
 );
11 11
 
12 12
 // This file allows us to emulate Apache's "mod_rewrite" functionality from the
Please login to merge, or discard this patch.
Bludata/Framework/Laravel/Helpers/functions.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 
37 37
         $handle = opendir($dir);
38 38
         while ($path = readdir($handle)) {
39
-            $toRegisterPath = implode(DIRECTORY_SEPARATOR, [$dir, $path]);
39
+            $toRegisterPath = implode(DIRECTORY_SEPARATOR, [ $dir, $path ]);
40 40
             register_annotation_file($toRegisterPath);
41 41
         }
42 42
 
@@ -50,10 +50,10 @@  discard block
 block discarded – undo
50 50
 if (!function_exists('bind_repository_interface')) {
51 51
     function bind_repository_interface(string $repositoryInterface, string $repository, string $entity)
52 52
     {
53
-        app()->bind($repositoryInterface, function ($app) use ($repository, $entity) {
53
+        app()->bind($repositoryInterface, function($app) use ($repository, $entity) {
54 54
             return new $repository(
55
-                $app['em'],
56
-                $app['em']->getClassMetaData($entity)
55
+                $app[ 'em' ],
56
+                $app[ 'em' ]->getClassMetaData($entity)
57 57
             );
58 58
         });
59 59
     }
Please login to merge, or discard this patch.