Updating deprecated phpunit method calls