Skip to content

Commit 1755daf

Browse files
committed
make the package support php8
1 parent 5aa3e11 commit 1755daf

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^7.3",
19+
"php": "^7.3|^8.0",
2020
"guzzlehttp/guzzle": "^7.0"
2121
},
2222
"require-dev": {
23-
"orchestra/testbench": "^4.0",
24-
"phpunit/phpunit": "^8.0"
23+
"orchestra/testbench": "^4.0|^5.0|^6.0",
24+
"phpunit/phpunit": "^8.0|^9.3"
2525
},
2626
"autoload": {
2727
"psr-4": {

database/migrations/2021_05_16_000001_create_transactions_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function up()
1515
{
1616
Schema::create('transactions', function (Blueprint $table) {
1717
$table->string('id')->primary();
18-
$table->string('user_id');
18+
$table->integer('user_id');
1919
$table->string('checkout_id')->unique();
2020
$table->string('status');
2121
$table->float('amount');

database/migrations/create_transactions_table.php.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class CreateTransactionsTable extends Migration
1616
Schema::create('transactions', function (Blueprint $table) {
1717

1818
$table->string('id')->primary();
19-
$table->string('user_id');
19+
$table->integer('user_id');
2020
$table->string('checkout_id')->unique();
2121
$table->string('status');
2222
$table->float('amount');

0 commit comments

Comments
 (0)