1
0
Fork 0
mirror of https://github.com/archtechx/money.git synced 2026-05-06 12:24:03 +00:00

Laravel 13 support

This commit is contained in:
Samuel Stancl 2026-03-30 23:44:58 +02:00
parent f5011bce68
commit afe124adb8
No known key found for this signature in database
GPG key ID: BA146259A1E16C57
4 changed files with 13 additions and 12 deletions

View file

@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
laravel: [10, 11, 12] laravel: [10, 11, 12, 13]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2

1
.gitignore vendored
View file

@ -1,4 +1,5 @@
.phpunit.result.cache .phpunit.result.cache
.phpunit.cache
package-lock.json package-lock.json
composer.lock composer.lock
vendor/ vendor/

View file

@ -25,14 +25,14 @@
}, },
"require": { "require": {
"php": "^8.2", "php": "^8.2",
"illuminate/support": "^10.0|^11.0|^12.0", "illuminate/support": "^10.0|^11.0|^12.0|^13.0",
"archtechx/helpers": "^0.3.2" "archtechx/helpers": "^0.3.2"
}, },
"require-dev": { "require-dev": {
"orchestra/testbench": "^8.0|^9.0|^10.0", "orchestra/testbench": "^8.0|^9.0|^10.0|^11.0",
"pestphp/pest": "^2.0|^3.7", "pestphp/pest": "^2.0|^3.7|^4.0",
"phpstan/phpstan": "^1.9.8|^2.1", "phpstan/phpstan": "^1.9.8|^2.1",
"pestphp/pest-plugin-laravel": "^2.0|^3.1", "pestphp/pest-plugin-laravel": "^2.0|^3.1|^4.0",
"larastan/larastan": "^2.4|^3.0" "larastan/larastan": "^2.4|^3.0"
}, },
"extra": { "extra": {

View file

@ -1,9 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> <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/11.5/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<coverage processUncoveredFiles="true"> <coverage>
<include>
<directory suffix=".php">./src</directory>
</include>
<report> <report>
<clover outputFile="coverage/phpunit/clover.xml"/> <clover outputFile="coverage/phpunit/clover.xml"/>
<html outputDirectory="coverage/phpunit/html" lowUpperBound="35" highLowerBound="70"/> <html outputDirectory="coverage/phpunit/html" lowUpperBound="35" highLowerBound="70"/>
@ -22,12 +19,15 @@
<env name="MAIL_DRIVER" value="array"/> <env name="MAIL_DRIVER" value="array"/>
<env name="QUEUE_CONNECTION" value="sync"/> <env name="QUEUE_CONNECTION" value="sync"/>
<env name="SESSION_DRIVER" value="array"/> <env name="SESSION_DRIVER" value="array"/>
<env name="DB_CONNECTION" value="testbench"/> <env name="DB_CONNECTION" value="testbench"/>
<env name="DB_DATABASE" value="main"/> <env name="DB_DATABASE" value="main"/>
<!-- <env name="DB_CONNECTION" value="sqlite"/> --> <!-- <env name="DB_CONNECTION" value="sqlite"/> -->
<!-- <env name="DB_DATABASE" value=":memory:"/> --> <!-- <env name="DB_DATABASE" value=":memory:"/> -->
<env name="AWS_DEFAULT_REGION" value="us-west-2"/> <env name="AWS_DEFAULT_REGION" value="us-west-2"/>
</php> </php>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</source>
</phpunit> </phpunit>