mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-17 11:59:05 +00:00
Update libraries, add phpunit xml for coverage.
This commit is contained in:
@@ -111,7 +111,7 @@
|
|||||||
"nunomaduro/larastan": "^0.6.2",
|
"nunomaduro/larastan": "^0.6.2",
|
||||||
"phpstan/phpstan": "^0.12.34",
|
"phpstan/phpstan": "^0.12.34",
|
||||||
"phpstan/phpstan-deprecation-rules": "^0.12.5",
|
"phpstan/phpstan-deprecation-rules": "^0.12.5",
|
||||||
"phpunit/phpunit": "^8.5",
|
"phpunit/phpunit": "^9.2",
|
||||||
"psalm/plugin-laravel": "^1.1",
|
"psalm/plugin-laravel": "^1.1",
|
||||||
"roave/security-advisories": "dev-master",
|
"roave/security-advisories": "dev-master",
|
||||||
"thecodingmachine/phpstan-strict-rules": "^0.12.0",
|
"thecodingmachine/phpstan-strict-rules": "^0.12.0",
|
||||||
|
|||||||
762
composer.lock
generated
762
composer.lock
generated
File diff suppressed because it is too large
Load Diff
51
phpunit.coverage.xml
Normal file
51
phpunit.coverage.xml
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<phpunit backupGlobals="false"
|
||||||
|
backupStaticAttributes="false"
|
||||||
|
bootstrap="vendor/autoload.php"
|
||||||
|
colors="true"
|
||||||
|
convertErrorsToExceptions="true"
|
||||||
|
convertNoticesToExceptions="true"
|
||||||
|
convertWarningsToExceptions="true"
|
||||||
|
processIsolation="false">
|
||||||
|
|
||||||
|
|
||||||
|
<listeners>
|
||||||
|
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener" />
|
||||||
|
</listeners>
|
||||||
|
|
||||||
|
<logging>
|
||||||
|
<log type="coverage-clover" target="./storage/build/clover-all.xml" />
|
||||||
|
</logging>
|
||||||
|
<php>
|
||||||
|
<env name="APP_ENV" value="testing"/>
|
||||||
|
<env name="CACHE_DRIVER" value="array"/>
|
||||||
|
<env name="SESSION_DRIVER" value="array"/>
|
||||||
|
<env name="QUEUE_DRIVER" value="sync"/>
|
||||||
|
</php>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<testsuites>
|
||||||
|
<!--
|
||||||
|
<testsuite name="Api">
|
||||||
|
<directory suffix="Test.php">./tests/Api</directory>
|
||||||
|
</testsuite>
|
||||||
|
<testsuite name="Feature">
|
||||||
|
<directory suffix="Test.php">./tests/Feature</directory>
|
||||||
|
</testsuite>
|
||||||
|
-->
|
||||||
|
<testsuite name="Unit">
|
||||||
|
<directory suffix="Test.php">./tests/Unit</directory>
|
||||||
|
</testsuite>
|
||||||
|
</testsuites>
|
||||||
|
<filter>
|
||||||
|
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||||
|
<directory suffix=".php">./app</directory>
|
||||||
|
</whitelist>
|
||||||
|
</filter>
|
||||||
|
|
||||||
|
</phpunit>
|
||||||
|
|
||||||
Reference in New Issue
Block a user