Skip to content

Commit 9a14656

Browse files
committed
Fixed Laravel 7 and symfony process issue for Laravel 7
1 parent 290ebfa commit 9a14656

File tree

4 files changed

+6
-12
lines changed

4 files changed

+6
-12
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"minimum-stability": "dev",
3737
"require": {
3838
"php": "^7.2",
39-
"illuminate/support": "^6.0",
39+
"illuminate/support": "^6.0|^7.0",
4040
"doctrine/dbal": "^2.10",
4141
"laravel/passport": "^8.0",
4242
"codexshaper/database-backup-restore": "^1.1"

resources/assets/js/components/modals/RecordModals.vue

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@
3636
label="name"
3737
track-by="name"
3838
:preselect-first="false"
39-
id="update_relation"
40-
>
41-
</multiselect>
39+
id="update_relation"></multiselect>
4240
<multiselect
4341
v-if="field.relationship.relationType == 'belongsToMany'"
4442
v-model="newRow[field.relationship.relatedPivotKey]"
@@ -51,9 +49,7 @@
5149
label="name"
5250
track-by="name"
5351
:preselect-first="false"
54-
id="update_belongs_to_many_relation"
55-
>
56-
</multiselect>
52+
id="update_belongs_to_many_relation"></multiselect>
5753
</div>
5854
<div v-else-if="field.type == 'dropdown' || field.type == 'multiple_dropdown'">
5955
<multiselect
@@ -68,9 +64,7 @@
6864
label="name"
6965
track-by="name"
7066
:preselect-first="false"
71-
id="update_relation"
72-
>
73-
</multiselect>
67+
id="update_relation"></multiselect>
7468
</div>
7569
<div v-else-if="field.type == 'file' ||
7670
field.type == 'image' ||

resources/assets/js/views/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<div class="main-content">
2929
<nav aria-label="breadcrumb">
3030
<ol class="breadcrumb">
31-
<li class="breadcrumb-item" v-for="(breadcrumb,index) in $route.meta.breadcrumbs">
31+
<li class="breadcrumb-item" v-for="(breadcrumb,index) in $route.meta.breadcrumbs" :key="index">
3232
<router-link
3333
:to="{ name: breadcrumb.name }"
3434
:class="'crumb-link'"

src/Commands/InstallDatabaseManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function handle(Filesystem $filesystem)
8080

8181
$this->info('Dumping the autoloaded files and reloading all new files');
8282
$composer = $this->findComposer();
83-
$process = new Process($composer.' dump-autoload');
83+
$process = Process::fromShellCommandline($composer.' dump-autoload');
8484
$process->setTimeout(null); // Setting timeout to null to prevent installation from stopping at a certain point in time
8585
$process->setWorkingDirectory(base_path())->run();
8686

0 commit comments

Comments
 (0)