diff --git a/composer.json b/composer.json index a49e0d4e..8cd6a2c3 100644 --- a/composer.json +++ b/composer.json @@ -8,14 +8,14 @@ "fix": "vendor/bin/php-cs-fixer fix --allow-risky=yes --config=fixer/.php_cs" }, "require": { - "php": "^7.4|^8.0", + "php": "^7.4|^8.0|^8.1|^8.2|^8.3", "litstack/lang": "^3.0.4", "erusev/parsedown-extra": "^0.8", - "spatie/laravel-permission": "^2.0|^3.0|^4.0|^5.0", + "spatie/laravel-permission": "^2.0|^3.0|^4.0|^5.0|^6.0", "astrotomic/laravel-translatable": "^11.0", - "cviebrock/eloquent-sluggable": "^7.0|^8.0|^9.0", - "spatie/laravel-medialibrary": "^8.0|^9.0|^10.0", - "livewire/livewire": "^1.0|^2.0", + "cviebrock/eloquent-sluggable": "^7.0|^8.0|^9.0|^10.0|^11.0", + "spatie/laravel-medialibrary": "^8.0|^9.0|^10.0|^11.0", + "livewire/livewire": "^1.0|^2.0|^3.0", "friendsofphp/php-cs-fixer": "^2.0|^3.0" }, "require-dev": { @@ -24,7 +24,7 @@ "mockery/mockery": "^1.4", "laravel/dusk": "^6.1", "orchestra/testbench-dusk": "^5.2|^6.0", - "phpunit/phpunit": "^8.0|^9.0", + "phpunit/phpunit": "^8.0|^9.0|^10.0", "laravel/legacy-factories": "^1.0.4" }, "authors": [ diff --git a/publish/database/migrations/______________________make_permissions.php b/publish/database/migrations/______________________make_permissions.php index cee36ab4..8d8bfeff 100644 --- a/publish/database/migrations/______________________make_permissions.php +++ b/publish/database/migrations/______________________make_permissions.php @@ -62,10 +62,12 @@ class MakePermissions extends Migration protected function buildPermissions() { $this->combineOperationsAndGroups( - ['read', 'update'], $this->editPermissionGroups + ['read', 'update'], + $this->editPermissionGroups ); $this->combineOperationsAndGroups( - ['create', 'read', 'update', 'delete'], $this->crudPermissionGroups + ['create', 'read', 'update', 'delete'], + $this->crudPermissionGroups ); } @@ -90,7 +92,8 @@ public function up() public function down() { $this->combineOperationsAndGroups( - ['create', 'read', 'update', 'delete'], $this->down + ['create', 'read', 'update', 'delete'], + $this->down ); $this->downPermissions(); } diff --git a/resources/js/components/Lit/BaseIndex/TableCol/ColCrudRelation.vue b/resources/js/components/Lit/BaseIndex/TableCol/ColCrudRelation.vue index 43292f5d..73067743 100644 --- a/resources/js/components/Lit/BaseIndex/TableCol/ColCrudRelation.vue +++ b/resources/js/components/Lit/BaseIndex/TableCol/ColCrudRelation.vue @@ -1,7 +1,7 @@