Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
MannikJ committed Mar 6, 2023
1 parent 4794dc4 commit 30cad71
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 31 deletions.
1 change: 1 addition & 0 deletions .phpunit.cache/test-results
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":1,"defects":[],"times":{"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\HasWalletTest::wallet":0.043,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\HasWalletTest::wallet_transactions":0.036,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\RecalculateWalletBalanceTest::dispatch":0.021,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\TransactionTest::wallet":0.018,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\TransactionTest::origin":0.017,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\TransactionTest::children":0.022,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\TransactionTest::reference":0.018,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\TransactionTest::update":0.021,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\TransactionTest::create_converts_amount_to_absolute_value":0.017,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\TransactionTest::delete_model":0.02,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\TransactionTest::replace":0.028,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\TransactionTest::generated_hash_is_set":0.04,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\TransactionTest::get_total_amount":0.079,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\TransactionTest::scope_select_total_amount":0.06,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\TransactionTest::get_total_amount_attribute":0.044,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\WalletTest::owner":0.014,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\WalletTest::delete_and_restore_wallet":0.02,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\WalletTest::deposit":0.033,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\WalletTest::deposit_negative_amount":0.02,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\WalletTest::fail_deposit":0.026,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\WalletTest::force_withdraw":0.019,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\WalletTest::can_withdraw":0.015,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\WalletTest::withdraw":0.021,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\WalletTest::set_balance":0.027,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\WalletTest::actual_balance":0.044,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\WalletTest::balance_change_doesnt_trigger_recalculation":0.019,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\WalletTest::balance_change_triggers_recalculation_if_activated":0.024,"MannikJ\\Laravel\\Wallet\\Tests\\Unit\\WalletTest::recalculation_performance":7.943}}
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
}
],
"require": {
"php": "^8.0",
"illuminate/support": "^9.0"
"php": "^8.1",
"illuminate/support": "^10.0"
},
"require-dev": {
"doctrine/dbal": "^3.0",
"nunomaduro/larastan": "^1.0",
"orchestra/testbench": "^7.5",
"phpunit/phpunit": "^9.5"
"doctrine/dbal": "^3.6",
"nunomaduro/larastan": "^2.5",
"orchestra/testbench": "^8.0",
"phpunit/phpunit": "^10.0"
},
"autoload": {
"psr-4": {
Expand All @@ -60,7 +60,7 @@
}
},
"scripts": {
"test": "vendor/bin/phpunit tests --colors=always --verbose --testdox",
"test": "vendor/bin/phpunit tests --colors=always --testdox",
"post-update-cmd": [
"vendor/bin/phpstan analyse",
"vendor/bin/composer test"
Expand Down
36 changes: 12 additions & 24 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="./vendor/autoload.php"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="Application Test Suite">
<directory>./tests/</directory>
</testsuite>
</testsuites>
<php>
<env name="APP_ENV"
value="testing"/>
<env name="DB_CONNECTION"
value="testing"/>
<env name="WALLET_COLUMN_TYPE"
value="decimal"/>
</php>
</phpunit>
<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.0/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<testsuites>
<testsuite name="Application Test Suite">
<directory>./tests/</directory>
</testsuite>
</testsuites>
<php>
<env name="APP_ENV" value="testing"/>
<env name="DB_CONNECTION" value="testing"/>
<env name="WALLET_COLUMN_TYPE" value="decimal"/>
</php>
</phpunit>

0 comments on commit 30cad71

Please sign in to comment.