Skip to content

Commit b18dfab

Browse files
authored
Merge pull request #9 from ossycodes/support-laravel-12
Support for Laravel 12
2 parents 80706f0 + 37eaa5e commit b18dfab

File tree

2 files changed

+15
-26
lines changed

2 files changed

+15
-26
lines changed

composer.json

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"captcha",
77
"laravel"
88
],
9-
"homepage": "https://github.com/:vendor/:package_name",
9+
"homepage": "https://github.com/ossycodes/friendlycaptcha",
1010
"license": "MIT",
1111
"type": "library",
1212
"authors": [
@@ -17,13 +17,13 @@
1717
}
1818
],
1919
"require": {
20-
"php": "^7.4|^8.0",
21-
"illuminate/support": "^8.0|^9.0|^10.0|^11.0",
20+
"php": "^7.4|^8.0|^8.1|^8.2|^8.3",
21+
"illuminate/support": "^8.0|^9.0|^10.0|^11.0|^12.0",
2222
"guzzlehttp/guzzle": "^7.0"
2323
},
2424
"require-dev": {
25-
"orchestra/testbench": "^6.0|^7.0|^8.0",
26-
"phpunit/phpunit": "^9.0"
25+
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0",
26+
"phpunit/phpunit": "^8.0 || ^9.5 || ^10.5 || ^11.0 || ^12.0"
2727
},
2828
"autoload": {
2929
"psr-4": {
@@ -40,7 +40,11 @@
4040
"test-coverage": "vendor/bin/phpunit --coverage-html coverage"
4141
},
4242
"config": {
43-
"sort-packages": true
43+
"sort-packages": true,
44+
"platform-check": false,
45+
"allow-plugins": {
46+
"php-http/discovery": true
47+
}
4448
},
4549
"extra": {
4650
"laravel": {

phpunit.xml.dist

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,17 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit bootstrap="vendor/autoload.php"
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
4+
bootstrap="vendor/autoload.php"
35
backupGlobals="false"
4-
backupStaticAttributes="false"
56
colors="true"
6-
verbose="true"
7-
convertErrorsToExceptions="true"
8-
convertNoticesToExceptions="true"
9-
convertWarningsToExceptions="true"
107
processIsolation="false"
118
stopOnFailure="false">
129
<testsuites>
1310
<testsuite name="Test Suite">
1411
<directory>tests</directory>
1512
</testsuite>
1613
</testsuites>
17-
<filter>
18-
<whitelist>
19-
<directory suffix=".php">src/</directory>
20-
</whitelist>
21-
</filter>
22-
<logging>
23-
<log type="tap" target="build/report.tap"/>
24-
<log type="junit" target="build/report.junit.xml"/>
25-
<log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true"/>
26-
<log type="coverage-text" target="build/coverage.txt"/>
27-
<log type="coverage-clover" target="build/logs/clover.xml"/>
28-
</logging>
2914
<php>
30-
<env name="DB_CONNECTION" value="testing" />
15+
<env name="DB_CONNECTION" value="testing"/>
3116
</php>
32-
</phpunit>
17+
</phpunit>

0 commit comments

Comments
 (0)