Skip to content

Commit

Permalink
update composer.json and phpunit config
Browse files Browse the repository at this point in the history
  • Loading branch information
jfelder committed Jan 11, 2024
1 parent 5154d40 commit 1d5aa23
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 15 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ atlassian-ide-plugin.xml
/vagrant
Vagrantfile
.phpunit.result.cache
/.phpunit.cache
13 changes: 6 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@
}
],
"require": {
"php": "^8.1.0",
"illuminate/support": "^9.0",
"illuminate/database": "^9.0",
"illuminate/pagination": "^9.0"
"php": "^8.1",
"illuminate/database": "^10.0",
"illuminate/pagination": "^10.0"
},
"require-dev": {
"mockery/mockery": "^1.4.4",
"phpunit/phpunit": "^9.5.8"
},
"mockery/mockery": "^1.5.1",
"phpunit/phpunit": "^10.0.7"
},
"autoload": {
"psr-4": {
"Jfelder\\": "src/Jfelder"
Expand Down
20 changes: 12 additions & 8 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
beStrictAboutTestsThatDoNotTestAnything="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
>
cacheDirectory=".phpunit.cache"
backupStaticProperties="false">
<testsuites>
<testsuite name="Package Test Suite">
<directory suffix=".php">./tests/</directory>
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
</phpunit>
<php>
<ini name="date.timezone" value="UTC" />
<ini name="intl.default_locale" value="C.UTF-8" />
<ini name="memory_limit" value="2048M" />
<env name="DB_CONNECTION" value="testing" />
</php>
</phpunit>

0 comments on commit 1d5aa23

Please sign in to comment.