Skip to content

Commit

Permalink
upgraded php and laravel version
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdulici committed Mar 16, 2023
1 parent 54b3a86 commit 231bcac
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 29 deletions.
19 changes: 10 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
"name": "akaunting/laravel-module",
"description": "Module management package for Laravel",
"keywords": ["laravel", "module", "rad", "akaunting"],
"keywords": [
"laravel",
"module",
"rad",
"akaunting"
],
"license": "MIT",
"authors": [
{
Expand All @@ -12,16 +17,12 @@
}
],
"require": {
"php": ">=7.3"
"php": "^8.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": ">=2.16",
"laravel/framework": "^8.0",
"mockery/mockery": ">=1.0",
"orchestra/testbench": ">=6.0",
"phpunit/phpunit": ">=8.5",
"phpstan/phpstan": ">=0.12.14",
"spatie/phpunit-snapshot-assertions": ">=2.1.0"
"laravel/framework": "^9.0|^10.0",
"orchestra/testbench": "^7.4|^8.0",
"phpunit/phpunit": "^9.5"
},
"autoload": {
"psr-4": {
Expand Down
38 changes: 18 additions & 20 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,30 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
backupGlobals="false"
backupStaticProperties="false"
>
<coverage>
<include>
<directory suffix=".php">./src</directory>
</include>
</coverage>
<testsuites>
<testsuite name="Akaunting Module Test Suite">
<directory>tests</directory>
<testsuite name="Package Test Suite">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
<logging>
<log type="tap" target="build/report.tap"/>
<log type="junit" target="build/report.junit.xml"/>
<log type="coverage-html" target="build/coverage"/>
<log type="coverage-text" target="build/coverage.txt"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
<php>
<env name="CACHE_DRIVER" value="array"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="QUEUE_DRIVER" value="sync"/>
<env name="QUEUE_CONNECTION" value="sync"/>
<env name="MAIL_DRIVER" value="array"/>
<env name="MAIL_MAILER" value="array"/>
</php>
</phpunit>

0 comments on commit 231bcac

Please sign in to comment.