Skip to content

Commit

Permalink
Laravel 11, PHP 8.2 (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
hotmeteor authored Mar 19, 2024
1 parent 5e54411 commit c262f73
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 26 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
strategy:
fail-fast: true
matrix:
laravel: [ 9.*, 10.* ]
php: [ 8.1, 8.2 ]
laravel: [ 10.*, 11.* ]
php: [ 8.2, 8.3 ]
include:
- laravel: 9.*
testbench: 6.*
- laravel: 10.*
testbench: 8.*
- laravel: 11.*
testbench: 9.*

name: P${{ matrix.php }} - L${{ matrix.laravel }}

Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
"source": "https://github.com/hotmeteor/receiver"
},
"require": {
"php": "^8.1",
"illuminate/support": "^9.0|^10.0"
"php": "^8.2",
"illuminate/support": "^10.0|^11.0"
},
"require-dev": {
"nunomaduro/collision": "^6.0|^7.0",
"orchestra/testbench": "^7.0|^8.0",
"phpunit/phpunit": "^9.5.8|^10.0",
"stripe/stripe-php": "^9.2"
"nunomaduro/collision": "^7.0|^8.0",
"orchestra/testbench": "^8.0|^9.0",
"phpunit/phpunit": "^10.0|^11.0",
"stripe/stripe-php": "^13.0"
},
"autoload": {
"psr-4": {
Expand Down
28 changes: 12 additions & 16 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
>
<coverage>
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>
<testsuites>
<testsuite name="default">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>
</phpunit>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.0/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true">
<testsuites>
<testsuite name="default">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
</source>
</phpunit>

0 comments on commit c262f73

Please sign in to comment.