Skip to content

Commit 3ba473d

Browse files
committed
Allow Laravel 10
1 parent 52b3348 commit 3ba473d

File tree

4 files changed

+36
-42
lines changed

4 files changed

+36
-42
lines changed

.editorconfig

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
; This file is for unifying the coding style for different editors and IDEs.
2+
; More information at http://editorconfig.org
3+
4+
root = true
5+
6+
[*]
7+
charset = utf-8
8+
indent_size = 4
9+
indent_style = space
10+
end_of_line = lf
11+
insert_final_newline = true
12+
trim_trailing_whitespace = true
13+
14+
[*.md]
15+
trim_trailing_whitespace = false

.github/workflows/run-tests.yml

+4-14
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,13 @@ jobs:
1919

2020
strategy:
2121
matrix:
22-
php: [8.2, 8.1, 8.0, 7.4, 7.3]
23-
laravel: [9.*]
22+
php: [8.2, 8.1, 8.0]
23+
laravel: [10.*, 9.*]
2424
dependency-version: [prefer-lowest, prefer-stable]
2525
exclude:
2626
- php: 8.0
27-
dependency-version: prefer-lowest
28-
- php: 7.4
29-
laravel: 9.*
30-
- php: 7.3
31-
laravel: 9.*
32-
include:
33-
- php: 7.2
34-
laravel: 6.*
35-
- php: 7.3
36-
laravel: 7.*
37-
- php: 7.4
38-
laravel: 8.*
27+
laravel: 10.*
28+
3929
steps:
4030
- name: Checkout code
4131
uses: actions/checkout@v2

composer.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^7.2|^8",
14-
"illuminate/support": "^6|^7|^8|^9",
15-
"symfony/form": "^4|^5|^6",
16-
"symfony/validator": "^4|^5|^6",
17-
"symfony/twig-bridge": "^4|^5|^6",
18-
"twig/twig": "^2.13|^3.3.8"
13+
"php": "^8",
14+
"illuminate/support": "^9|^10",
15+
"symfony/form": "^6",
16+
"symfony/validator": "^6",
17+
"symfony/twig-bridge": "^6",
18+
"twig/twig": "^3.3.8"
1919
},
2020
"autoload": {
2121
"psr-4": {

phpunit.xml.dist

+11-22
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,13 @@
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-
stopOnError="false"
11-
stopOnFailure="false"
12-
verbose="true"
13-
>
14-
<testsuites>
15-
<testsuite name="Cors Test Suite">
16-
<directory>./tests/</directory>
17-
</testsuite>
18-
</testsuites>
19-
<filter>
20-
<whitelist>
21-
<directory>./src</directory>
22-
</whitelist>
23-
</filter>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnError="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
3+
<coverage>
4+
<include>
5+
<directory>./src</directory>
6+
</include>
7+
</coverage>
8+
<testsuites>
9+
<testsuite name="Cors Test Suite">
10+
<directory>./tests/</directory>
11+
</testsuite>
12+
</testsuites>
2413
</phpunit>

0 commit comments

Comments
 (0)