Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit d8d874a

Browse files
committed
added check for phpunit 5.7 fallback
updated doc-block
1 parent 863e308 commit d8d874a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/_autoload.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<?php
22
/**
3-
* @see https://github.com/zendframework/zend-component-installer for the canonical source repository
3+
* @link http://github.com/zendframework/zend-eventmanager for the canonical source repository
44
* @copyright Copyright (c) 2017 Zend Technologies USA Inc. (http://www.zend.com)
5-
* @license https://github.com/zendframework/zend-component-installer/blob/master/LICENSE.md New BSD License
5+
* @license https://github.com/zendframework/zend-eventmanager/blob/master/LICENSE.md
66
*/
77

88
use PHPUnit\Framework\ExpectationFailedException;
99

10-
class_alias('PHPUnit_Framework_ExpectationFailedException', ExpectationFailedException::class);
10+
if (class_exists('PHPUnit_Framework_ExpectationFailedException')) {
11+
class_alias('PHPUnit_Framework_ExpectationFailedException', ExpectationFailedException::class);
12+
}

0 commit comments

Comments
 (0)