fixed CS
This commit is contained in:
parent
975411d7f0
commit
07bf70d90f
@ -185,7 +185,7 @@ class MarkdownDescriptor extends Descriptor
|
||||
;
|
||||
|
||||
foreach ($definition->getAutowiringTypes() as $autowiringType) {
|
||||
$output .= "\n" . '- Autowiring Type: `' . $autowiringType . '`';
|
||||
$output .= "\n".'- Autowiring Type: `'.$autowiringType.'`';
|
||||
}
|
||||
|
||||
if ($definition->getFile()) {
|
||||
|
@ -249,7 +249,7 @@ class FlattenExceptionTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
// assertEquals() does not like NAN values.
|
||||
$this->assertEquals($array[$i][0], 'float');
|
||||
$this->assertTrue(is_nan($array[$i++][1]));
|
||||
$this->assertNan($array[$i++][1]);
|
||||
}
|
||||
|
||||
public function testRecursionInArguments()
|
||||
|
@ -127,9 +127,9 @@ class CliDumper extends AbstractDumper
|
||||
$style = 'num';
|
||||
|
||||
switch (true) {
|
||||
case INF === $value: $value = 'INF'; break;
|
||||
case INF === $value: $value = 'INF'; break;
|
||||
case -INF === $value: $value = '-INF'; break;
|
||||
case is_nan($value): $value = 'NAN'; break;
|
||||
case is_nan($value): $value = 'NAN'; break;
|
||||
default:
|
||||
$value = (string) $value;
|
||||
if (false === strpos($value, $this->decimalPoint)) {
|
||||
|
Reference in New Issue
Block a user