Skip to content

Commit 80a310d

Browse files
committed
Merge branch '4.2'
* 4.2: fixed bad merge Show more accurate message in profiler when missing stopwatch CS Fixes: Not double split with one array argument [Serializer] Add default object class resolver Remove redundant animation prefixes Remove redundant `box-sizing` prefixes [VarExporter] support PHP7.4 __serialize & __unserialize Rework firewall access denied rule MetadataAwareNameConverter: Do not assume that property names are strings [VarExporter] fix exporting classes with private constructors fixed CS Fix missing $extraDirs when open_basedir returns
2 parents 60f8df5 + fd4a5f2 commit 80a310d

File tree

1 file changed

+16
-22
lines changed

1 file changed

+16
-22
lines changed

Tests/OptionsResolverTest.php

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -851,13 +851,11 @@ public function testResolveFailsWithCorrectLevelsButWrongScalar()
851851
$this->resolver->setDefined('foo');
852852
$this->resolver->setAllowedTypes('foo', 'int[][]');
853853

854-
$this->resolver->resolve(
855-
[
856-
'foo' => [
857-
[1.2],
858-
],
859-
]
860-
);
854+
$this->resolver->resolve([
855+
'foo' => [
856+
[1.2],
857+
],
858+
]);
861859
}
862860

863861
/**
@@ -1975,13 +1973,11 @@ public function testNestedArrays()
19751973
1, 2,
19761974
],
19771975
],
1978-
], $this->resolver->resolve(
1979-
[
1980-
'foo' => [
1981-
[1, 2],
1982-
],
1983-
]
1984-
));
1976+
], $this->resolver->resolve([
1977+
'foo' => [
1978+
[1, 2],
1979+
],
1980+
]));
19851981
}
19861982

19871983
public function testNested2Arrays()
@@ -2021,17 +2017,15 @@ public function testNestedArraysException()
20212017
$this->resolver->setDefined('foo');
20222018
$this->resolver->setAllowedTypes('foo', 'float[][][][]');
20232019

2024-
$this->resolver->resolve(
2025-
[
2026-
'foo' => [
2020+
$this->resolver->resolve([
2021+
'foo' => [
2022+
[
20272023
[
2028-
[
2029-
[1, 2],
2030-
],
2024+
[1, 2],
20312025
],
20322026
],
2033-
]
2034-
);
2027+
],
2028+
]);
20352029
}
20362030

20372031
/**

0 commit comments

Comments
 (0)