@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | 'className' => lcfirst($data->getEveApiName()), |
96 | 96 | 'tables' => $this->tables, |
97 | 97 | 'sectionName' => lcfirst($this->sectionName), |
98 | - 'version' => gmdate('YmdHis', $sec) . sprintf('.%0-3s', floor($mSec * 1000)) |
|
98 | + 'version' => gmdate('YmdHis', $sec).sprintf('.%0-3s', floor($mSec * 1000)) |
|
99 | 99 | ]; |
100 | 100 | try { |
101 | 101 | $contents = $this->getTwig() |
@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | $columns[$colName] = $this->inferTypeFromName($colName); |
183 | 183 | } |
184 | 184 | uksort($columns, |
185 | - function ($alpha, $beta) { |
|
185 | + function($alpha, $beta) { |
|
186 | 186 | $alpha = strtolower($alpha); |
187 | 187 | $beta = strtolower($beta); |
188 | 188 | if ($alpha < $beta) { |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | $tables[$tableName] = ['attributes' => $columns]; |
196 | 196 | } |
197 | 197 | uksort($tables, |
198 | - function ($alpha, $beta) { |
|
198 | + function($alpha, $beta) { |
|
199 | 199 | $alpha = strtolower($alpha); |
200 | 200 | $beta = strtolower($beta); |
201 | 201 | if ($alpha < $beta) { |
@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | $columns[$name] = $this->inferTypeFromName($name, true); |
232 | 232 | } |
233 | 233 | uksort($columns, |
234 | - function ($alpha, $beta) { |
|
234 | + function($alpha, $beta) { |
|
235 | 235 | $alpha = strtolower($alpha); |
236 | 236 | $beta = strtolower($beta); |
237 | 237 | if ($alpha < $beta) { |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | */ |
53 | 53 | public function __construct($dir = __DIR__) |
54 | 54 | { |
55 | - $this->setRelativeBaseDir($dir . '/'); |
|
55 | + $this->setRelativeBaseDir($dir.'/'); |
|
56 | 56 | } |
57 | 57 | /** |
58 | 58 | * @param EveApiEventInterface $event |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | $mess = 'Received HTML result from '; |
77 | 77 | $yem->triggerLogEvent('Yapeal.Log.log', Logger::NOTICE, $this->createEveApiMessage($mess, $data)); |
78 | 78 | $apiName = $data->getEveApiName(); |
79 | - $data->setEveApiName('Invalid_' . $apiName); |
|
79 | + $data->setEveApiName('Invalid_'.$apiName); |
|
80 | 80 | // Cache error html. |
81 | 81 | $this->emitEvents($data, 'preserve', 'Yapeal.Xml.Error'); |
82 | 82 | $data->setEveApiName($apiName); |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | libxml_use_internal_errors(false); |
107 | 107 | libxml_clear_errors(); |
108 | 108 | $apiName = $data->getEveApiName(); |
109 | - $data->setEveApiName('Invalid_' . $apiName); |
|
109 | + $data->setEveApiName('Invalid_'.$apiName); |
|
110 | 110 | // Cache error causing XML. |
111 | 111 | $this->emitEvents($data, 'preserve', 'Yapeal.Xml.Error'); |
112 | 112 | $data->setEveApiName($apiName); |