Completed
Push — master ( 5c8fbd...2c9aff )
by Jacob
03:19
created
router/AJAXRouter.class.inc.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 			(object) array(
20 20
 				'match' => '/get/portfolioImage.json',
21 21
 				'controller' => 'GetPortfolioImageController'),
22
-    );
22
+	);
23 23
 	}
24 24
 
25 25
 }
Please login to merge, or discard this patch.
bootstrap.php 2 patches
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
 
8 8
 $handle = @fopen($config_path, 'r');
9 9
 if ($handle === false) {
10
-    throw new RuntimeException("Could not load config");
10
+	throw new RuntimeException("Could not load config");
11 11
 }
12 12
 $config = fread($handle, filesize($config_path));
13 13
 fclose($handle);
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 $config = json_decode($config);
16 16
 $last_json_error = json_last_error();
17 17
 if ($last_json_error !== JSON_ERROR_NONE) {
18
-    throw new RuntimeException("Could not parse config - JSON error detected");
18
+	throw new RuntimeException("Could not parse config - JSON error detected");
19 19
 }
20 20
 
21 21
 // timezones are fun
@@ -24,34 +24,34 @@  discard block
 block discarded – undo
24 24
 // configure the db connections holder
25 25
 $db_connections = new Aura\Sql\ConnectionLocator();
26 26
 $db_connections->setDefault(function () use ($config) {
27
-    $connection = $config->database->slave;
28
-    return new Aura\Sql\ExtendedPdo(
29
-        "mysql:host={$connection->host}",
30
-        $connection->user,
31
-        $connection->password
32
-    );
27
+	$connection = $config->database->slave;
28
+	return new Aura\Sql\ExtendedPdo(
29
+		"mysql:host={$connection->host}",
30
+		$connection->user,
31
+		$connection->password
32
+	);
33 33
 });
34 34
 $db_connections->setWrite('master', function () use ($config) {
35
-    $connection = $config->database->master;
36
-    return new Aura\Sql\ExtendedPdo(
37
-        "mysql:host={$connection->host}",
38
-        $connection->user,
39
-        $connection->password
40
-    );
35
+	$connection = $config->database->master;
36
+	return new Aura\Sql\ExtendedPdo(
37
+		"mysql:host={$connection->host}",
38
+		$connection->user,
39
+		$connection->password
40
+	);
41 41
 });
42 42
 $db_connections->setRead('slave', function () use ($config) {
43
-    $connection = $config->database->slave;
44
-    $pdo = new Aura\Sql\ExtendedPdo(
45
-        "mysql:host={$connection->host}",
46
-        $connection->user,
47
-        $connection->password
48
-    );
43
+	$connection = $config->database->slave;
44
+	$pdo = new Aura\Sql\ExtendedPdo(
45
+		"mysql:host={$connection->host}",
46
+		$connection->user,
47
+		$connection->password
48
+	);
49 49
 
50
-    $profiler = new Aura\Sql\Profiler();
51
-    $profiler->setActive(true);
52
-    $pdo->setProfiler($profiler);
50
+	$profiler = new Aura\Sql\Profiler();
51
+	$profiler->setActive(true);
52
+	$pdo->setProfiler($profiler);
53 53
 
54
-    return $pdo;
54
+	return $pdo;
55 55
 });
56 56
 
57 57
 // setup the profiler
@@ -67,5 +67,5 @@  discard block
 block discarded – undo
67 67
 $container['profiler'] = $profiler;
68 68
 $container['default_timezone'] = new DateTimeZone('America/Phoenix');
69 69
 $container['mail'] = function ($c) {
70
-    return new Jacobemerick\Archangel\Archangel();
70
+	return new Jacobemerick\Archangel\Archangel();
71 71
 };
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 
24 24
 // configure the db connections holder
25 25
 $db_connections = new Aura\Sql\ConnectionLocator();
26
-$db_connections->setDefault(function () use ($config) {
26
+$db_connections->setDefault(function() use ($config) {
27 27
     $connection = $config->database->slave;
28 28
     return new Aura\Sql\ExtendedPdo(
29 29
         "mysql:host={$connection->host}",
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
         $connection->password
32 32
     );
33 33
 });
34
-$db_connections->setWrite('master', function () use ($config) {
34
+$db_connections->setWrite('master', function() use ($config) {
35 35
     $connection = $config->database->master;
36 36
     return new Aura\Sql\ExtendedPdo(
37 37
         "mysql:host={$connection->host}",
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         $connection->password
40 40
     );
41 41
 });
42
-$db_connections->setRead('slave', function () use ($config) {
42
+$db_connections->setRead('slave', function() use ($config) {
43 43
     $connection = $config->database->slave;
44 44
     $pdo = new Aura\Sql\ExtendedPdo(
45 45
         "mysql:host={$connection->host}",
@@ -66,6 +66,6 @@  discard block
 block discarded – undo
66 66
 $container['console'] = $console;
67 67
 $container['profiler'] = $profiler;
68 68
 $container['default_timezone'] = new DateTimeZone('America/Phoenix');
69
-$container['mail'] = function ($c) {
69
+$container['mail'] = function($c) {
70 70
     return new Jacobemerick\Archangel\Archangel();
71 71
 };
Please login to merge, or discard this patch.