File tree Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,19 @@ jobs:
1313 fail-fast : true
1414 matrix :
1515 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.* ]
1818 stability : [prefer-lowest, prefer-stable]
1919 include :
2020 - laravel : 10.*
2121 testbench : 8.*
2222 carbon : ^2.63
23+ - laravel : 11.*
24+ testbench : 9.*
25+ carbon : ' *'
26+ exclude :
27+ - laravel : 11.*
28+ php : 8.1
2329
2430 name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2531
Original file line number Diff line number Diff line change 1818 }
1919 ],
2020 "require" : {
21- "php" : " ^8.1" ,
21+ "php" : " ^8.1|^8.2 " ,
2222 "guzzlehttp/guzzle" : " ^7.7" ,
23- "illuminate/contracts" : " ^10.0" ,
23+ "illuminate/contracts" : " ^10.0|^11.0 " ,
2424 "spatie/laravel-package-tools" : " ^1.14.0"
2525 },
2626 "require-dev" : {
2727 "laravel/pint" : " ^1.0" ,
28- "nunomaduro/collision" : " ^7.9 " ,
28+ "nunomaduro/collision" : " ^7.0|^8.0 " ,
2929 "nunomaduro/larastan" : " ^2.0.1" ,
30- "orchestra/testbench" : " ^8.0" ,
30+ "orchestra/testbench" : " ^8.0|^9.0 " ,
3131 "pestphp/pest" : " ^2.0" ,
3232 "pestphp/pest-plugin-arch" : " ^2.0" ,
33- "pestphp/pest-plugin-laravel" : " ^2.0" ,
3433 "phpstan/extension-installer" : " ^1.1" ,
3534 "phpstan/phpstan-deprecation-rules" : " ^1.0" ,
3635 "phpstan/phpstan-phpunit" : " ^1.0"
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class LaravelTurnstile
1010{
1111 protected ?string $ url = 'https://challenges.cloudflare.com/turnstile/v0/siteverify ' ;
1212
13- public function validate (string $ cfResponse = null ): array
13+ public function validate (? string $ cfResponse = null ): array
1414 {
1515 $ turnstileResponse = is_null ($ cfResponse )
1616 ? request ()->get ('cf-turnstile-response ' )
You can’t perform that action at this time.
0 commit comments