@@ -92,7 +92,7 @@ |
||
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 | } |
@@ -61,7 +61,7 @@ |
||
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']); |
@@ -25,7 +25,7 @@ |
||
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 | }); |
@@ -66,7 +66,7 @@ |
||
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); |
@@ -34,7 +34,7 @@ discard block |
||
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 |
||
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; |
@@ -7,4 +7,4 @@ |
||
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 |
@@ -51,11 +51,11 @@ |
||
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 |
@@ -9,7 +9,7 @@ |
||
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 > <?php echo $this->title(); ?></title> |
14 | 14 | <?php echo $this->html->style(array('bootstrap.min', 'lithified')); ?> |
15 | 15 | <?php echo $this->scripts(); ?> |
@@ -38,7 +38,7 @@ |
||
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']); |