Skip to content

Commit 0a0e4ef

Browse files
committed
bump deps
1 parent ef24aac commit 0a0e4ef

7 files changed

Lines changed: 31 additions & 56 deletions

File tree

.gitattributes

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
/.ecs export-ignore
2+
/.gitattributes export-ignore
23
/.github export-ignore
4+
/.gitignore export-ignore
35
/.vscode export-ignore
4-
/tests export-ignore
56
/demo export-ignore
6-
/.gitattributes export-ignore
7-
/.gitignore export-ignore
7+
/infection.json.dist export-ignore
88
/phpunit-coverage.xml export-ignore
99
/phpunit.xml export-ignore
1010
/rector.php export-ignore
1111
/sonar-project.properties export-ignore
12-
/infection.json.dist export-ignore
12+
/tests export-ignore
13+
/phpstan.neon export-ignore
14+
/chevere.svg export-ignore
1315

1416
*.php diff=php

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.DS_Store
22
/.idea
33
/.phpunit.cache
4+
/.phpunit.result.cache
45
/.scannerwork
56
/vendor
67
/composer.lock

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
"chevere/var-dump": "^2.0.3"
1919
},
2020
"require-dev": {
21-
"phpstan/phpstan": "^1.9",
22-
"phpunit/phpunit": "^9.5",
23-
"symplify/easy-coding-standard": "^11.1"
21+
"phpstan/phpstan": "^2.1",
22+
"phpunit/phpunit": "^10.5",
23+
"symplify/easy-coding-standard": "^12.5"
2424
},
2525
"autoload": {
2626
"files": [
@@ -54,11 +54,11 @@
5454
"phpstan": "vendor/bin/phpstan analyze src/ --memory-limit 512M --level 9",
5555
"test": [
5656
"Composer\\Config::disableProcessTimeout",
57-
"vendor/bin/phpunit -c phpunit.xml"
57+
"vendor/bin/phpunit -c phpunit.xml --no-coverage"
5858
],
5959
"test-coverage": [
6060
"Composer\\Config::disableProcessTimeout",
61-
"vendor/bin/phpunit -c phpunit-coverage.xml"
61+
"vendor/bin/phpunit -c phpunit.xml"
6262
],
6363
"cs-update": "mkdir -p .ecs && cd .ecs && curl -O https://raw.githubusercontent.com/chevere/code-style/main/.ecs/ecs-chevere.php",
6464
"cs-fix": "vendor/bin/ecs --config='.ecs/ecs.php' check src --fix",

infection.json.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/infection/infection/0.28.1/resources/schema.json",
2+
"$schema": "https://raw.githubusercontent.com/infection/infection/0.29.10/resources/schema.json",
33
"source": {
44
"directories": [
55
"src/"

phpstan.neon

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
parameters:
2+
level: 9
3+
paths:
4+
- src

phpunit-coverage.xml

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

phpunit.xml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
colors="true"
4-
verbose="true"
5-
cacheResultFile=".phpunit.cache/test-results"
6-
failOnRisky="true"
7-
failOnWarning="true"
8-
testdox="false"
9-
executionOrder="default">
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" failOnRisky="true" failOnWarning="true" testdox="false" executionOrder="default">
103
<testsuites>
114
<testsuite name="Chevere Test suite">
125
<directory suffix="Test.php">tests/</directory>
136
</testsuite>
147
</testsuites>
15-
<coverage cacheDirectory=".phpunit.cache/code-coverage"
16-
processUncoveredFiles="true"
17-
ignoreDeprecatedCodeUnits="true">
8+
<logging>
9+
<junit outputFile="build/logs/junit.xml"/>
10+
</logging>
11+
<coverage ignoreDeprecatedCodeUnits="true">
12+
<report>
13+
<clover outputFile="build/logs/clover.xml"/>
14+
<html outputDirectory="build/logs/html" lowUpperBound="50" highLowerBound="90"/>
15+
<xml outputDirectory="build/logs/xml-coverage"/>
16+
</report>
17+
</coverage>
18+
<source>
1819
<include>
1920
<directory suffix=".php">src/</directory>
2021
</include>
2122
<exclude>
2223
<directory suffix=".php">src/**/Exceptions/</directory>
2324
</exclude>
24-
</coverage>
25-
</phpunit>
25+
</source>
26+
</phpunit>

0 commit comments

Comments
 (0)