Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,29 +31,25 @@
"marc-mabe/php-enum": "^v4.7.0"
},
"require-dev": {
"phpunit/phpunit": "^9.6.19",
"phpunit/phpunit": "^10.5",
"fakerphp/faker": "^1.23",
"friendsofphp/php-cs-fixer": "^3.54",
"squizlabs/php_codesniffer": "^3.9",
"phploc/phploc": "^7.0",
"nunomaduro/phpinsights": "^2.11",
"bmitch/churn-php": "dev-master",
"phpmetrics/phpmetrics": "dev-master",
"bmitch/churn-php": "^1.7",
"wapmorgan/php-deprecation-detector": "^2.0",
"phpstan/phpstan": "^1.10",
"tracy/tracy": "^2.10",
"vlucas/phpdotenv": "^5.6",
"phpunit/php-code-coverage": "^9.2"
"phpunit/php-code-coverage": "^10.1"
},
"scripts": {
"code-check": "./vendor/bin/phpstan analyse",
"code-test": "./vendor/bin/phpunit",
"cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --allow-risky yes",
"sniffer": "./vendor/bin/phpcs src/",
"phploc": "./vendor/bin/phploc src/",
"phpinsights": "./vendor/bin/phpinsights",
"phpdd": "./vendor/bin/phpdd --target 8.0 src/",
"phpmetrics": "./vendor/bin/phpmetrics --report-html=metrics src/",
"churn": "./vendor/bin/churn run src/"
},
"options": {
Expand Down
23 changes: 10 additions & 13 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,25 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
bootstrap="./tests/bootstrap.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
convertDeprecationsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
verbose="true"
>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
cacheDirectory="./var/.phpunit.cache"
backupStaticProperties="false">
<coverage>
<report>
<html outputDirectory="./var/coverage/" />
<html outputDirectory="./var/coverage/"/>
</report>
</coverage>
<php>
Expand All @@ -30,4 +22,9 @@
<directory>tests</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
</source>
</phpunit>