Add php-cs-fixer to build

This commit is contained in:
Nabeel Shahzad
2019-05-12 13:26:44 -05:00
parent 75eaec2f11
commit 88957f4071
25 changed files with 480 additions and 65 deletions

View File

@@ -18,7 +18,9 @@ class BidExists extends HttpException
parent::__construct(
409,
'A bid already exists for this flight',
$previous, $headers, $code
$previous,
$headers,
$code
);
}
}

View File

@@ -28,7 +28,8 @@ class InternalError extends ValidationException
$validator = Validator::make([], []);
$validator->errors()->add(
$field ?? static::FIELD,
$message ?? static::MESSAGE);
$message ?? static::MESSAGE
);
parent::__construct($validator);
}

View File

@@ -18,7 +18,9 @@ class PirepCancelled extends HttpException
parent::__construct(
400,
'PIREP has been cancelled, updates are not allowed',
$previous, $headers, $code
$previous,
$headers,
$code
);
}
}