Add bc layer for older php and phpunit versions
This commit is contained in:
parent
8837f4b115
commit
7474bf936f
16 changed files with 90 additions and 99 deletions
|
|
@ -64,8 +64,6 @@ class ExtractMultipleFramesFilterTest extends TestCase
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
*/
|
||||
public function testInvalidFrameFileType() {
|
||||
$this->expectException('\FFMpeg\Exception\InvalidArgumentException');
|
||||
$filter = new ExtractMultipleFramesFilter('1/1', '/');
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue