Fix php 5.3 compatibility

This commit is contained in:
Alexander Schranz 2021-11-27 00:20:01 +01:00
commit c2b99e1ea6

View file

@ -11,10 +11,10 @@ class AudioConcatenationTest extends FunctionalTestCase
{ {
$ffmpeg = $this->getFFMpeg(); $ffmpeg = $this->getFFMpeg();
$files = [ $files = array(
realpath(__DIR__ . '/../files/Jahzzar_-_05_-_Siesta.mp3'), realpath(__DIR__ . '/../files/Jahzzar_-_05_-_Siesta.mp3'),
realpath(__DIR__ . '/../files/02_-_Favorite_Secrets.mp3'), realpath(__DIR__ . '/../files/02_-_Favorite_Secrets.mp3'),
]; );
$audio = $ffmpeg->open(reset($files)); $audio = $ffmpeg->open(reset($files));