Skip to content
Open
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
22 changes: 11 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@
}
],
"require": {
"php": "^8.0.2",
"illuminate/database": "^9.19",
"illuminate/http": "^9.19",
"illuminate/routing": "^9.19",
"illuminate/support": "^9.19",
"nesbot/carbon": "^2.62.1",
"quickbooks/v3-php-sdk": "^5.4.6"
"php": "^8.1",
"illuminate/database": "^10.48",
"illuminate/http": "^10.48",
"illuminate/routing": "^10.48",
"illuminate/support": "^10.48",
"nesbot/carbon": "^2.72",
"quickbooks/v3-php-sdk": "^6.1"
},
"require-dev": {
"laravel/pint": "^1.2",
"mockery/mockery": "^1.5.1",
"phpunit/phpunit": "^9.5.8",
"psy/psysh": "^0.11",
"laravel/pint": "^1.17",
"mockery/mockery": "^1.6",
"phpunit/phpunit": "^10.5",
"psy/psysh": "^0.12.4",
"scrutinizer/ocular": "^1.9"
},
"autoload": {
Expand Down
73 changes: 28 additions & 45 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,53 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
This is the "dist(ribution)" phpunit.xml.dist file. It sets the defaults that are then over written by any files in
phpunit.xml, which is then over wrote by flags passed in via the command line. The plan is that this file is to be
used by ci to do the full suit of tests, and a developer can copy this file to phpunit.xml to trim down some of the
options.
-->

<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
verbose="true">

<testsuites>
<testsuite name="Spinen's Laravel QuickBooks Client">
<directory>./tests/</directory>
</testsuite>
</testsuites>

<php>
<!-- <env name="VARIABLE" value="value"/> -->
</php>

<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
<exclude>
<directory>./src/Http/Exceptions</directory>
<directory>./src/Providers</directory>
</exclude>
</whitelist>
</filter>

<logging>
<log type="coverage-html"
target="./build/phpunit/coverage"
lowUpperBound="35"
highLowerBound="70"/>
<log type="coverage-text"
target="php://stdout"
showOnlySummary="true"
showUncoveredFiles="false"/>
<log type="coverage-clover" target="build/phpunit/logs/clover.xml"/>
<log type="junit" target="./build/phpunit/logs/junit.xml"/>
</logging>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<coverage>
<report>
<clover outputFile="build/phpunit/logs/clover.xml"/>
<html outputDirectory="./build/phpunit/coverage" lowUpperBound="35" highLowerBound="70"/>
<text outputFile="php://stdout" showUncoveredFiles="false" showOnlySummary="true"/>
</report>
</coverage>
<testsuites>
<testsuite name="Spinen's Laravel QuickBooks Client">
<directory>./tests/</directory>
</testsuite>
</testsuites>
<php>
<!-- <env name="VARIABLE" value="value"/> -->
</php>
<logging>
<junit outputFile="./build/phpunit/logs/junit.xml"/>
</logging>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
<exclude>
<directory>./src/Http/Exceptions</directory>
<directory>./src/Providers</directory>
</exclude>
</source>
</phpunit>
53 changes: 53 additions & 0 deletions phpunit.xml.dist.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
This is the "dist(ribution)" phpunit.xml.dist file. It sets the defaults that are then over written by any files in
phpunit.xml, which is then over wrote by flags passed in via the command line. The plan is that this file is to be
used by ci to do the full suit of tests, and a developer can copy this file to phpunit.xml to trim down some of the
options.
-->

<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
verbose="true">

<testsuites>
<testsuite name="Spinen's Laravel QuickBooks Client">
<directory>./tests/</directory>
</testsuite>
</testsuites>

<php>
<!-- <env name="VARIABLE" value="value"/> -->
</php>

<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
<exclude>
<directory>./src/Http/Exceptions</directory>
<directory>./src/Providers</directory>
</exclude>
</whitelist>
</filter>

<logging>
<log type="coverage-html"
target="./build/phpunit/coverage"
lowUpperBound="35"
highLowerBound="70"/>
<log type="coverage-text"
target="php://stdout"
showOnlySummary="true"
showUncoveredFiles="false"/>
<log type="coverage-clover" target="build/phpunit/logs/clover.xml"/>
<log type="junit" target="./build/phpunit/logs/junit.xml"/>
</logging>
</phpunit>