@@ -39,10 +39,10 @@ |
||
39 | 39 | if ($name === 'command') { |
40 | 40 | if (is_array($value)) { |
41 | 41 | foreach ($value as &$item) { |
42 | - $item = 'git ' . $item; |
|
42 | + $item = 'git '.$item; |
|
43 | 43 | } |
44 | 44 | } else { |
45 | - $value = 'git ' . $value; |
|
45 | + $value = 'git '.$value; |
|
46 | 46 | } |
47 | 47 | } |
48 | 48 | parent::offsetSet($name, $value); |
@@ -113,7 +113,7 @@ |
||
113 | 113 | foreach (array('key', 'value') as $name) { |
114 | 114 | if ($$name) { |
115 | 115 | if ($this->has($$name)) { |
116 | - throw new Exception('Variable ' . $$name . ' is already present'); |
|
116 | + throw new Exception('Variable '.$$name.' is already present'); |
|
117 | 117 | } |
118 | 118 | $this->as[$name] = $$name; |
119 | 119 | } |
@@ -87,7 +87,7 @@ |
||
87 | 87 | $code = "<?php\n"; |
88 | 88 | foreach (array('to', 'from', 'filter', 'cliStub', 'webStub', 'alias', 'metadata') as $var) { |
89 | 89 | $value = $this->get($var); |
90 | - $code .= '$' . $var . " = unserialize('" . serialize($value) . "');\n"; |
|
90 | + $code .= '$'.$var." = unserialize('".serialize($value)."');\n"; |
|
91 | 91 | } |
92 | 92 | $code .= ' |
93 | 93 | $phar = new \Phar($to); |
@@ -72,7 +72,7 @@ |
||
72 | 72 | if (!is_dir($dir)) { |
73 | 73 | throw new Exception("Debug dir $dir doesn't exist"); |
74 | 74 | } |
75 | - $files = glob($dir . '/*'); |
|
75 | + $files = glob($dir.'/*'); |
|
76 | 76 | if ($input->getOption('list')) { |
77 | 77 | foreach ($files as $file) { |
78 | 78 | $output->writeln(basename($file)); |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | ], |
33 | 33 | [ |
34 | 34 | 'type' => 'shell', |
35 | - 'command' => '{config["php"]} ' . __DIR__ . '/typo3/clear-cache.php', |
|
35 | + 'command' => '{config["php"]} '.__DIR__.'/typo3/clear-cache.php', |
|
36 | 36 | 'processSettings' => ['pt' => true] |
37 | 37 | ], |
38 | 38 | [ |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | ['workflow' => 'clearCodeCaches'], |
54 | 54 | [ |
55 | 55 | 'type' => 'scp', |
56 | - 'from' => __DIR__ . '/typo3', |
|
56 | + 'from' => __DIR__.'/typo3', |
|
57 | 57 | 'to' => '{node}:{node.deployPath}/current/{config["workspace"]}/typo3' |
58 | 58 | ], |
59 | 59 | [ |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | * @link http://www.netresearch.de |
12 | 12 | */ |
13 | 13 | |
14 | -require_once __DIR__ . '/bootstrap.php'; |
|
14 | +require_once __DIR__.'/bootstrap.php'; |
|
15 | 15 | |
16 | 16 | use TYPO3\CMS\Core\Utility\GeneralUtility; |
17 | 17 | |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | if ($execute) { |
42 | 42 | $GLOBALS['TYPO3_DB']->admin_query($query); |
43 | 43 | if ($GLOBALS['TYPO3_DB']->sql_error()) { |
44 | - throw new \Exception('SQL-Error: ' . $GLOBALS['TYPO3_DB']->sql_error()); |
|
44 | + throw new \Exception('SQL-Error: '.$GLOBALS['TYPO3_DB']->sql_error()); |
|
45 | 45 | } |
46 | 46 | } |
47 | 47 | } |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @link http://www.netresearch.de |
13 | 13 | */ |
14 | 14 | |
15 | -require __DIR__ . '/bootstrap.php'; |
|
15 | +require __DIR__.'/bootstrap.php'; |
|
16 | 16 | |
17 | 17 | $dataHandler = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\CMS\Core\DataHandling\DataHandler'); |
18 | 18 | $dataHandler->stripslashes_values = 0; |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | die('Access denied'); |
22 | 22 | } |
23 | 23 | |
24 | -define('PATH_site', getcwd() . DIRECTORY_SEPARATOR); |
|
24 | +define('PATH_site', getcwd().DIRECTORY_SEPARATOR); |
|
25 | 25 | |
26 | 26 | $typo3VersionIsMinimum7 = true; |
27 | 27 | |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | } |
34 | 34 | |
35 | 35 | if ($typo3VersionIsMinimum7) { |
36 | - $classLoader = include getcwd() . '/typo3_src/vendor/autoload.php'; |
|
36 | + $classLoader = include getcwd().'/typo3_src/vendor/autoload.php'; |
|
37 | 37 | \TYPO3\CMS\Core\Core\Bootstrap::getInstance() |
38 | 38 | ->initializeClassLoader($classLoader) |
39 | 39 | ->baseSetup(PATH_site) |