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:
@@ -7,6 +7,7 @@ use App\BaseModel;
|
||||
class Access extends BaseModel
|
||||
{
|
||||
protected $table = 'access';
|
||||
|
||||
protected $fillable = [
|
||||
'password_expire', 'reg_method', 'user_session',
|
||||
'agent_session', 'reset_ticket_expire', 'password_reset',
|
||||
|
@@ -9,6 +9,7 @@ class Alert extends BaseModel
|
||||
/* Using alert_notice table */
|
||||
|
||||
protected $table = 'settings_alert_notice';
|
||||
|
||||
/* Set fillable fields in table */
|
||||
protected $fillable = [
|
||||
|
||||
|
@@ -9,6 +9,7 @@ class Approval extends BaseModel
|
||||
/* Using Ticket table */
|
||||
|
||||
protected $table = 'approval';
|
||||
|
||||
/* Set fillable fields in table */
|
||||
protected $fillable = [
|
||||
'id', 'name', 'status', 'created_at', 'updated_at',
|
||||
|
@@ -7,6 +7,7 @@ use App\BaseModel;
|
||||
class CommonSettings extends BaseModel
|
||||
{
|
||||
protected $table = 'common_settings';
|
||||
|
||||
protected $fillable = [
|
||||
'status', 'option_name', 'option_value', 'optional_field', 'created_at', 'updated_at',
|
||||
];
|
||||
|
@@ -7,6 +7,7 @@ use App\BaseModel;
|
||||
class Company extends BaseModel
|
||||
{
|
||||
protected $table = 'settings_company';
|
||||
|
||||
protected $fillable = [
|
||||
'company_name', 'website', 'phone', 'address', 'landing_page', 'offline_page',
|
||||
'thank_page', 'logo', 'use_logo',
|
||||
|
@@ -9,6 +9,7 @@ class Email extends BaseModel
|
||||
/* Using Email table */
|
||||
|
||||
protected $table = 'settings_email';
|
||||
|
||||
/* Set fillable fields in table */
|
||||
protected $fillable = [
|
||||
'id', 'template', 'sys_email', 'alert_email', 'admin_email', 'mta', 'email_fetching', 'strip',
|
||||
|
@@ -9,6 +9,7 @@ class Followup extends BaseModel
|
||||
/* Using auto_response table */
|
||||
|
||||
protected $table = 'followup';
|
||||
|
||||
/* Set fillable fields in table */
|
||||
protected $fillable = [
|
||||
|
||||
|
@@ -7,5 +7,6 @@ use App\BaseModel;
|
||||
class Plugin extends BaseModel
|
||||
{
|
||||
protected $table = 'plugins';
|
||||
|
||||
protected $fillable = ['name', 'path', 'status'];
|
||||
}
|
||||
|
@@ -9,6 +9,7 @@ class Responder extends BaseModel
|
||||
/* Using auto_response table */
|
||||
|
||||
protected $table = 'settings_auto_response';
|
||||
|
||||
/* Set fillable fields in table */
|
||||
protected $fillable = [
|
||||
|
||||
|
@@ -9,6 +9,7 @@ class Security extends BaseModel
|
||||
/* Using auto_response table */
|
||||
|
||||
protected $table = 'settings_security';
|
||||
|
||||
/* Set fillable fields in table */
|
||||
protected $fillable = [
|
||||
|
||||
|
@@ -7,6 +7,7 @@ use Illuminate\Database\Eloquent\Model;
|
||||
class SocialMedia extends Model
|
||||
{
|
||||
protected $table = 'social_media';
|
||||
|
||||
protected $fillable = [
|
||||
'provider',
|
||||
'key',
|
||||
|
@@ -9,6 +9,7 @@ class System extends BaseModel
|
||||
/* Using System Table */
|
||||
|
||||
protected $table = 'settings_system';
|
||||
|
||||
protected $fillable = [
|
||||
|
||||
'id', 'status', 'url', 'name', 'department', 'page_size', 'log_level', 'purge_log', 'name_format',
|
||||
|
@@ -9,6 +9,7 @@ class Ticket extends BaseModel
|
||||
/* Using Ticket table */
|
||||
|
||||
protected $table = 'settings_ticket';
|
||||
|
||||
/* Set fillable fields in table */
|
||||
protected $fillable = [
|
||||
'id', 'num_format', 'num_sequence', 'priority', 'sla', 'help_topic', 'max_open_ticket', 'collision_avoid', 'lock_ticket_frequency',
|
||||
|
Reference in New Issue
Block a user