@@ -118,8 +118,8 @@ |
||
118 | 118 | |
119 | 119 | $minifiedJs = $compiler->squeeze( |
120 | 120 | $rawJs, |
121 | - true, // $singleLine |
|
122 | - true, // $keepImportantComments |
|
121 | + true, // $singleLine |
|
122 | + true, // $keepImportantComments |
|
123 | 123 | true // $specialVarRx |
124 | 124 | ); |
125 | 125 |
@@ -98,7 +98,7 @@ |
||
98 | 98 | } |
99 | 99 | |
100 | 100 | usort($this->pluginClasses, function(PluginAbstract $a, PluginAbstract $b) { |
101 | - return $a->getPriority() - $b->getPriority(); |
|
101 | + return $a->getPriority()-$b->getPriority(); |
|
102 | 102 | }); |
103 | 103 | } |
104 | 104 |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | */ |
51 | 51 | public function getLogDir() |
52 | 52 | { |
53 | - return __DIR__.'/../var/logs'; |
|
53 | + return __DIR__ . '/../var/logs'; |
|
54 | 54 | } |
55 | 55 | |
56 | 56 | /** |
@@ -58,6 +58,6 @@ discard block |
||
58 | 58 | */ |
59 | 59 | public function getCacheDir() |
60 | 60 | { |
61 | - return __DIR__.'/../var/cache/'.$this->getEnvironment(); |
|
61 | + return __DIR__ . '/../var/cache/' . $this->getEnvironment(); |
|
62 | 62 | } |
63 | 63 | } |
64 | 64 | \ No newline at end of file |
@@ -16,7 +16,7 @@ |
||
16 | 16 | |
17 | 17 | require_once(BASE_DIR . join(DIRECTORY_SEPARATOR, ['vendor', 'autoload.php'])); |
18 | 18 | |
19 | -$environment = getenv('MAJIMA_ENV') ? : 'prod'; |
|
19 | +$environment = getenv('MAJIMA_ENV') ?: 'prod'; |
|
20 | 20 | |
21 | 21 | if ($environment !== 'prod') { |
22 | 22 | error_reporting(E_ALL); |