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

Commit faf3cad

Browse files
committed
Fix minimum supported PHPUnit version
- Use PHPUnit >= 4.5 (first that properly reports version, and which includes prophecy). - Use composer autoloader as phpunit bootstrap.
1 parent ab252e4 commit faf3cad

File tree

3 files changed

+2
-36
lines changed

3 files changed

+2
-36
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"zendframework/zend-servicemanager": "^2.7.5 || ^3.0.3",
4141
"zendframework/zend-uri": "^2.5",
4242
"fabpot/php-cs-fixer": "1.7.*",
43-
"phpunit/PHPUnit": "~4.0"
43+
"phpunit/phpunit": "^4.5"
4444
},
4545
"suggest": {
4646
"zendframework/zend-authentication": "Zend\\Authentication component",

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
4-
bootstrap="./test/bootstrap.php"
4+
bootstrap="./vendor/autoload.php"
55
colors="true">
66
<testsuites>
77
<testsuite name="zend-view Test Suite">

test/bootstrap.php

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)