Skip to content

Commit ff8a0b8

Browse files
authored
2.12.0 incl laravel 11 support (#229)
1 parent 20f8f5d commit ff8a0b8

File tree

75 files changed

+160
-244
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+160
-244
lines changed

.github/workflows/tests.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,9 @@ jobs:
1414
fail-fast: true
1515
matrix:
1616
os: [ ubuntu-latest ]
17-
php: [ 8.2, 8.1, 8.0]
18-
laravel: [ 10.*, 9.* ]
17+
php: [8.3, 8.2, 8.1]
18+
laravel: [ 11.*, 10.* ]
1919
dependency-version: [ prefer-stable ]
20-
include:
21-
- laravel: 9.*
22-
testbench: 7.*
23-
- laravel: 10.*
24-
testbench: 8.*
25-
exclude:
26-
- laravel: 10.*
27-
php: 8.0
2820

2921
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
3022

composer.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,22 @@
3030
}
3131
],
3232
"require": {
33-
"php": "^8.0",
33+
"php": "^8.1",
3434
"ext-json": "*",
3535
"ext-intl": "*",
3636
"dompdf/dompdf": "^2.0",
37-
"illuminate/database": "^9.0|^10",
38-
"illuminate/support": "^9.0|^10",
39-
"mollie/laravel-mollie": "^2.22",
40-
"mollie/mollie-api-php": "^2.27",
37+
"illuminate/database": "^10|^11",
38+
"illuminate/support": "^10|^11",
39+
"mollie/laravel-mollie": "^3.0",
40+
"mollie/mollie-api-php": "^2.65",
4141
"moneyphp/money": "^4.1",
42-
"nesbot/carbon": "^2.31"
42+
"nesbot/carbon": "^2.72|^3.0"
4343
},
4444
"require-dev": {
4545
"guzzlehttp/guzzle": "^7.0",
4646
"mockery/mockery": "^1.4",
47-
"orchestra/testbench": "^7.0|^8.0",
48-
"phpunit/phpunit": "^9.5"
47+
"orchestra/testbench": "^8.0|^9.0",
48+
"phpunit/phpunit": "^10.0"
4949
},
5050
"autoload": {
5151
"files": [

database/migrations/create_applied_coupons_table.php.stub

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class CreateAppliedCouponsTable extends Migration
1111
*
1212
* @return void
1313
*/
14-
public function up()
14+
public function up(): void
1515
{
1616
Schema::create('applied_coupons', function (Blueprint $table) {
1717
$table->bigIncrements('id');
@@ -26,7 +26,7 @@ class CreateAppliedCouponsTable extends Migration
2626
*
2727
* @return void
2828
*/
29-
public function down()
29+
public function down(): void
3030
{
3131
Schema::dropIfExists('applied_coupons');
3232
}

database/migrations/create_credits_table.php.stub

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class CreateCreditsTable extends Migration
1111
*
1212
* @return void
1313
*/
14-
public function up()
14+
public function up(): void
1515
{
1616
Schema::create('credits', function (Blueprint $table) {
1717
$table->bigIncrements('id');
@@ -28,7 +28,7 @@ class CreateCreditsTable extends Migration
2828
*
2929
* @return void
3030
*/
31-
public function down()
31+
public function down(): void
3232
{
3333
Schema::dropIfExists('credits');
3434
}

database/migrations/create_order_items_table.php.stub

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class CreateOrderItemsTable extends Migration
1111
*
1212
* @return void
1313
*/
14-
public function up()
14+
public function up(): void
1515
{
1616
Schema::create('order_items', function (Blueprint $table) {
1717
$table->bigIncrements('id');
@@ -36,7 +36,7 @@ class CreateOrderItemsTable extends Migration
3636
*
3737
* @return void
3838
*/
39-
public function down()
39+
public function down(): void
4040
{
4141
Schema::dropIfExists('order_items');
4242
}

database/migrations/create_orders_table.php.stub

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class CreateOrdersTable extends Migration
1111
*
1212
* @return void
1313
*/
14-
public function up()
14+
public function up(): void
1515
{
1616
Schema::create('orders', function (Blueprint $table) {
1717
$table->bigIncrements('id');
@@ -39,7 +39,7 @@ class CreateOrdersTable extends Migration
3939
*
4040
* @return void
4141
*/
42-
public function down()
42+
public function down(): void
4343
{
4444
Schema::dropIfExists('orders');
4545
}

database/migrations/create_payments_table.php.stub

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class CreatePaymentsTable extends Migration
1111
*
1212
* @return void
1313
*/
14-
public function up()
14+
public function up(): void
1515
{
1616
Schema::create('payments', function (Blueprint $table) {
1717
$table->bigIncrements('id');
@@ -35,7 +35,7 @@ class CreatePaymentsTable extends Migration
3535
*
3636
* @return void
3737
*/
38-
public function down()
38+
public function down(): void
3939
{
4040
Schema::dropIfExists('payments');
4141
}

database/migrations/create_redeemed_coupons_table.php.stub

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class CreateRedeemedCouponsTable extends Migration
1111
*
1212
* @return void
1313
*/
14-
public function up()
14+
public function up(): void
1515
{
1616
Schema::create('redeemed_coupons', function (Blueprint $table) {
1717
$table->bigIncrements('id');
@@ -30,7 +30,7 @@ class CreateRedeemedCouponsTable extends Migration
3030
*
3131
* @return void
3232
*/
33-
public function down()
33+
public function down(): void
3434
{
3535
Schema::dropIfExists('redeemed_coupons');
3636
}

database/migrations/create_refund_items_table.php.stub

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class CreateRefundItemsTable extends Migration
1111
*
1212
* @return void
1313
*/
14-
public function up()
14+
public function up(): void
1515
{
1616
Schema::create('refund_items', function (Blueprint $table) {
1717
$table->bigIncrements('id');
@@ -34,7 +34,7 @@ class CreateRefundItemsTable extends Migration
3434
*
3535
* @return void
3636
*/
37-
public function down()
37+
public function down(): void
3838
{
3939
Schema::dropIfExists('refund_items');
4040
}

database/migrations/create_refunds_table.php.stub

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class CreateRefundsTable extends Migration
1111
*
1212
* @return void
1313
*/
14-
public function up()
14+
public function up(): void
1515
{
1616
Schema::create('refunds', function (Blueprint $table) {
1717
$table->bigIncrements('id');
@@ -32,7 +32,7 @@ class CreateRefundsTable extends Migration
3232
*
3333
* @return void
3434
*/
35-
public function down()
35+
public function down(): void
3636
{
3737
Schema::dropIfExists('refunds');
3838
}

0 commit comments

Comments
 (0)