Skip to content

Commit

Permalink
Bump phpunit 8 to 9
Browse files Browse the repository at this point in the history
  • Loading branch information
koriym committed Jan 14, 2021
1 parent 9eca288 commit 18cb7dd
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 21 deletions.
7 changes: 2 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{
"name": "bear/streamer",
"description": "BEAR.Sunday HTTP stream responder",
"keywords": [
"BEAR",
"stream"
],
"keywords": ["BEAR", "stream"],
"license": "MIT",
"authors": [
{
Expand Down Expand Up @@ -35,7 +32,7 @@
"ray/di": "^2.11"
},
"require-dev": {
"phpunit/phpunit": "^8.5",
"phpunit/phpunit": "^9.5",
"doctrine/annotations": "^1.7",
"bamarni/composer-bin-plugin": "^1.4"
},
Expand Down
30 changes: 14 additions & 16 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php">
<testsuites>
<testsuite name="all">
<directory>tests</directory>
</testsuite>
</testsuites>
<php>
<ini name="error_reporting" value="-1" />
</php>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src</directory>
</whitelist>
</filter>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" bootstrap="vendor/autoload.php">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>
<testsuites>
<testsuite name="all">
<directory>tests</directory>
</testsuite>
</testsuites>
<php>
<ini name="error_reporting" value="-1"/>
</php>
</phpunit>

0 comments on commit 18cb7dd

Please sign in to comment.