@@ -41,7 +41,7 @@ |
||
41 | 41 | $question = new ChoiceQuestion('Which format', array_keys($formats)); |
42 | 42 | $format = $helper->ask($input, $output, $question); |
43 | 43 | } |
44 | - $output->writeln('Format <info>' . $format . '</info> drivers support'); |
|
44 | + $output->writeln('Format <info>'.$format.'</info> drivers support'); |
|
45 | 45 | |
46 | 46 | $table = new Table($output); |
47 | 47 | $table->setHeaders(['driver', 'open', 'stream', 'create', 'append', 'update', 'encrypt']); |
@@ -34,13 +34,13 @@ |
||
34 | 34 | if (!empty($install)) { |
35 | 35 | $notInstalled[] = [$driverClass, $description, $install]; |
36 | 36 | } else { |
37 | - $output->writeln($formatter->formatSection($driverClass, $description) . ': ' . implode(', ', $driverClass::getSupportedFormats())); |
|
37 | + $output->writeln($formatter->formatSection($driverClass, $description).': '.implode(', ', $driverClass::getSupportedFormats())); |
|
38 | 38 | } |
39 | 39 | } |
40 | 40 | |
41 | 41 | if (!empty($notInstalled)) { |
42 | 42 | foreach ($notInstalled as $data) { |
43 | - $output->writeln($formatter->formatSection($data[0], $data[1] . ': ' . implode(', ', $data[0]::getSupportedFormats()), 'error')); |
|
43 | + $output->writeln($formatter->formatSection($data[0], $data[1].': '.implode(', ', $data[0]::getSupportedFormats()), 'error')); |
|
44 | 44 | $output->writeln($formatter->formatSection($data[0], $data[2], 'comment')); |
45 | 45 | } |
46 | 46 | } |
@@ -27,14 +27,14 @@ |
||
27 | 27 | list($archive, $file) = $this->getArchiveAndFile($input, $output); |
28 | 28 | $destination = $input->getArgument('destination'); |
29 | 29 | if (is_dir($destination)) { |
30 | - $destination = $destination . '/' . basename($file); |
|
30 | + $destination = $destination.'/'.basename($file); |
|
31 | 31 | } |
32 | 32 | |
33 | 33 | $overwrite = $input->getOption('overwrite'); |
34 | 34 | |
35 | 35 | if (file_exists($destination) && !$overwrite) { |
36 | 36 | if ($input->getOption('no-interaction')) { |
37 | - throw new \LogicException('File destination ' . $destination . ' exists'); |
|
37 | + throw new \LogicException('File destination '.$destination.' exists'); |
|
38 | 38 | } |
39 | 39 | } |
40 | 40 | } |
@@ -60,17 +60,17 @@ |
||
60 | 60 | foreach ($archive->getFileNames($filter) as $file) { |
61 | 61 | $details = $archive->getFileData($file); |
62 | 62 | $output->writeln(($details->isCompressed && $details->uncompressedSize > 0 ? 'x' : '-') |
63 | - . ' ' . str_pad( |
|
63 | + . ' '.str_pad( |
|
64 | 64 | $human_readable_size ? implode($this->formatSize($details->uncompressedSize)) : $details->uncompressedSize, |
65 | 65 | $uncomp_size_length, |
66 | 66 | ' ', |
67 | 67 | STR_PAD_LEFT) |
68 | - . ' ' . str_pad( |
|
68 | + . ' '.str_pad( |
|
69 | 69 | $human_readable_size ? implode($this->formatSize($details->compressedSize)) : $details->compressedSize, |
70 | 70 | $comp_size_length, |
71 | 71 | ' ', |
72 | 72 | STR_PAD_LEFT) |
73 | - . ' ' . $this->formatDateShort($details->modificationTime) . ' ' . $details->path); |
|
73 | + . ' '.$this->formatDateShort($details->modificationTime).' '.$details->path); |
|
74 | 74 | } |
75 | 75 | } else { |
76 | 76 | foreach ($archive->getFileNames($filter) as $file) { |