[L6] Update composer dependencies to support L6
Drops all of the eloquence requirements, this is going to break a shit load of code, needs to happen tired of this package always holding us back. Quite confident in my ability to write custom code to do the basic validation we need. Searching should be a fun nightmare to deal with later...
This commit is contained in:
parent
901515e94b
commit
08bdc9705f
25 changed files with 125 additions and 685 deletions
|
@ -3,13 +3,8 @@
|
|||
namespace Pterodactyl\Models;
|
||||
|
||||
use Schema;
|
||||
use Sofa\Eloquence\Eloquence;
|
||||
use Sofa\Eloquence\Validable;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Notifications\Notifiable;
|
||||
use Znck\Eloquent\Traits\BelongsToThrough;
|
||||
use Sofa\Eloquence\Contracts\CleansAttributes;
|
||||
use Sofa\Eloquence\Contracts\Validable as ValidableContract;
|
||||
|
||||
/**
|
||||
* @property int $id
|
||||
|
@ -55,9 +50,9 @@ use Sofa\Eloquence\Contracts\Validable as ValidableContract;
|
|||
* @property \Pterodactyl\Models\DaemonKey $key
|
||||
* @property \Pterodactyl\Models\DaemonKey[]|\Illuminate\Support\Collection $keys
|
||||
*/
|
||||
class Server extends Model implements CleansAttributes, ValidableContract
|
||||
class Server extends Validable
|
||||
{
|
||||
use BelongsToThrough, Eloquence, Notifiable, Validable;
|
||||
use BelongsToThrough, Notifiable;
|
||||
|
||||
/**
|
||||
* The resource name for this model when it is transformed into an
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue