diff --git a/.github/workflows/analyse.yml b/.github/workflows/analyse.yml index 2eed0a0..f8a0fe8 100644 --- a/.github/workflows/analyse.yml +++ b/.github/workflows/analyse.yml @@ -9,18 +9,20 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.1] - laravel: [10.*] + php: [8.3] + laravel: [10.*, 11.*] stability: [prefer-stable] include: - laravel: 10.* testbench: 8.* + - laravel: 11.* + testbench: 9.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 701b3bf..c85cbf7 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -9,18 +9,20 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.1] - laravel: [10.*] + php: [8.3] + laravel: [10.*, 11.*] stability: [prefer-stable] include: - laravel: 10.* testbench: 8.* + - laravel: 11.* + testbench: 9.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index efaf7fc..e9a5c3d 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -11,12 +11,12 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: 8.2 + php-version: 8.3 extensions: dom, curl, libxml, mbstring, zip, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo coverage: none diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bbeb413..bf6eb0c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,18 +9,23 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.1, 8.2] - laravel: [10.*] + php: [8.1, 8.2, 8.3] + laravel: [10.*, 11.*] stability: [prefer-lowest, prefer-stable] include: - laravel: 10.* testbench: 8.* + - laravel: 11.* + testbench: 9.* + exclude: + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/README.md b/README.md index 430d3cb..23d2aee 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ This package has an endpoint to receive events from the [Mageplaza Webhooks](https://github.com/mageplaza/magento-2-webhook) module. It can be configured to dispatch Laravel events when a specific event in Magento has been triggered. -> Also check out our other [Laravel Magento packages)(https://github.com/justbetter?q=laravel-magento)! +> Also check out our other [Laravel Magento packages](https://github.com/justbetter?q=laravel-magento)! > We also have a [Magento Client](https://github.com/justbetter/laravel-magento-client) to easily connect Laravel to Magento! ## Installation diff --git a/composer.json b/composer.json index db3ddc4..debc630 100644 --- a/composer.json +++ b/composer.json @@ -13,12 +13,12 @@ ], "require": { "php": "^8.1", - "laravel/framework": "^10.0" + "laravel/framework": "^10.0|^11.0" }, "require-dev": { + "larastan/larastan": "^2.9", "laravel/pint": "^1.6", - "nunomaduro/larastan": "^2.5", - "orchestra/testbench": "^8.11", + "orchestra/testbench": "^8.0|^9.0", "phpstan/phpstan-mockery": "^1.1", "phpunit/phpunit": "^10.5" }, diff --git a/phpstan.neon b/phpstan.neon index 2c40061..ae42faf 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,5 +1,5 @@ includes: - - ./vendor/nunomaduro/larastan/extension.neon + - ./vendor/larastan/larastan/extension.neon - ./vendor/phpstan/phpstan-mockery/extension.neon parameters: