Add bc layer for older php and phpunit versions

This commit is contained in:
Alexander Schranz 2020-02-19 21:52:13 +01:00
commit 7474bf936f
16 changed files with 90 additions and 99 deletions

View file

@ -64,8 +64,6 @@ class ExtractMultipleFramesFilterTest extends TestCase
);
}
/**
*/
public function testInvalidFrameFileType() {
$this->expectException('\FFMpeg\Exception\InvalidArgumentException');
$filter = new ExtractMultipleFramesFilter('1/1', '/');

View file

@ -61,12 +61,12 @@ class RotateFilterTest extends TestCase
);
}
/**
* @expectedExceptionMessage Invalid angle value.
*/
public function testApplyInvalidAngle()
{
$this->expectException('\FFMpeg\Exception\InvalidArgumentException');
$this->expectException(
'\FFMpeg\Exception\InvalidArgumentException',
'Invalid angle value.'
);
new RotateFilter('90');
}
}