Skip to content

Commit 76710c2

Browse files
authored
Merge pull request #6 from brefphp/psr-logger
Update Dependencies
2 parents 31624f0 + caa3c74 commit 76710c2

File tree

3 files changed

+21
-19
lines changed

3 files changed

+21
-19
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
/composer.phar
33
/composer.lock
44
/demo
5+
.phpunit.result.cache

composer.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,17 @@
1717
"require": {
1818
"php": ">=7.2",
1919
"ext-json": "*",
20-
"psr/log": "^1.1"
20+
"psr/log": "^1.1 | ^2.0 | ^3.0"
2121
},
2222
"require-dev": {
23-
"phpunit/phpunit": "^8.0",
24-
"mnapoli/hard-mode": "^0.1.1",
23+
"phpunit/phpunit": "^9.5",
24+
"mnapoli/hard-mode": "^0.3.0",
2525
"mnapoli/pretty": "^1.0",
26-
"phpstan/phpstan": "^0.11.2"
26+
"phpstan/phpstan": "^1.0"
27+
},
28+
"config": {
29+
"allow-plugins": {
30+
"dealerdirect/phpcodesniffer-composer-installer": false
31+
}
2732
}
2833
}

phpunit.xml.dist

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<phpunit colors="true"
3-
bootstrap="./vendor/autoload.php">
4-
5-
<testsuites>
6-
<testsuite name="Test suite">
7-
<directory>./tests/</directory>
8-
</testsuite>
9-
</testsuites>
10-
11-
<filter>
12-
<whitelist processUncoveredFilesFromWhitelist="true">
13-
<directory suffix=".php">src</directory>
14-
</whitelist>
15-
</filter>
16-
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" bootstrap="./vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3+
<coverage processUncoveredFiles="true">
4+
<include>
5+
<directory suffix=".php">src</directory>
6+
</include>
7+
</coverage>
8+
<testsuites>
9+
<testsuite name="Test suite">
10+
<directory>./tests/</directory>
11+
</testsuite>
12+
</testsuites>
1713
</phpunit>

0 commit comments

Comments
 (0)