Apply fixes from StyleCI

This commit is contained in:
Nabeel Shahzad
2018-08-26 18:51:47 +00:00
committed by StyleCI Bot
parent e95b3eb366
commit 3c32f2d89d
38 changed files with 61 additions and 51 deletions

View File

@@ -556,6 +556,7 @@ class AcarsTest extends TestCase
/**
* Test publishing multiple, batched updates
*
* @throws Exception
*/
public function testMultipleAcarsPositionUpdates()

View File

@@ -137,6 +137,7 @@ class ApiTest extends TestCase
/**
* Test getting the subfleets
*
* @throws Exception
*/
public function testGetSubfleets()

View File

@@ -123,6 +123,7 @@ class FlightTest extends TestCase
/**
* Get the flight's route
*
* @throws Exception
*/
public function testFlightRoute()

View File

@@ -35,6 +35,7 @@ class GeoTest extends TestCase
/**
* Make sure the departure airports/sid/star are all filtered out
*
* @throws Exception
*/
public function testGetCoords()

View File

@@ -228,6 +228,7 @@ class ImporterTest extends TestCase
/**
* Test exporting all the flights to a file
*
* @throws \Illuminate\Validation\ValidationException
*/
public function testAircraftExporter(): void

View File

@@ -122,5 +122,4 @@ class MetarTest extends TestCase
$this->assertEquals('VFR', $metar['category']);
$this->assertNotNull($metar);
}
}

View File

@@ -62,6 +62,7 @@ class PIREPTest extends TestCase
]);
$pirep = $this->pirepSvc->create($pirep, []);
try {
$this->pirepSvc->saveRoute($pirep);
} catch (Exception $e) {

View File

@@ -8,8 +8,9 @@ class RegistrationTest extends TestCase
/**
* A basic test example.
*
* @return void
* @throws Exception
*
* @return void
*/
public function testRegistration()
{

View File

@@ -56,8 +56,9 @@ trait TestData
* @param null $aircraft_count
* @param null $airport_id
*
* @return mixed
* @throws \Exception
*
* @return mixed
*/
public function createSubfleetWithAircraft($aircraft_count = null, $airport_id = null)
{