Skip to content

Commit

Permalink
build: Update dependencies and migrate PHP Unit configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Sacha Telgenhof <[email protected]>
  • Loading branch information
stelgenhof committed Feb 7, 2024
1 parent 70d16c8 commit cfbdb4c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@
"guzzlehttp/guzzle": "^7.8"
},
"require-dev": {
"azuyalabs/php-cs-fixer-config": "^0.1",
"azuyalabs/php-cs-fixer-config": "^0.2",
"fakerphp/faker": "^1.23",
"infection/infection": "^0.26",
"mockery/mockery": "^1.6",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9.6",
"phpunit/phpunit": "^10.0",
"vimeo/psalm": "^5.18"
},
"minimum-stability": "dev",
Expand Down
22 changes: 10 additions & 12 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8" ?>
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ This file is part of the WAQI (World Air Quality Index) package.
~
Expand All @@ -12,24 +12,22 @@
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
verbose="true"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage>
<include>
<directory suffix=".php">src/</directory>
</include>
</coverage>
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
cacheDirectory=".phpunit.cache"
backupStaticProperties="false"
>
<testsuites>
<testsuite name="WAQI Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">src/</directory>
</include>
</source>
</phpunit>

0 comments on commit cfbdb4c

Please sign in to comment.