@@ -2,6 +2,6 @@ |
||
2 | 2 | |
3 | 3 | // autoload.php @generated by Composer |
4 | 4 | |
5 | -require_once __DIR__ . '/composer' . '/autoload_real.php'; |
|
5 | +require_once __DIR__.'/composer'.'/autoload_real.php'; |
|
6 | 6 | |
7 | 7 | return ComposerAutoloaderInitabaa6009721fd9098637a3946e017ca9::getLoader(); |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | if (!empty($matches[2])) { |
135 | 135 | // add |
136 | 136 | foreach ($matches[2] as $match) { |
137 | - $this->css .= trim($match) . "\n"; |
|
137 | + $this->css .= trim($match)."\n"; |
|
138 | 138 | } |
139 | 139 | } |
140 | 140 | } |
@@ -250,7 +250,7 @@ discard block |
||
250 | 250 | // build chunks |
251 | 251 | foreach ($properties as $key => $values) { |
252 | 252 | foreach ((array) $values as $value) { |
253 | - $propertyChunks[] = $key . ': ' . $value . ';'; |
|
253 | + $propertyChunks[] = $key.': '.$value.';'; |
|
254 | 254 | } |
255 | 255 | } |
256 | 256 | |
@@ -340,7 +340,7 @@ discard block |
||
340 | 340 | // build chunks |
341 | 341 | foreach ($properties as $key => $values) { |
342 | 342 | foreach ((array) $values as $value) { |
343 | - $propertyChunks[] = $key . ': ' . $value . ';'; |
|
343 | + $propertyChunks[] = $key.': '.$value.';'; |
|
344 | 344 | } |
345 | 345 | } |
346 | 346 | |
@@ -407,7 +407,7 @@ discard block |
||
407 | 407 | // If next property begins with base64, |
408 | 408 | // Then the ';' was part of this property (and we should not have split on it). |
409 | 409 | if (isset($properties[$i + 1]) && strpos($properties[$i + 1], 'base64,') === 0) { |
410 | - $properties[$i] .= ';' . $properties[$i + 1]; |
|
410 | + $properties[$i] .= ';'.$properties[$i + 1]; |
|
411 | 411 | $properties[$i + 1] = ''; |
412 | 412 | $i += 1; |
413 | 413 | } |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | public static function loadClassLoader($class) |
10 | 10 | { |
11 | 11 | if ('Composer\Autoload\ClassLoader' === $class) { |
12 | - require __DIR__ . '/ClassLoader.php'; |
|
12 | + require __DIR__.'/ClassLoader.php'; |
|
13 | 13 | } |
14 | 14 | } |
15 | 15 | |
@@ -23,17 +23,17 @@ discard block |
||
23 | 23 | self::$loader = $loader = new \Composer\Autoload\ClassLoader(); |
24 | 24 | spl_autoload_unregister(array('ComposerAutoloaderInitabaa6009721fd9098637a3946e017ca9', 'loadClassLoader')); |
25 | 25 | |
26 | - $map = require __DIR__ . '/autoload_namespaces.php'; |
|
26 | + $map = require __DIR__.'/autoload_namespaces.php'; |
|
27 | 27 | foreach ($map as $namespace => $path) { |
28 | 28 | $loader->set($namespace, $path); |
29 | 29 | } |
30 | 30 | |
31 | - $map = require __DIR__ . '/autoload_psr4.php'; |
|
31 | + $map = require __DIR__.'/autoload_psr4.php'; |
|
32 | 32 | foreach ($map as $namespace => $path) { |
33 | 33 | $loader->setPsr4($namespace, $path); |
34 | 34 | } |
35 | 35 | |
36 | - $classMap = require __DIR__ . '/autoload_classmap.php'; |
|
36 | + $classMap = require __DIR__.'/autoload_classmap.php'; |
|
37 | 37 | if ($classMap) { |
38 | 38 | $loader->addClassMap($classMap); |
39 | 39 | } |
@@ -6,6 +6,6 @@ |
||
6 | 6 | $baseDir = dirname($vendorDir); |
7 | 7 | |
8 | 8 | return array( |
9 | - 'TijsVerkoyen\\CssToInlineStyles\\' => array($vendorDir . '/tijsverkoyen/css-to-inline-styles/src'), |
|
10 | - 'Symfony\\Component\\CssSelector\\' => array($vendorDir . '/symfony/css-selector'), |
|
9 | + 'TijsVerkoyen\\CssToInlineStyles\\' => array($vendorDir.'/tijsverkoyen/css-to-inline-styles/src'), |
|
10 | + 'Symfony\\Component\\CssSelector\\' => array($vendorDir.'/symfony/css-selector'), |
|
11 | 11 | ); |
@@ -344,14 +344,14 @@ discard block |
||
344 | 344 | private function findFileWithExtension($class, $ext) |
345 | 345 | { |
346 | 346 | // PSR-4 lookup |
347 | - $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext; |
|
347 | + $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR).$ext; |
|
348 | 348 | |
349 | 349 | $first = $class[0]; |
350 | 350 | if (isset($this->prefixLengthsPsr4[$first])) { |
351 | 351 | foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) { |
352 | 352 | if (0 === strpos($class, $prefix)) { |
353 | 353 | foreach ($this->prefixDirsPsr4[$prefix] as $dir) { |
354 | - if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) { |
|
354 | + if (file_exists($file = $dir.DIRECTORY_SEPARATOR.substr($logicalPathPsr4, $length))) { |
|
355 | 355 | return $file; |
356 | 356 | } |
357 | 357 | } |
@@ -361,7 +361,7 @@ discard block |
||
361 | 361 | |
362 | 362 | // PSR-4 fallback dirs |
363 | 363 | foreach ($this->fallbackDirsPsr4 as $dir) { |
364 | - if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) { |
|
364 | + if (file_exists($file = $dir.DIRECTORY_SEPARATOR.$logicalPathPsr4)) { |
|
365 | 365 | return $file; |
366 | 366 | } |
367 | 367 | } |
@@ -373,14 +373,14 @@ discard block |
||
373 | 373 | . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR); |
374 | 374 | } else { |
375 | 375 | // PEAR-like class name |
376 | - $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext; |
|
376 | + $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR).$ext; |
|
377 | 377 | } |
378 | 378 | |
379 | 379 | if (isset($this->prefixesPsr0[$first])) { |
380 | 380 | foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) { |
381 | 381 | if (0 === strpos($class, $prefix)) { |
382 | 382 | foreach ($dirs as $dir) { |
383 | - if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { |
|
383 | + if (file_exists($file = $dir.DIRECTORY_SEPARATOR.$logicalPathPsr0)) { |
|
384 | 384 | return $file; |
385 | 385 | } |
386 | 386 | } |
@@ -390,7 +390,7 @@ discard block |
||
390 | 390 | |
391 | 391 | // PSR-0 fallback dirs |
392 | 392 | foreach ($this->fallbackDirsPsr0 as $dir) { |
393 | - if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { |
|
393 | + if (file_exists($file = $dir.DIRECTORY_SEPARATOR.$logicalPathPsr0)) { |
|
394 | 394 | return $file; |
395 | 395 | } |
396 | 396 | } |
@@ -87,7 +87,7 @@ |
||
87 | 87 | */ |
88 | 88 | public function __toString() |
89 | 89 | { |
90 | - $arguments = implode(', ', array_map(function (Token $token) { |
|
90 | + $arguments = implode(', ', array_map(function(Token $token) { |
|
91 | 91 | return "'".$token->getValue()."'"; |
92 | 92 | }, $this->arguments)); |
93 | 93 |
@@ -29,7 +29,7 @@ |
||
29 | 29 | return array( |
30 | 30 | array(new ElementNode(), 0), |
31 | 31 | array(new ElementNode(null, 'element'), 1), |
32 | - array(new ElementNode('namespace', 'element'),1), |
|
32 | + array(new ElementNode('namespace', 'element'), 1), |
|
33 | 33 | ); |
34 | 34 | } |
35 | 35 | } |
@@ -24,7 +24,7 @@ |
||
24 | 24 | { |
25 | 25 | $parser = new Parser(); |
26 | 26 | |
27 | - $this->assertEquals($representation, array_map(function (SelectorNode $node) { |
|
27 | + $this->assertEquals($representation, array_map(function(SelectorNode $node) { |
|
28 | 28 | return (string) $node->getTree(); |
29 | 29 | }, $parser->parse($source))); |
30 | 30 | } |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | { |
152 | 152 | return array( |
153 | 153 | array('div', array('outer-div', 'li-div', 'foobar-div')), |
154 | - array('DIV', array('outer-div', 'li-div', 'foobar-div')), // case-insensitive in HTML |
|
154 | + array('DIV', array('outer-div', 'li-div', 'foobar-div')), // case-insensitive in HTML |
|
155 | 155 | array('div div', array('li-div')), |
156 | 156 | array('div, div div', array('outer-div', 'li-div', 'foobar-div')), |
157 | 157 | array('a[name]', array('name-anchor')), |
@@ -228,9 +228,9 @@ discard block |
||
228 | 228 | array('* :root', array()), |
229 | 229 | array('*:contains("link")', array('html', 'outer-div', 'tag-anchor', 'nofollow-anchor')), |
230 | 230 | array(':CONtains("link")', array('html', 'outer-div', 'tag-anchor', 'nofollow-anchor')), |
231 | - array('*:contains("LInk")', array()), // case sensitive |
|
231 | + array('*:contains("LInk")', array()), // case sensitive |
|
232 | 232 | array('*:contains("e")', array('html', 'nil', 'outer-div', 'first-ol', 'first-li', 'paragraph', 'p-em')), |
233 | - array('*:contains("E")', array()), // case-sensitive |
|
233 | + array('*:contains("E")', array()), // case-sensitive |
|
234 | 234 | array('.a', array('first-ol')), |
235 | 235 | array('.b', array('first-ol')), |
236 | 236 | array('*.a', array('first-ol')), |