Skip to content

Commit 82e28fe

Browse files
Fix PHP 7.1 related failures
1 parent 5588b17 commit 82e28fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/CrossCheckTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function testCrossCheck($fixture, $type)
3434
$loaderClass = 'Symfony\\Component\\DependencyInjection\\Loader\\'.ucfirst($type).'FileLoader';
3535
$dumperClass = 'Symfony\\Component\\DependencyInjection\\Dumper\\'.ucfirst($type).'Dumper';
3636

37-
$tmp = tempnam('sf_service_container', 'sf');
37+
$tmp = tempnam(sys_get_temp_dir(), 'sf');
3838

3939
file_put_contents($tmp, file_get_contents(self::$fixturesPath.'/'.$type.'/'.$fixture));
4040

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"php": ">=5.3.9"
2020
},
2121
"require-dev": {
22-
"symfony/yaml": "~2.1",
22+
"symfony/yaml": "~2.3.42|~2.7.14|~2.8.7",
2323
"symfony/config": "~2.2",
2424
"symfony/expression-language": "~2.6"
2525
},

0 commit comments

Comments
 (0)