File tree 3 files changed +13
-8
lines changed
3 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,19 @@ jobs:
13
13
fail-fast : true
14
14
matrix :
15
15
os : [ubuntu-latest, windows-latest]
16
- php : [8.2, 8.1 ]
17
- laravel : [10.*]
16
+ php : [8.1, 8. 2, 8.3 ]
17
+ laravel : [10.*, 11.* ]
18
18
stability : [prefer-lowest, prefer-stable]
19
19
include :
20
20
- laravel : 10.*
21
21
testbench : 8.*
22
22
carbon : ^2.63
23
+ - laravel : 11.*
24
+ testbench : 9.*
25
+ carbon : ' *'
26
+ exclude :
27
+ - laravel : 11.*
28
+ php : 8.1
23
29
24
30
name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
25
31
Original file line number Diff line number Diff line change 18
18
}
19
19
],
20
20
"require" : {
21
- "php" : " ^8.1" ,
21
+ "php" : " ^8.1|^8.2 " ,
22
22
"guzzlehttp/guzzle" : " ^7.7" ,
23
- "illuminate/contracts" : " ^10.0" ,
23
+ "illuminate/contracts" : " ^10.0|^11.0 " ,
24
24
"spatie/laravel-package-tools" : " ^1.14.0"
25
25
},
26
26
"require-dev" : {
27
27
"laravel/pint" : " ^1.0" ,
28
- "nunomaduro/collision" : " ^7.9 " ,
28
+ "nunomaduro/collision" : " ^7.0|^8.0 " ,
29
29
"nunomaduro/larastan" : " ^2.0.1" ,
30
- "orchestra/testbench" : " ^8.0" ,
30
+ "orchestra/testbench" : " ^8.0|^9.0 " ,
31
31
"pestphp/pest" : " ^2.0" ,
32
32
"pestphp/pest-plugin-arch" : " ^2.0" ,
33
- "pestphp/pest-plugin-laravel" : " ^2.0" ,
34
33
"phpstan/extension-installer" : " ^1.1" ,
35
34
"phpstan/phpstan-deprecation-rules" : " ^1.0" ,
36
35
"phpstan/phpstan-phpunit" : " ^1.0"
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class LaravelTurnstile
10
10
{
11
11
protected ?string $ url = 'https://challenges.cloudflare.com/turnstile/v0/siteverify ' ;
12
12
13
- public function validate (string $ cfResponse = null ): array
13
+ public function validate (? string $ cfResponse = null ): array
14
14
{
15
15
$ turnstileResponse = is_null ($ cfResponse )
16
16
? request ()->get ('cf-turnstile-response ' )
You can’t perform that action at this time.
0 commit comments