forked from ezimuel/PHP-Secure-Session
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautoload.php
16 lines (16 loc) · 797 Bytes
/
autoload.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
if (! interface_exists(\PHPUnit_Framework_Test::class)) {
class_alias(\PHPUnit\Framework\Test::class, \PHPUnit_Framework_Test::class);
}
if (! class_exists(\PHPUnit_Framework_AssertionFailedError::class)) {
class_alias(\PHPUnit\Framework\AssertionFailedError::class, \PHPUnit_Framework_AssertionFailedError::class);
}
if (! class_exists(\PHPUnit_Framework_TestSuite::class)) {
class_alias(\PHPUnit\Framework\TestSuite::class, \PHPUnit_Framework_TestSuite::class);
}
if (! class_exists(\PHPUnit\Framework\Error\Error::class)) {
class_alias(\PHPUnit_Framework_Error::class, \PHPUnit\Framework\Error\Error::class);
}
if (! class_exists(\PHPUnit\Framework\Error\Notice::class)) {
class_alias(\PHPUnit_Framework_Error_Notice::class, \PHPUnit\Framework\Error\Notice::class);
}