Completed
Push — master ( b71768...84d637 )
by Vincenzo
06:09
created
config/configSample.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-	//Stuff
5
-	'stuff' => 1,
4
+    //Stuff
5
+    'stuff' => 1,
6 6
 ];
7 7
\ No newline at end of file
Please login to merge, or discard this patch.
tests/EloquentConnectionTest.php 2 patches
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -5,25 +5,25 @@
 block discarded – undo
5 5
 class EloquentConnectionTest extends PHPUnit_Framework_TestCase
6 6
 {
7 7
 
8
-	/**
9
-	 *
10
-	 */
11
-	public function testIlluminateConnection()
12
-	{
13
-		Illuminate\Database\Capsule\Manager::schema()->create('test', function (Blueprint $table) {
14
-			$table->increments('id');
15
-			$table->string('email')->unique();
16
-			$table->timestamps();
17
-		});
8
+    /**
9
+     *
10
+     */
11
+    public function testIlluminateConnection()
12
+    {
13
+        Illuminate\Database\Capsule\Manager::schema()->create('test', function (Blueprint $table) {
14
+            $table->increments('id');
15
+            $table->string('email')->unique();
16
+            $table->timestamps();
17
+        });
18 18
 
19
-		\Illuminate\Database\Capsule\Manager::table('test')->insert(
20
-			[
21
-				'email' => '[email protected]'
22
-			]
23
-		);
19
+        \Illuminate\Database\Capsule\Manager::table('test')->insert(
20
+            [
21
+                'email' => '[email protected]'
22
+            ]
23
+        );
24 24
 
25
-		$test = \Illuminate\Database\Capsule\Manager::table('test')->first();
26
-		$this->assertNotEmpty($test);
27
-		\Illuminate\Database\Capsule\Manager::schema()->drop('test');
28
-	}
25
+        $test = \Illuminate\Database\Capsule\Manager::table('test')->first();
26
+        $this->assertNotEmpty($test);
27
+        \Illuminate\Database\Capsule\Manager::schema()->drop('test');
28
+    }
29 29
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 	 */
11 11
 	public function testIlluminateConnection()
12 12
 	{
13
-		Illuminate\Database\Capsule\Manager::schema()->create('test', function (Blueprint $table) {
13
+		Illuminate\Database\Capsule\Manager::schema()->create('test', function(Blueprint $table) {
14 14
 			$table->increments('id');
15 15
 			$table->string('email')->unique();
16 16
 			$table->timestamps();
Please login to merge, or discard this patch.
Console/CoverageCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,8 +43,8 @@  discard block
 block discarded – undo
43 43
         $checkedElements = 0;
44 44
 
45 45
         foreach ($metrics as $metric) {
46
-            $totalElements += (int)$metric['elements'];
47
-            $checkedElements += (int)$metric['coveredelements'];
46
+            $totalElements += (int) $metric['elements'];
47
+            $checkedElements += (int) $metric['coveredelements'];
48 48
         }
49 49
 
50 50
         return round(($checkedElements / $totalElements) * 100, 2);
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     private function getTargetCoverage()
54 54
     {
55 55
         $target = $this->getArg(0);
56
-        $target = (int)(!empty($target) ? $target : 1);
56
+        $target = (int) (!empty($target) ? $target : 1);
57 57
         $percentage = min(100, max(0, $target));
58 58
         if (!$percentage) {
59 59
             throw new InvalidArgumentException('An integer checked percentage must be given as second parameter [0-100]');
Please login to merge, or discard this patch.
database/migrations/M1477152226CreateUsersTable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     {
13 13
         $tableName = 'users';
14 14
         Capsule::schema()->dropIfExists($tableName);
15
-        Capsule::schema()->create($tableName, function (Blueprint $table) {
15
+        Capsule::schema()->create($tableName, function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('name');
18 18
             $table->string('surname');
Please login to merge, or discard this patch.
routes/users/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 use App\Actions\User\UserGetAll;
3 3
 
4 4
 
5
-$api->get('/users', function ($request, $response, $args) {
5
+$api->get('/users', function($request, $response, $args) {
6 6
     return (
7 7
     new UserGetAll(
8 8
         $request,
Please login to merge, or discard this patch.
routes/ping/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 use App\Actions\Ping\PingGet;
3 3
 
4
-$api->get('/ping', function ($request, $response, $args) {
4
+$api->get('/ping', function($request, $response, $args) {
5 5
     return (
6 6
     new PingGet(
7 7
         $request,
Please login to merge, or discard this patch.
database/migrations/M1478637077UserTokens.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     {
13 13
         $tableName = 'users';
14 14
         Capsule::schema()->dropIfExists($tableName);
15
-        Capsule::schema()->create($tableName, function (Blueprint $table) {
15
+        Capsule::schema()->create($tableName, function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('name');
18 18
             $table->string('surname');
Please login to merge, or discard this patch.