Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply fixes from StyleCI #311

Merged
merged 1 commit into from
Jun 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/Http/Controllers/Api/PirepController.php
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ public function cancel($pirep_id, Request $request)
/**
* Add a new comment
*
* @param $id
* @param $id
*
* @return \Illuminate\Http\Resources\Json\AnonymousResourceCollection
*/
Expand Down Expand Up @@ -464,7 +464,7 @@ public function fields_post($pirep_id, FieldsRequest $request)
}

/**
* @param $id
* @param $id
*
* @throws \UnexpectedValueException
* @throws \InvalidArgumentException
Expand Down
4 changes: 2 additions & 2 deletions app/Services/DatabaseService.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ public function seed_from_yaml($yml, $ignore_errors = false): array
}

/**
* @param $table
* @param $row
* @param $table
* @param $row
*
* @throws \Exception
*
Expand Down
2 changes: 1 addition & 1 deletion app/Services/ImportService.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ protected function throwError($error, \Exception $e = null): void
}

/**
* @param $csv_file
* @param $csv_file
*
* @throws ValidationException
*
Expand Down
4 changes: 2 additions & 2 deletions app/Support/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ public static function seed_from_yaml($yml, $ignore_errors = false): array
}

/**
* @param $table
* @param $row
* @param $table
* @param $row
*
* @throws \Exception
*
Expand Down
1 change: 0 additions & 1 deletion resources/lang/en/aircraft.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'status' => [
'active' => 'Active',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/en/airports.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'ident' => 'Identification',
'home' => 'Home Airport',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/en/common.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'dashboard' => 'Dashboard',
'administration' => 'Administration',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/en/dashboard.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'totalhours' => 'Total Hours',
'yourbalance' => 'Your Balance',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/en/downloads.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'none' => 'There are no downloads!',
];
1 change: 0 additions & 1 deletion resources/lang/en/email.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'buttontroubles' => 'If you’re having trouble clicking the ":actiontext" button, '.
'copy and paste the URL below into your web browser:',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/en/errors.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
401 => [
'title' => 'Unauthorized Access',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/en/expenses.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'type' => [
'flight' => 'Flight',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/en/flights.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'flightnumber' => 'Flight Number',
'flighttime' => 'Flight Time',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/en/home.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'welcome' => [
'title' => 'Welcome!',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/en/pireps.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'newflightreport' => 'New Flight Report',
'editflightreport' => 'Edit Flight Report',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/en/profile.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'avatarresize' => 'This avatar will be resized to :width x :height pixels',

Expand Down
1 change: 0 additions & 1 deletion resources/lang/en/toc.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'title' => 'Terms and Conditions',
];
1 change: 0 additions & 1 deletion resources/lang/en/user.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'location' => 'Location',
'state' => [
Expand Down
1 change: 0 additions & 1 deletion resources/lang/en/widgets.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'latestnews' => [
'news' => 'News',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/es/aircraft.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'status' => [
'active' => 'Activo',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/es/airports.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'ident' => 'Identificación',
'home' => 'Aeropuerto inicial',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/es/common.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'dashboard' => 'Tablero',
'administration' => 'Administración',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/es/dashboard.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'totalhours' => 'Horas totales',
'yourbalance' => 'Tu balance',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/es/downloads.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'none' => '¡No hay descargas!',
];
1 change: 0 additions & 1 deletion resources/lang/es/email.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'buttontroubles' => 'Si estas teniendo problemas haciendo clic en el botón ":actiontext", '.
'copia y pega la URL inferior en tu navegador web:',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/es/errors.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
401 => [
'title' => 'Acceso no autorizado',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/es/expenses.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'type' => [
'flight' => 'Vuelo',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/es/flights.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'flightnumber' => 'Número de vuelo',
'flighttime' => 'Tiempo de vuelo',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/es/home.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'welcome' => [
'title' => '¡Bienvenido!',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/es/pireps.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'newflightreport' => 'Nuevo informe de vuelo',
'editflightreport' => 'Editar informe de vuelo',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/es/profile.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'avatarresize' => 'Este avatar será redimensionado a :width x :height pixeles',

Expand Down
1 change: 0 additions & 1 deletion resources/lang/es/toc.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'title' => 'Términos y condiciones',
];
1 change: 0 additions & 1 deletion resources/lang/es/user.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'location' => 'Location',
'state' => [
Expand Down
1 change: 0 additions & 1 deletion resources/lang/es/widgets.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'latestnews' => [
'news' => 'Noticias',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/it/aircraft.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'status' => [
'active' => 'Attivo',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/it/airports.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'ident' => 'Identificativo',
'home' => 'Aeroporto di Casa',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/it/common.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'dashboard' => 'Dashboard',
'administration' => 'Amministrazione',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/it/dashboard.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'totalhours' => 'Ore Totali',
'yourbalance' => 'Bilancio',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/it/downloads.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'none' => 'Non ci sono downloads!',
];
1 change: 0 additions & 1 deletion resources/lang/it/email.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'buttontroubles' => 'Se hai problemi a cliccare il bottone ":actiontext", '.
'copia e incolla l\'URL qui sotto nel tuo browser:',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/it/errors.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
401 => [
'title' => 'Non Autorizzato',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/it/expenses.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'type' => [
'flight' => 'Volo',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/it/flights.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'flightnumber' => 'Numero di Volo',
'flighttime' => 'Tempo di Volo',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/it/home.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'welcome' => [
'title' => 'Benvenuti!',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/it/pireps.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'filenewpirep' => 'Inserici Nuovo PIREP',
'pilotreport' => 'Rapporto Pilota|Rapporti Pilota',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/it/profile.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'avatarresize' => 'Questo avatar sarà ridimensionato a :width x :height pixels',
'newapikey' => 'Nuova Chiave API',
Expand Down
1 change: 0 additions & 1 deletion resources/lang/it/toc.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'title' => 'Termini e Condizioni di Utilizzo',
];
1 change: 0 additions & 1 deletion resources/lang/it/user.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'location' => 'Posizione',
'state' => [
Expand Down
1 change: 0 additions & 1 deletion resources/lang/it/widgets.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


return [
'latestnews' => [
'news' => 'Novità',
Expand Down
1 change: 0 additions & 1 deletion tests/SubfleetTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


class SubfleetTest extends TestCase
{
protected $ac_svc;
Expand Down