for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the tarantool/queue package.
*
* (c) Eugene Leonovich <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Tarantool\Queue\Tests;
* A compatibility layer for the legacy PHPUnit 7.
trait PhpUnitCompat
{
public function expectExceptionMessageMatches(string $regularExpression) : void
if (\is_callable('parent::expectExceptionMessageMatches')) {
parent::expectExceptionMessageMatches($regularExpression);
return;
}
parent::expectExceptionMessageRegExp($regularExpression);