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,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',

View File

@@ -9,6 +9,7 @@ class Alert extends BaseModel
/* Using alert_notice table */
protected $table = 'settings_alert_notice';
/* Set fillable fields in table */
protected $fillable = [

View File

@@ -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',

View File

@@ -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',
];

View File

@@ -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',

View File

@@ -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',

View File

@@ -9,6 +9,7 @@ class Followup extends BaseModel
/* Using auto_response table */
protected $table = 'followup';
/* Set fillable fields in table */
protected $fillable = [

View File

@@ -7,5 +7,6 @@ use App\BaseModel;
class Plugin extends BaseModel
{
protected $table = 'plugins';
protected $fillable = ['name', 'path', 'status'];
}

View File

@@ -9,6 +9,7 @@ class Responder extends BaseModel
/* Using auto_response table */
protected $table = 'settings_auto_response';
/* Set fillable fields in table */
protected $fillable = [

View File

@@ -9,6 +9,7 @@ class Security extends BaseModel
/* Using auto_response table */
protected $table = 'settings_security';
/* Set fillable fields in table */
protected $fillable = [

View File

@@ -7,6 +7,7 @@ use Illuminate\Database\Eloquent\Model;
class SocialMedia extends Model
{
protected $table = 'social_media';
protected $fillable = [
'provider',
'key',

View File

@@ -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',

View File

@@ -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',