8000 CS fix · symfony/symfony@aea4a62 · GitHub
[go: up one dir, main page]

Skip to content

Commit aea4a62

Browse files
CS fix
1 parent ab80f29 commit aea4a62

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

src/Symfony/Component/Console/Tests/Fixtures/Foo6Command.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22

3-
43
use Symfony\Component\Console\Command\Command;
54

65
class Foo6Command extends Command

src/Symfony/Component/CssSelector/XPath/Translator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public static function getXpathLiteral($element)
8989
}
9090
}
9191

92-
return sprintf('concat(%s)', implode($parts, ', '));
92+
return sprintf('concat(%s)', implode(', ', $parts));
9393
}
9494

9595
/**

src/Symfony/Component/Translation/Dumper/MoFileDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function formatCatalogue(MessageCatalogue $messages, $domain, array $opti
6767
.$this->writeLong($offset[2] + $sourcesStart + $sourcesSize);
6868
}
6969

70-
$output = implode(array_map(array($this, 'writeLong'), $header))
70+
$output = implode('', array_map(array($this, 'writeLong'), $header))
7171
.$sourceOffsets
7272
.$targetOffsets
7373
.$sources

src/Symfony/Component/Yaml/Inline.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ public static function parseScalar($scalar, $delimiters = null, $stringDelimiter
234234
if (null !== $delimiters) {
235235
$tmp = ltrim(substr($scalar, $i), ' ');
236236
if ('' === $tmp) {
237-
throw new ParseException(sprintf('Unexpected end of line, expected one of "%s".', implode($delimiters)));
237+
throw new ParseException(sprintf('Unexpected end of line, expected one of "%s".', implode('', $delimiters)));
238238
}
239239
if (!\in_array($tmp[0], $delimiters)) {
240240
throw new ParseException(sprintf('Unexpected characters (%s).', substr($scalar, $i)));

0 commit comments

Comments
 (0)
0