Skip to content

Commit 343a3f0

Browse files
committed
⬆️ Upgrade Inflector and phpunit
1 parent 54dd1ee commit 343a3f0

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

.scrutinizer.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
build:
22
environment:
33
php:
4-
version: 7.1
4+
version: 8.1
5+
ini:
6+
xdebug.mode: coverage
57

68
checks:
79
php:

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
"require": {
1212
"php": ">=7.1",
1313
"doctrine/dbal": "^2.3",
14-
"doctrine/inflector": "^1.0"
14+
"doctrine/inflector": "^1.0 || ^2.0"
1515
},
1616
"require-dev": {
17-
"phpunit/phpunit": "^6.1",
17+
"phpunit/phpunit": "^10.2",
1818
"satooshi/php-coveralls": "^1.0"
1919
},
2020
"autoload": {

phpunit.xml.dist

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

33
<phpunit backupGlobals="false"
4-
backupStaticAttributes="false"
54
colors="true"
6-
convertErrorsToExceptions="true"
7-
convertNoticesToExceptions="true"
8-
convertWarningsToExceptions="true"
95
processIsolation="false"
106
stopOnFailure="false"
11-
syntaxCheck="false"
127
bootstrap="vendor/autoload.php"
138
>
149
<testsuites>
@@ -17,13 +12,16 @@
1712
</testsuite>
1813
</testsuites>
1914

20-
<filter>
21-
<whitelist processUncoveredFilesFromWhitelist="true">
22-
<directory suffix=".php">src/</directory>
23-
</whitelist>
24-
</filter>
25-
<logging>
26-
<log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true"/>
27-
<log type="coverage-clover" target="build/logs/clover.xml"/>
28-
</logging>
15+
<source>
16+
<include>
17+
<directory suffix=".php">src/</directory>
18+
</include>
19+
</source>
20+
21+
<coverage>
22+
<report>
23+
<html outputDirectory="build/coverage" />
24+
<clover outputFile="build/logs/clover.xml" />
25+
</report>
26+
</coverage>
2927
</phpunit>

0 commit comments

Comments
 (0)