@@ -136,9 +136,9 @@ |
||
136 | 136 | */ |
137 | 137 | protected function createPlaceholder($name, &$blockID) |
138 | 138 | { |
139 | - $blockID = $name . '-' . $this->supervisor->uniquePlaceholder(); |
|
139 | + $blockID = $name.'-'.$this->supervisor->uniquePlaceholder(); |
|
140 | 140 | |
141 | 141 | //Short block declaration syntax |
142 | - return '${' . $blockID . '}'; |
|
142 | + return '${'.$blockID.'}'; |
|
143 | 143 | } |
144 | 144 | } |
145 | 145 | \ No newline at end of file |
@@ -148,7 +148,7 @@ |
||
148 | 148 | } |
149 | 149 | |
150 | 150 | $prefix = isset($attributes['namespace']) |
151 | - ? $attributes['namespace'] . ':' |
|
151 | + ? $attributes['namespace'].':' |
|
152 | 152 | : $attributes['prefix']; |
153 | 153 | |
154 | 154 | return new Prefixer($prefix, $path); |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | } |
130 | 130 | |
131 | 131 | if ($position == self::POSITION_IN_TAG) { |
132 | - $buffer = '<' . $buffer; |
|
132 | + $buffer = '<'.$buffer; |
|
133 | 133 | } |
134 | 134 | |
135 | 135 | //Handling previous token |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | //Checking for invalid characters in tag name or arguments |
169 | 169 | if ($position == self::POSITION_IN_TAG) { |
170 | 170 | if (!preg_match('/[a-z0-9 \._\-="\':\/\r\n\t]/i', $char)) { |
171 | - $buffer = '<' . $buffer; |
|
171 | + $buffer = '<'.$buffer; |
|
172 | 172 | $position = self::POSITION_PLAIN_TEXT; |
173 | 173 | } |
174 | 174 | } |
@@ -202,18 +202,18 @@ discard block |
||
202 | 202 | continue; |
203 | 203 | } |
204 | 204 | |
205 | - $attributes[] = $attribute . '="' . $value . '"'; |
|
205 | + $attributes[] = $attribute.'="'.$value.'"'; |
|
206 | 206 | } |
207 | 207 | |
208 | 208 | if (!empty($attributes)) { |
209 | - $result .= ' ' . join(' ', $attributes); |
|
209 | + $result .= ' '.join(' ', $attributes); |
|
210 | 210 | } |
211 | 211 | |
212 | 212 | if ($token[HtmlTokenizer::TOKEN_TYPE] == HtmlTokenizer::TAG_SHORT) { |
213 | 213 | $result .= '/'; |
214 | 214 | } |
215 | 215 | |
216 | - return '<' . $result . '>'; |
|
216 | + return '<'.$result.'>'; |
|
217 | 217 | } |
218 | 218 | |
219 | 219 | /** |
@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | $token = [ |
228 | 228 | self::TOKEN_NAME => '', |
229 | 229 | self::TOKEN_TYPE => self::TAG_OPEN, |
230 | - self::TOKEN_CONTENT => '<' . ($content = $this->repairPHP($content)) . '>', |
|
230 | + self::TOKEN_CONTENT => '<'.($content = $this->repairPHP($content)).'>', |
|
231 | 231 | self::TOKEN_ATTRIBUTES => [] |
232 | 232 | ]; |
233 | 233 |
@@ -190,11 +190,11 @@ |
||
190 | 190 | protected function getPath(BucketInterface $bucket, $name) |
191 | 191 | { |
192 | 192 | if (empty($this->options['home'])) { |
193 | - return $this->files->normalizePath($bucket->getOption('directory') . $name); |
|
193 | + return $this->files->normalizePath($bucket->getOption('directory').$name); |
|
194 | 194 | } |
195 | 195 | |
196 | 196 | return $this->files->normalizePath( |
197 | - $this->options['home'] . '/' . $bucket->getOption('directory') . $name |
|
197 | + $this->options['home'].'/'.$bucket->getOption('directory').$name |
|
198 | 198 | ); |
199 | 199 | } |
200 | 200 | } |
201 | 201 | \ No newline at end of file |
@@ -255,7 +255,7 @@ |
||
255 | 255 | protected function getPath(BucketInterface $bucket, $name) |
256 | 256 | { |
257 | 257 | return $this->files->normalizePath( |
258 | - $this->options['home'] . '/' . $bucket->getOption('directory') . $name |
|
258 | + $this->options['home'].'/'.$bucket->getOption('directory').$name |
|
259 | 259 | ); |
260 | 260 | } |
261 | 261 |
@@ -140,7 +140,7 @@ |
||
140 | 140 | */ |
141 | 141 | public function buildAddress($name) |
142 | 142 | { |
143 | - return $this->prefix . $name; |
|
143 | + return $this->prefix.$name; |
|
144 | 144 | } |
145 | 145 | |
146 | 146 | /** |
@@ -401,7 +401,7 @@ discard block |
||
401 | 401 | |
402 | 402 | $name = $this->tokens[$localID][self::TOKEN_CODE]; |
403 | 403 | if (!empty($namespace = $this->activeNamespace($tokenID))) { |
404 | - $name = $namespace . self::NS_SEPARATOR . $name; |
|
404 | + $name = $namespace.self::NS_SEPARATOR.$name; |
|
405 | 405 | } |
406 | 406 | |
407 | 407 | $this->functions[$name] = [ |
@@ -426,7 +426,7 @@ discard block |
||
426 | 426 | |
427 | 427 | $name = $this->tokens[$localID][self::TOKEN_CODE]; |
428 | 428 | if (!empty($namespace = $this->activeNamespace($tokenID))) { |
429 | - $name = $namespace . self::NS_SEPARATOR . $name; |
|
429 | + $name = $namespace.self::NS_SEPARATOR.$name; |
|
430 | 430 | } |
431 | 431 | |
432 | 432 | $this->declarations[token_name($tokenType)][$name] = [ |
@@ -39,7 +39,7 @@ |
||
39 | 39 | |
40 | 40 | $name = $context->getName(); |
41 | 41 | if ($context instanceof \ReflectionMethod) { |
42 | - $name = $context->class . '::' . $name; |
|
42 | + $name = $context->class.'::'.$name; |
|
43 | 43 | } |
44 | 44 | |
45 | 45 | parent::__construct("Unable to resolve '{$parameter->name}' argument in '{$name}'."); |
@@ -324,7 +324,7 @@ discard block |
||
324 | 324 | { |
325 | 325 | $statement = ''; |
326 | 326 | foreach ($joinTokens as $table => $join) { |
327 | - $statement .= "\n" . $join['type'] . ' JOIN ' . $this->quote($table, true); |
|
327 | + $statement .= "\n".$join['type'].' JOIN '.$this->quote($table, true); |
|
328 | 328 | $statement .= $this->optional("\n ON", $this->compileWhere($join['on'])); |
329 | 329 | } |
330 | 330 | |
@@ -363,7 +363,7 @@ discard block |
||
363 | 363 | { |
364 | 364 | $result = []; |
365 | 365 | foreach ($ordering as $order) { |
366 | - $result[] = $this->quote($order[0]) . ' ' . strtoupper($order[1]); |
|
366 | + $result[] = $this->quote($order[0]).' '.strtoupper($order[1]); |
|
367 | 367 | } |
368 | 368 | |
369 | 369 | return join(', ', $result); |
@@ -525,7 +525,7 @@ discard block |
||
525 | 525 | $prefix .= ' '; |
526 | 526 | } |
527 | 527 | |
528 | - return $prefix . $expression . $postfix; |
|
528 | + return $prefix.$expression.$postfix; |
|
529 | 529 | } |
530 | 530 | |
531 | 531 | /** |
@@ -581,7 +581,7 @@ discard block |
||
581 | 581 | { |
582 | 582 | if ($context instanceof QueryBuilder) { |
583 | 583 | //Nested queries has to be wrapped with braces |
584 | - return '(' . $context->sqlStatement($this) . ')'; |
|
584 | + return '('.$context->sqlStatement($this).')'; |
|
585 | 585 | } |
586 | 586 | |
587 | 587 | if ($context instanceof ExpressionInterface) { |