Apply fixes from StyleCI
This commit is contained in:
committed by
StyleCI Bot
parent
4435526b0e
commit
5ff2289eeb
@@ -24,12 +24,12 @@ use McCool\LaravelAutoPresenter\HasPresenter;
|
|||||||
|
|
||||||
class Component extends Model implements HasPresenter
|
class Component extends Model implements HasPresenter
|
||||||
{
|
{
|
||||||
use HasTags,
|
use HasTags;
|
||||||
HasMeta,
|
use HasMeta;
|
||||||
SearchableTrait,
|
use SearchableTrait;
|
||||||
SoftDeletes,
|
use SoftDeletes;
|
||||||
SortableTrait,
|
use SortableTrait;
|
||||||
ValidatingTrait;
|
use ValidatingTrait;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* List of attributes that have default values.
|
* List of attributes that have default values.
|
||||||
|
|||||||
@@ -27,8 +27,9 @@ use McCool\LaravelAutoPresenter\HasPresenter;
|
|||||||
*/
|
*/
|
||||||
class ComponentGroup extends Model implements HasPresenter
|
class ComponentGroup extends Model implements HasPresenter
|
||||||
{
|
{
|
||||||
use SearchableTrait, SortableTrait, ValidatingTrait;
|
use SearchableTrait;
|
||||||
|
use SortableTrait;
|
||||||
|
use ValidatingTrait;
|
||||||
/**
|
/**
|
||||||
* Viewable only authenticated users.
|
* Viewable only authenticated users.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -31,12 +31,12 @@ use McCool\LaravelAutoPresenter\HasPresenter;
|
|||||||
*/
|
*/
|
||||||
class Incident extends Model implements HasPresenter
|
class Incident extends Model implements HasPresenter
|
||||||
{
|
{
|
||||||
use HasMeta,
|
use HasMeta;
|
||||||
HasTags,
|
use HasTags;
|
||||||
SearchableTrait,
|
use SearchableTrait;
|
||||||
SoftDeletes,
|
use SoftDeletes;
|
||||||
SortableTrait,
|
use SortableTrait;
|
||||||
ValidatingTrait;
|
use ValidatingTrait;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Status for incident being investigated.
|
* Status for incident being investigated.
|
||||||
|
|||||||
@@ -24,8 +24,8 @@ use McCool\LaravelAutoPresenter\HasPresenter;
|
|||||||
*/
|
*/
|
||||||
class IncidentUpdate extends Model implements HasPresenter
|
class IncidentUpdate extends Model implements HasPresenter
|
||||||
{
|
{
|
||||||
use SortableTrait, ValidatingTrait;
|
use SortableTrait;
|
||||||
|
use ValidatingTrait;
|
||||||
/**
|
/**
|
||||||
* The attributes that should be casted to native types.
|
* The attributes that should be casted to native types.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -23,9 +23,9 @@ use McCool\LaravelAutoPresenter\HasPresenter;
|
|||||||
|
|
||||||
class Metric extends Model implements HasPresenter
|
class Metric extends Model implements HasPresenter
|
||||||
{
|
{
|
||||||
use HasMeta,
|
use HasMeta;
|
||||||
SortableTrait,
|
use SortableTrait;
|
||||||
ValidatingTrait;
|
use ValidatingTrait;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The calculation type of sum.
|
* The calculation type of sum.
|
||||||
|
|||||||
@@ -24,11 +24,11 @@ use McCool\LaravelAutoPresenter\HasPresenter;
|
|||||||
|
|
||||||
class Schedule extends Model implements HasPresenter
|
class Schedule extends Model implements HasPresenter
|
||||||
{
|
{
|
||||||
use HasMeta,
|
use HasMeta;
|
||||||
SearchableTrait,
|
use SearchableTrait;
|
||||||
SoftDeletes,
|
use SoftDeletes;
|
||||||
SortableTrait,
|
use SortableTrait;
|
||||||
ValidatingTrait;
|
use ValidatingTrait;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The upcoming status.
|
* The upcoming status.
|
||||||
|
|||||||
@@ -29,9 +29,9 @@ use McCool\LaravelAutoPresenter\HasPresenter;
|
|||||||
*/
|
*/
|
||||||
class Subscriber extends Model implements HasPresenter
|
class Subscriber extends Model implements HasPresenter
|
||||||
{
|
{
|
||||||
use HasMeta,
|
use HasMeta;
|
||||||
Notifiable,
|
use Notifiable;
|
||||||
ValidatingTrait;
|
use ValidatingTrait;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The attributes that should be casted to native types.
|
* The attributes that should be casted to native types.
|
||||||
|
|||||||
+2
-2
@@ -26,8 +26,8 @@ use Illuminate\Support\Str;
|
|||||||
*/
|
*/
|
||||||
class User extends Authenticatable
|
class User extends Authenticatable
|
||||||
{
|
{
|
||||||
use Notifiable, ValidatingTrait;
|
use Notifiable;
|
||||||
|
use ValidatingTrait;
|
||||||
/**
|
/**
|
||||||
* The admin level of user.
|
* The admin level of user.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -24,8 +24,8 @@ use MailThief\Testing\InteractsWithMail;
|
|||||||
*/
|
*/
|
||||||
class ComponentStatusWasChangedEventTest extends AbstractComponentEventTestCase
|
class ComponentStatusWasChangedEventTest extends AbstractComponentEventTestCase
|
||||||
{
|
{
|
||||||
use DatabaseMigrations, InteractsWithMail;
|
use DatabaseMigrations;
|
||||||
|
use InteractsWithMail;
|
||||||
public function testComponentUpdateEmailWasSent()
|
public function testComponentUpdateEmailWasSent()
|
||||||
{
|
{
|
||||||
$user = factory('CachetHQ\Cachet\Models\User')->create();
|
$user = factory('CachetHQ\Cachet\Models\User')->create();
|
||||||
|
|||||||
Reference in New Issue
Block a user