Apply Laravel coding style

Shift automatically applies the Laravel coding style - which uses the PSR-12 coding style as a base with some minor additions.

You may customize the code style applied by configuring [Pint](https://laravel.com/docs/pint), [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer), or [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) for your project root.

For more information on customizing the code style applied by Shift, [watch this short video](https://laravelshift.com/videos/shift-code-style).
This commit is contained in:
Shift
2023-01-03 08:25:25 +00:00
parent b535aa90eb
commit 43386fd86d
357 changed files with 15021 additions and 15193 deletions

View File

@@ -7,5 +7,6 @@ use App\BaseModel;
class CountryCode extends BaseModel
{
protected $table = 'country_code';
protected $fillable = ['id', 'name', 'iso', 'nicename', 'iso3', 'numcode', 'phonecode', 'updated_at', 'created_at'];
}

View File

@@ -7,6 +7,8 @@ use App\BaseModel;
class Date_format extends BaseModel
{
public $timestamps = false;
protected $table = 'date_format';
protected $fillable = ['id', 'format'];
}

View File

@@ -7,6 +7,8 @@ use App\BaseModel;
class Date_time_format extends BaseModel
{
public $timestamps = false;
protected $table = 'date_time_format';
protected $fillable = ['id', 'format'];
}

View File

@@ -9,6 +9,7 @@ class Email extends BaseModel
/* Using Email table */
protected $table = 'email';
/* Set fillable fields in table */
protected $fillable = [
'id', 'template', 'sys_email', 'alert_email', 'admin_email', 'mta', 'email_fetching', 'strip',

View File

@@ -7,6 +7,7 @@ use App\BaseModel;
class Form_type extends BaseModel
{
protected $table = 'form_type';
protected $fillable = [
'id', 'type',
];

View File

@@ -7,6 +7,7 @@ use App\BaseModel;
class Form_visibility extends BaseModel
{
protected $table = 'form_visibility';
protected $fillable = [
'id', 'visibility',
];

View File

@@ -7,6 +7,8 @@ use App\BaseModel;
class Languages extends BaseModel
{
public $timestamps = false;
protected $table = 'languages';
protected $fillable = ['name', 'locale'];
}

View File

@@ -7,5 +7,6 @@ use App\BaseModel;
class Limit_Login extends BaseModel
{
protected $table = 'login_attempts';
protected $fillable = ['User', 'IP', 'Attempts', 'LastLogin', 'created_at', 'updated_at'];
}

View File

@@ -7,5 +7,6 @@ use App\BaseModel;
class Log_notification extends BaseModel
{
protected $table = 'log_notification';
protected $fillable = ['id', 'log'];
}

View File

@@ -7,6 +7,8 @@ use App\BaseModel;
class Logs extends BaseModel
{
public $timestamps = false;
protected $table = 'logs';
protected $fillable = ['id', 'level'];
}

View File

@@ -7,6 +7,8 @@ use App\BaseModel;
class MailboxProtocol extends BaseModel
{
public $timestamps = false;
protected $table = 'mailbox_protocol';
protected $fillable = ['id', 'name', 'value'];
}

View File

@@ -7,5 +7,6 @@ use App\BaseModel;
class Otp extends BaseModel
{
protected $table = 'user_verification';
protected $fillable = ['id', 'user_id', 'otp', 'temp_mobile', 'updated_at', 'created_at'];
}

View File

@@ -7,7 +7,9 @@ use App\BaseModel;
class Priority extends BaseModel
{
public $timestamps = false;
protected $table = 'ticket_priority';
protected $fillable = [
'id', 'name',
];

View File

@@ -7,6 +7,7 @@ use App\BaseModel;
class Ticket_thread extends BaseModel
{
protected $table = 'ticket_thread';
protected $fillable = [
'id', 'ticket_id', 'ticket_subject', 'ticket_message', 'time', 'poster', 'created_at', 'updated_at',
];

View File

@@ -7,6 +7,8 @@ use App\BaseModel;
class Time_format extends BaseModel
{
public $timestamps = false;
protected $table = 'time_format';
protected $fillable = ['id', 'format'];
}

View File

@@ -7,6 +7,8 @@ use App\BaseModel;
class Timezones extends BaseModel
{
public $timestamps = false;
protected $table = 'timezone';
protected $fillable = ['name', 'location'];
}

View File

@@ -7,5 +7,6 @@ use App\BaseModel;
class Version_Check extends BaseModel
{
protected $table = 'version_check';
protected $fillable = ['current_version', 'new_version', 'updated_at', 'created_at'];
}