Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c4159b1

Browse files
Merge branch '3.3' into 3.4
* 3.3: CS fixes
2 parents 9208244 + d94b9ac commit c4159b1

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,6 +1104,7 @@ private function assertCachePoolServiceDefinitionIsCreated(ContainerBuilder $con
11041104
if (ChainAdapter::class === $parentDefinition->getClass()) {
11051105
break;
11061106
}
1107+
// no break
11071108
case 'cache.adapter.filesystem':
11081109
$this->assertSame(FilesystemAdapter::class, $parentDefinition->getClass());
11091110
break;

src/Symfony/Component/VarDumper/Cloner/Data.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ public function seek($key)
247247
$keys[] = Caster::PREFIX_PROTECTED.$key;
248248
$keys[] = Caster::PREFIX_VIRTUAL.$key;
249249
$keys[] = "\0$item->class\0$key";
250+
// no break
250251
case Stub::TYPE_ARRAY:
251252
case Stub::TYPE_RESOURCE:
252253
break;

src/Symfony/Component/Yaml/Inline.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,11 +702,13 @@ private static function evaluateScalar($scalar, $flags, $references = array())
702702
}
703703

704704
// Optimize for returning strings.
705+
// no break
705706
case '+' === $scalar[0] || '-' === $scalar[0] || '.' === $scalar[0] || is_numeric($scalar[0]):
706707
switch (true) {
707708
case Parser::preg_match('{^[+-]?[0-9][0-9_]*$}', $scalar):
708709
$scalar = str_replace('_', '', (string) $scalar);
709710
// omitting the break / return as integers are handled in the next case
711+
// no break
710712
case ctype_digit($scalar):
711713
$raw = $scalar;
712714
$cast = (int) $scalar;

0 commit comments

Comments
 (0)