1<?php 2/** 3 * @see https://github.com/zendframework/zend-db for the canonical source repository 4 * @copyright Copyright (c) 2017 Zend Technologies USA Inc. (https://www.zend.com) 5 * @license https://github.com/zendframework/zend-db/blob/master/LICENSE.md New BSD License 6 */ 7 8if (! interface_exists(\PHPUnit_Framework_Test::class)) { 9 class_alias(\PHPUnit\Framework\Test::class, \PHPUnit_Framework_Test::class); 10} 11 12if (! class_exists(\PHPUnit_Framework_AssertionFailedError::class)) { 13 class_alias(\PHPUnit\Framework\AssertionFailedError::class, \PHPUnit_Framework_AssertionFailedError::class); 14} 15 16if (! class_exists(\PHPUnit_Framework_TestSuite::class)) { 17 class_alias(\PHPUnit\Framework\TestSuite::class, \PHPUnit_Framework_TestSuite::class); 18} 19 20if (! class_exists(\PHPUnit\Framework\Error\Error::class)) { 21 class_alias(\PHPUnit_Framework_Error::class, \PHPUnit\Framework\Error\Error::class); 22} 23 24if (! class_exists(\PHPUnit\Framework\Error\Notice::class)) { 25 class_alias(\PHPUnit_Framework_Error_Notice::class, \PHPUnit\Framework\Error\Notice::class); 26} 27