Skip to content

Commit dc98192

Browse files
authored
Laravel 11 support (#2)
1 parent e2e891c commit dc98192

File tree

4 files changed

+39
-38
lines changed

4 files changed

+39
-38
lines changed

.github/workflows/.github-actions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
phpcs:
1717
strategy:
1818
matrix:
19-
version: ['8.1', '8.2']
19+
version: ['8.1', '8.2', '8.3']
2020
runs-on: ubuntu-latest
2121

2222
steps:
@@ -44,7 +44,7 @@ jobs:
4444
phpunit:
4545
strategy:
4646
matrix:
47-
version: ['8.1', '8.2']
47+
version: ['8.1', '8.2', '8.3']
4848
runs-on: ubuntu-latest
4949

5050
steps:

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.0.4 - 13-03-2024
2+
- Laravel 11 Support
3+
- PHP 8.3 added to GitHub Actions
4+
15
# 1.0.3 (2023-05-01)
26

37
* Laravel 10 Support

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@
1212
],
1313
"require": {
1414
"php": ">=8.0.2",
15-
"illuminate/support": "^9.0|^10.0",
16-
"illuminate/database": "^9.0|^10.0",
17-
"illuminate/contracts": "^9.0|^10.0",
15+
"illuminate/support": "^9.0|^10.0|^11.0",
16+
"illuminate/database": "^9.0|^10.0|^11.0",
17+
"illuminate/contracts": "^9.0|^10.0|^11.0",
1818
"clntdev/scrubber": "^1.0"
1919
},
2020
"require-dev": {
2121
"roave/security-advisories": "dev-latest",
2222
"mockery/mockery": "^1.0",
23-
"orchestra/testbench": "^7.0|^8.0",
24-
"phpunit/phpunit": "^9.5",
25-
"symfony/var-dumper": "^6.0",
23+
"orchestra/testbench": "^7.0|^8.0|^9.0",
24+
"phpunit/phpunit": "^9.5|^10.5",
25+
"symfony/var-dumper": "^6.0|^7.0",
2626
"squizlabs/php_codesniffer": "^3.7",
2727
"timacdonald/log-fake": "^2.0",
2828
"clntdev/coding-standards": "^1.0"

phpunit.xml

Lines changed: 27 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,34 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
3-
backupStaticAttributes="false"
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
backupGlobals="false"
44
bootstrap="vendor/autoload.php"
55
colors="true"
6-
convertErrorsToExceptions="true"
7-
convertNoticesToExceptions="true"
8-
convertWarningsToExceptions="true"
96
processIsolation="false"
107
stopOnFailure="false"
11-
verbose="true"
8+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
9+
cacheDirectory=".phpunit.cache"
10+
backupStaticProperties="false"
1211
>
13-
<testsuites>
14-
<testsuite name="Unit">
15-
<directory suffix="Test.php">./tests/Unit</directory>
16-
</testsuite>
17-
<testsuite name="Feature">
18-
<directory suffix="Test.php">./tests/Feature</directory>
19-
</testsuite>
20-
</testsuites>
21-
22-
<coverage>
23-
<include>
24-
<directory suffix=".php">src</directory>
25-
</include>
26-
</coverage>
27-
28-
<php>
29-
<env name="APP_ENV" value="testing"/>
30-
<env name="BCRYPT_ROUNDS" value="4"/>
31-
<env name="CACHE_DRIVER" value="array"/>
32-
<env name="MAIL_MAILER" value="array"/>
33-
<env name="QUEUE_CONNECTION" value="sync"/>
34-
<env name="SESSION_DRIVER" value="array"/>
35-
<env name="APP_KEY" value="aLwEwCKN58IdVrWv8GQv/XEN+1IEVmHxAxYS129S8oc="/>
36-
</php>
12+
<testsuites>
13+
<testsuite name="Unit">
14+
<directory suffix="Test.php">./tests/Unit</directory>
15+
</testsuite>
16+
<testsuite name="Feature">
17+
<directory suffix="Test.php">./tests/Feature</directory>
18+
</testsuite>
19+
</testsuites>
20+
<php>
21+
<env name="APP_ENV" value="testing"/>
22+
<env name="BCRYPT_ROUNDS" value="4"/>
23+
<env name="CACHE_DRIVER" value="array"/>
24+
<env name="MAIL_MAILER" value="array"/>
25+
<env name="QUEUE_CONNECTION" value="sync"/>
26+
<env name="SESSION_DRIVER" value="array"/>
27+
<env name="APP_KEY" value="aLwEwCKN58IdVrWv8GQv/XEN+1IEVmHxAxYS129S8oc="/>
28+
</php>
29+
<source>
30+
<include>
31+
<directory suffix=".php">src</directory>
32+
</include>
33+
</source>
3734
</phpunit>

0 commit comments

Comments
 (0)