Passed
Push — dev ( 36ac9d...273395 )
by Darko
08:47
created
app/config/bootstrap/connections.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
 
93 93
 	if (isset($adapter)) {
94 94
 		if (empty(DB_SOCKET)) {
95
-			$host = empty(DB_PORT) ? DB_HOST : DB_HOST.':'.DB_PORT;
95
+			$host = empty(DB_PORT) ? DB_HOST : DB_HOST . ':' . DB_PORT;
96 96
 		} else {
97 97
 			$host = DB_SOCKET;
98 98
 		}
Please login to merge, or discard this patch.
app/config/bootstrap/session.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
 
62 62
 	if (!\lithium\data\Connections::get('default')) {
63 63
 		Users::applyFilter('save',
64
-			function ($self, $params, $chain)
64
+			function($self, $params, $chain)
65 65
 			{
66 66
 				if ($params['data']) {
67 67
 					$params['entity']->set($params['data']);
Please login to merge, or discard this patch.
app/config/bootstrap/console.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 			continue;
26 26
 		}
27 27
 		$file = "{$config['path']}/config/routes.php";
28
-		file_exists($file) ? call_user_func(function () use ($file) { include $file; }) : null;
28
+		file_exists($file) ? call_user_func(function() use ($file) { include $file; }) : null;
29 29
 	}
30 30
 	return $next($params);
31 31
 });
Please login to merge, or discard this patch.
app/config/bootstrap/cache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 	$cacheKey = 'core.libraries';
67 67
 
68 68
 	if ($cached = Cache::read('default', $cacheKey)) {
69
-		$cached = (array) $cached + Libraries::cache();
69
+		$cached = (array)$cached + Libraries::cache();
70 70
 		Libraries::cache($cached);
71 71
 	}
72 72
 	$result = $next($params);
Please login to merge, or discard this patch.
app/views/_errors/development.html.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 <h3>Exception</h3>
35 35
 
36 36
 <div class="lithium-exception-class">
37
-	<?=get_class($exception);?>
37
+	<?=get_class($exception); ?>
38 38
 
39 39
 	<?php if ($code = $exception->getCode()): ?>
40 40
 		<span class="lithium-exception-code">(code <?=$code; ?>)</span>
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 
80 80
 								if ($frame['line'] === $num):
81 81
 									?><span class="code-highlight"><?php
82
-								endif;?><?php echo "{$content}\n"; ?><?php
82
+								endif; ?><?php echo "{$content}\n"; ?><?php
83 83
 								if ($frame['line'] === $num):
84 84
 									?></span><?php
85 85
 								endif;
Please login to merge, or discard this patch.
app/views/layouts/default.xml.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,4 +7,4 @@
 block discarded – undo
7 7
  */
8 8
 ?>
9 9
 <?php echo '<' . '?xml version="1.0" ?' . '>'; ?>
10
-<?=$this->content;?>
11 10
\ No newline at end of file
11
+<?=$this->content; ?>
12 12
\ No newline at end of file
Please login to merge, or discard this patch.
app/views/layouts/error.html.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,11 +51,11 @@
 block discarded – undo
51 51
 			<h3>Configuration</h3>
52 52
 			<p>
53 53
 				This layout can be changed by modifying
54
-				<code><?="{$path}/views/layouts/error.html.php";?></code>
54
+				<code><?="{$path}/views/layouts/error.html.php"; ?></code>
55 55
 			</p>
56 56
 			<p>
57 57
 				To modify your error-handling configuration, see
58
-				<code><?="{$path}/config/bootstrap/errors.php";?></code>
58
+				<code><?="{$path}/config/bootstrap/errors.php"; ?></code>
59 59
 			</p>
60 60
 		</div>
61 61
 
Please login to merge, or discard this patch.
app/views/layouts/default.html.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 <!doctype html>
10 10
 <html>
11 11
 <head>
12
-	<?php echo $this->html->charset();?>
12
+	<?php echo $this->html->charset(); ?>
13 13
 	<title>Application &gt; <?php echo $this->title(); ?></title>
14 14
 	<?php echo $this->html->style(array('bootstrap.min', 'lithified')); ?>
15 15
 	<?php echo $this->scripts(); ?>
Please login to merge, or discard this patch.
app/models/Settings.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 	public static function init()
39 39
 	{
40 40
 		static::finder('setting',
41
-			function ($params, $next) {
41
+			function($params, $next) {
42 42
 
43 43
 				if (!is_array($params['options']['conditions'])) {
44 44
 					$params['options']['conditions'] = self::dottedToArray($params['options']['conditions']);
Please login to merge, or discard this patch.