mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-10 05:45:50 +00:00
Fix PHPUnit deprecations
This commit is contained in:
@@ -23,7 +23,7 @@ class CustomExtensionTest extends TestCase
|
||||
*/
|
||||
public function testGetInvalidOperators(ExtensionInterface $extension, $expectedExceptionMessage)
|
||||
{
|
||||
$this->expectException('InvalidArgumentException');
|
||||
$this->expectException(\InvalidArgumentException::class);
|
||||
$this->expectExceptionMessage($expectedExceptionMessage);
|
||||
|
||||
$env = new Environment($this->getMockBuilder(LoaderInterface::class)->getMock());
|
||||
|
||||
Reference in New Issue
Block a user