Skip to content

Commit

Permalink
upgrade to pest 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
danilopolani committed Mar 10, 2024
1 parent 4c374b8 commit 476c702
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 17 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^8.0.2",
"php": "^8.2",
"firebase/php-jwt": "^6.4",
"illuminate/auth": "^9.0|^10.0|^11.0",
"illuminate/http": "^9.0|^10.0|^11.0",
Expand All @@ -26,7 +26,7 @@
},
"require-dev": {
"orchestra/testbench": "^7.0|^8.0|^9.0",
"pestphp/pest": "^1.12"
"pestphp/pest": "^2.0"
},
"autoload": {
"psr-4": {
Expand Down
26 changes: 11 additions & 15 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
>
<testsuites>
<testsuite name="Test Suite">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</include>
</coverage>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true" cacheDirectory=".phpunit.cache">
<testsuites>
<testsuite name="Test Suite">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</source>
</phpunit>

0 comments on commit 476c702

Please sign in to comment.