Skip to content

Commit

Permalink
Upgrade to php8.1/Laravel 9
Browse files Browse the repository at this point in the history
* Upgrade Nova4 / Laravel 9 / PHP 8.1
  • Loading branch information
Ange7 authored Apr 19, 2022
1 parent c453396 commit 1db55d5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: php

php:
- 7.1
- 8.1

sudo: false

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ A field that make your resources orderable using [the laravel nestedset package]

## Requirements

* PHP >= 7.4
* Laravel Nova >= 3.0
* Laravel Framework >= 8.43
* PHP >= 8.1
* Laravel Nova >= 4.0
* Laravel Framework >= 9.0

> **NOTE**: These instructions are for Laravel >= 8.43. If you are using prior version, please
> see the [previous version's docs](https://github.com/novius/laravel-nova-order-nestedset-field/tree/1.x).
> **NOTE**: These instructions are for Laravel >= 9.0 and Laravel Nova 4.0. If you are using prior version, please
> see the [previous version's docs](https://github.com/novius/laravel-nova-order-nestedset-field/tree/2.x).
## Installation

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
}
],
"require": {
"php": ">=7.4",
"illuminate/support": "^8.43",
"php": ">=8.1",
"illuminate/support": "^9.0",
"kalnoy/nestedset": "^6.0.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0"
"friendsofphp/php-cs-fixer": "^3.8.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/OrderNestedsetFieldServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function boot()
$this->publishes([__DIR__.'/../config' => config_path()], 'config');

$this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'nova-order-nestedset-field');
$this->publishes([__DIR__.'/../resources/lang' => resource_path('lang/vendor/nova-order-nestedset-field')], 'lang');
$this->publishes([__DIR__.'/../resources/lang' => lang_path('vendor/nova-order-nestedset-field')], 'lang');
}

/**
Expand Down

0 comments on commit 1db55d5

Please sign in to comment.