PHP 8 Support (#782)

Thanks @kornrunner for these changes:
* Test against PHP 8
* U-Tests: FFProbe: OptionsTester: handle phpunit deprecation of at
* FiltersCollection: tweak for call_user_func_array and PHP 8 named arguments
This commit is contained in:
Boris Momčilović 2020-12-18 15:27:38 +01:00 committed by GitHub
commit a1a3281dbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions

View file

@ -77,13 +77,11 @@ class OptionsTesterTest extends TestCase
->method('fetch')
->will($this->returnValue($data));
$cache->expects($this->at(0))
$cache->expects($this->exactly(2))
->method('contains')
->will($this->returnValue(false));
$cache->expects($this->at(1))
->method('contains')
->will($this->returnValue(true));
->willReturnOnConsecutiveCalls(
$this->returnValue(false),
$this->returnValue(true));
$cache->expects($this->once())
->method('save');