Skip to content

Commit 14d7e34

Browse files
authored
Merge pull request #7 from lukinovec/add-l10-and-remove-l8-support
Add L10 and remove L8 support
2 parents 4e8c63a + acc5508 commit 14d7e34

File tree

3 files changed

+31
-39
lines changed

3 files changed

+31
-39
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
laravel: [8, 9]
11+
laravel: [9, 10]
1212

1313
steps:
1414
- name: Checkout code
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup PHP
1818
uses: shivammathur/setup-php@v2
1919
with:
20-
php-version: '8.0'
20+
php-version: '8.1'
2121

2222
- name: Install dependencies
2323
run: composer require "laravel/framework:^${{matrix.laravel}}.0"

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
}
2121
],
2222
"require": {
23-
"illuminate/database": "^8.0|^9.0"
23+
"illuminate/database": "^9.0|^10.0"
2424
},
2525
"require-dev": {
26-
"phpunit/phpunit": "^8.4|^9.0",
27-
"orchestra/testbench": "^6.0|^7.0"
26+
"phpunit/phpunit": "^9.0|^10.0",
27+
"orchestra/testbench": "^7.0|^8.0"
2828
},
2929
"minimum-stability": "dev",
3030
"prefer-stable": true

phpunit.xml

Lines changed: 26 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,27 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
3-
backupStaticAttributes="false"
4-
bootstrap="vendor/autoload.php"
5-
colors="true"
6-
convertErrorsToExceptions="true"
7-
convertNoticesToExceptions="true"
8-
convertWarningsToExceptions="true"
9-
processIsolation="false"
10-
stopOnFailure="false">
11-
<testsuites>
12-
<testsuite name="Unit">
13-
<directory suffix="Test.php">./tests</directory>
14-
</testsuite>
15-
</testsuites>
16-
<filter>
17-
<whitelist processUncoveredFilesFromWhitelist="true">
18-
<directory suffix=".php">./src</directory>
19-
<exclude>
20-
<file>./src/routes.php</file>
21-
</exclude>
22-
</whitelist>
23-
</filter>
24-
<php>
25-
<env name="APP_ENV" value="testing"/>
26-
<env name="BCRYPT_ROUNDS" value="4"/>
27-
<env name="CACHE_DRIVER" value="redis"/>
28-
<env name="MAIL_DRIVER" value="array"/>
29-
<env name="QUEUE_CONNECTION" value="sync"/>
30-
<env name="SESSION_DRIVER" value="array"/>
31-
<env name="DB_CONNECTION" value="sqlite"/>
32-
<env name="DB_DATABASE" value=":memory:"/>
33-
<env name="AWS_DEFAULT_REGION" value="us-west-2"/>
34-
</php>
35-
</phpunit>
2+
<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">
3+
<coverage>
4+
<include>
5+
<directory suffix=".php">./src</directory>
6+
</include>
7+
<exclude>
8+
<file>./src/routes.php</file>
9+
</exclude>
10+
</coverage>
11+
<testsuites>
12+
<testsuite name="Unit">
13+
<directory suffix="Test.php">./tests</directory>
14+
</testsuite>
15+
</testsuites>
16+
<php>
17+
<env name="APP_ENV" value="testing"/>
18+
<env name="BCRYPT_ROUNDS" value="4"/>
19+
<env name="CACHE_DRIVER" value="redis"/>
20+
<env name="MAIL_DRIVER" value="array"/>
21+
<env name="QUEUE_CONNECTION" value="sync"/>
22+
<env name="SESSION_DRIVER" value="array"/>
23+
<env name="DB_CONNECTION" value="sqlite"/>
24+
<env name="DB_DATABASE" value=":memory:"/>
25+
<env name="AWS_DEFAULT_REGION" value="us-west-2"/>
26+
</php>
27+
</phpunit>

0 commit comments

Comments
 (0)