From a091be90360fea02eb936c9e5e82de2b34637ebe Mon Sep 17 00:00:00 2001 From: Shift Date: Tue, 18 Feb 2025 18:32:18 +0000 Subject: [PATCH 1/2] Bump dependencies for Laravel 12 --- composer.json | 166 +++++++++++++++++++++++++------------------------- 1 file changed, 83 insertions(+), 83 deletions(-) diff --git a/composer.json b/composer.json index 2afa79e..9c06fae 100644 --- a/composer.json +++ b/composer.json @@ -1,85 +1,85 @@ { - "name": "mollie/laravel-mollie", - "description": "Mollie API client wrapper for Laravel & Mollie Connect provider for Laravel Socialite", - "homepage": "https://github.com/mollie/laravel-mollie", - "license": "MIT", - "authors": [ - { - "name": "Mollie B.V.", - "email": "info@mollie.com" - } - ], - "keywords": [ - "mollie", - "payment", - "service", - "ideal", - "creditcard", - "apple pay", - "mistercash", - "bancontact", - "sofort", - "sofortbanking", - "sepa", - "paypal", - "paysafecard", - "podiumcadeaukaart", - "banktransfer", - "direct debit", - "belfius", - "belfius direct net", - "przelewy24", - "refunds", - "api", - "payments", - "gateway", - "subscriptions", - "recurring", - "charges", - "laravel", - "lumen", - "socialite" - ], - "require": { - "php": "^8.1|^8.2", - "mollie/mollie-api-php": "^2.60", - "illuminate/support": "^10.0|^11.0", - "ext-json": "*" - }, - "require-dev": { - "mockery/mockery": "^1.4", - "orchestra/testbench": "^8.0|^9.0", - "phpunit/phpunit": "^10.0", - "laravel/socialite": "^5.5", - "laravel/pint": "^1.1" - }, - "suggest": { - "laravel/socialite": "Use Mollie Connect (OAuth) to authenticate via Laravel Socialite with the Mollie API. This is needed for some endpoints." - }, - "autoload": { - "psr-4": { - "Mollie\\Laravel\\": "src/" - } - }, - "autoload-dev": { - "psr-4": { - "Mollie\\Laravel\\Tests\\": "tests/" - } - }, - "extra": { - "laravel": { - "providers": [ - "Mollie\\Laravel\\MollieServiceProvider" - ], - "aliases": { - "Mollie": "Mollie\\Laravel\\Facades\\Mollie" - } - } - }, - "scripts": { - "test": "./vendor/bin/phpunit tests", - "format": "./vendor/bin/pint" - }, - "minimum-stability": "dev", - "prefer-stable": true + "name": "mollie/laravel-mollie", + "description": "Mollie API client wrapper for Laravel & Mollie Connect provider for Laravel Socialite", + "homepage": "https://github.com/mollie/laravel-mollie", + "license": "MIT", + "authors": [ + { + "name": "Mollie B.V.", + "email": "info@mollie.com" + } + ], + "keywords": [ + "mollie", + "payment", + "service", + "ideal", + "creditcard", + "apple pay", + "mistercash", + "bancontact", + "sofort", + "sofortbanking", + "sepa", + "paypal", + "paysafecard", + "podiumcadeaukaart", + "banktransfer", + "direct debit", + "belfius", + "belfius direct net", + "przelewy24", + "refunds", + "api", + "payments", + "gateway", + "subscriptions", + "recurring", + "charges", + "laravel", + "lumen", + "socialite" + ], + "require": { + "php": "^8.1|^8.2", + "mollie/mollie-api-php": "^2.60", + "illuminate/support": "^10.0|^11.0|^12.0", + "ext-json": "*" + }, + "require-dev": { + "mockery/mockery": "^1.4", + "orchestra/testbench": "^8.0|^9.0|^10.0", + "phpunit/phpunit": "^10.0|^11.5.3", + "laravel/socialite": "^5.5", + "laravel/pint": "^1.1" + }, + "suggest": { + "laravel/socialite": "Use Mollie Connect (OAuth) to authenticate via Laravel Socialite with the Mollie API. This is needed for some endpoints." + }, + "autoload": { + "psr-4": { + "Mollie\\Laravel\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "Mollie\\Laravel\\Tests\\": "tests/" + } + }, + "extra": { + "laravel": { + "providers": [ + "Mollie\\Laravel\\MollieServiceProvider" + ], + "aliases": { + "Mollie": "Mollie\\Laravel\\Facades\\Mollie" + } + } + }, + "scripts": { + "test": "./vendor/bin/phpunit tests", + "format": "./vendor/bin/pint" + }, + "minimum-stability": "dev", + "prefer-stable": true } From 9e2255aa97b769874bad8d9d3345e0ae256d4a54 Mon Sep 17 00:00:00 2001 From: Shift Date: Tue, 18 Feb 2025 18:32:19 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 12 --- .github/workflows/tests.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d3ac711..96fc34a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -4,7 +4,7 @@ on: push: pull_request: schedule: - - cron: "0 0 * * *" + - cron: '0 0 * * *' jobs: tests: @@ -13,13 +13,15 @@ jobs: strategy: fail-fast: true matrix: - php: ["8.1", "8.2", "8.3"] - laravel: ["10.0", "11.0"] + php: ['8.1', '8.2', '8.3'] + laravel: ['10.0', '11.0', '12.0'] exclude: - - laravel: "11.0" - php: "8.0" - - laravel: "11.0" - php: "8.1" + - laravel: '11.0' + php: '8.0' + - laravel: '11.0' + php: '8.1' + - laravel: '12.0' + php: '8.1' name: P${{ matrix.php }} - L${{ matrix.laravel }}