Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Code cleanup.
James Cole23a09b708161
diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.phpindex 87333e1669..23521f7c0f 100644--- a/app/Exceptions/Handler.php+++ b/app/Exceptions/Handler.php@@ -49,8 +49,7 @@ class Handler extends ExceptionHandler*/public function report(Exception $e){- /** @noinspection PhpInconsistentReturnPointsInspection */- return parent::report($e);+ parent::report($e);}}diff --git a/app/Handlers/Events/ConnectJournalToPiggyBank.php b/app/Handlers/Events/ConnectJournalToPiggyBank.phpindex 7278d49691..7d19f28521 100644--- a/app/Handlers/Events/ConnectJournalToPiggyBank.php+++ b/app/Handlers/Events/ConnectJournalToPiggyBank.php@@ -19,7 +19,6 @@ class ConnectJournalToPiggyBank/*** Create the event handler.*- * @return void*/public function __construct(){diff --git a/app/Handlers/Events/RescanJournal.php b/app/Handlers/Events/RescanJournal.phpindex 226ae01a3c..aaa21b515a 100644--- a/app/Handlers/Events/RescanJournal.php+++ b/app/Handlers/Events/RescanJournal.php@@ -15,7 +15,6 @@ class RescanJournal/*** Create the event handler.*- * @return void*/public function __construct(){@@ -41,7 +40,7 @@ class RescanJournalLog::debug('Found ' . $list->count() . ' bills to check.');- /** @var Bill $bill */+ /** @var \FireflyIII\Models\Bill $bill */foreach ($list as $bill) {Log::debug('Now calling bill #' . $bill->id . ' (' . $bill->name . ')');$repository->scan($bill, $journal);diff --git a/app/Handlers/Events/UpdateJournalConnection.php b/app/Handlers/Events/UpdateJournalConnection.phpindex ad79e70551..20803aacf4 100644--- a/app/Handlers/Events/UpdateJournalConnection.php+++ b/app/Handlers/Events/UpdateJournalConnection.php@@ -15,7 +15,6 @@ class UpdateJournalConnection/*** Create the event handler.*- * @return void*/public function __construct(){diff --git a/app/Http/Controllers/BillController.php b/app/Http/Controllers/BillController.phpindex f658c5cc35..8b21054389 100644--- a/app/Http/Controllers/BillController.php+++ b/app/Http/Controllers/BillController.php@@ -90,8 +90,9 @@ class BillController extends ControllerSession::put('bills.create.url', URL::previous());}Session::forget('bills.create.fromStore');+ $subTitle = 'Create new bill';- return view('bills.create')->with('periods', $periods)->with('subTitle', 'Create new');+ return view('bills.create', compact('periods', 'subTitle'));}/**@@ -103,8 +104,9 @@ class BillController extends Controller{// put previous url in sessionSession::put('bills.delete.url', URL::previous());+ $subTitle = 'Delete "' . e($bill->name) . '"';- return view('bills.delete')->with('bill', $bill)->with('subTitle', 'Delete "' . e($bill->name) . '"');+ return view('bills.delete', compact('bill', 'subTitle'));}/**@@ -130,7 +132,8 @@ class BillController extends Controller*/public function edit(Bill $bill){- $periods = Config::get('firefly.periods_to_text');+ $periods = Config::get('firefly.periods_to_text');+ $subTitle = 'Edit "' . e($bill->name) . '"';// put previous url in session if not redirect from store (not "return_to_edit").if (Session::get('bills.edit.fromUpdate') !== true) {@@ -138,7 +141,7 @@ class BillController extends Controller}Session::forget('bills.edit.fromUpdate');- return view('bills.edit')->with('periods', $periods)->with('bill', $bill)->with('subTitle', 'Edit "' . e($bill->name) . '"');+ return view('bills.edit', compact('subTitle', 'periods', 'bill'));}/**@@ -196,8 +199,9 @@ class BillController extends Controller$journals = $repository->getJournals($bill);$bill->nextExpectedMatch = $repository->nextExpectedMatch($bill);$hideBill = true;+ $subTitle = e($bill->name);- return view('bills.show', compact('journals', 'hideBill', 'bill'))->with('subTitle', e($bill->name));+ return view('bills.show', compact('journals', 'hideBill', 'bill', 'subTitle'));}/**diff --git a/app/Http/Controllers/BudgetController.php b/app/Http/Controllers/BudgetController.phpindex cacd05d40c..5dcca9fc59 100644--- a/app/Http/Controllers/BudgetController.php+++ b/app/Http/Controllers/BudgetController.php@@ -61,8 +61,9 @@ class BudgetController extends ControllerSession::put('budgets.create.url', URL::previous());}Session::forget('budgets.create.fromStore');+ $subTitle = 'Create a new budget';- return view('budgets.create')->with('subTitle', 'Create a new budget');+ return view('budgets.create', compact('subTitle'));}/**@@ -190,7 +191,9 @@ class BudgetController extends Controllerpublic function show(BudgetRepositoryInterface $repository, Budget $budget, LimitRepetition $repetition = null){if (!is_null($repetition->id) && $repetition->budgetLimit->budget->id != $budget->id) {- return view('error')->with('message', 'Invalid selection.');+ $message = 'Invalid selection.';++ return view('error', compact('message'));}$journals = $repository->getJournals($budget, $repetition);diff --git a/app/Http/Controllers/CategoryController.php b/app/Http/Controllers/CategoryController.phpindex 2dfd42cff4..3b54d2fe1d 100644--- a/app/Http/Controllers/CategoryController.php+++ b/app/Http/Controllers/CategoryController.php@@ -2,7 +2,6 @@use Auth;use Carbon\Carbon;-use FireflyIII\Http\Requests;use FireflyIII\Http\Requests\CategoryFormRequest;use FireflyIII\Models\Category;use FireflyIII\Repositories\Category\CategoryRepositoryInterface;@@ -41,8 +40,9 @@ class CategoryController extends ControllerSession::put('categories.create.url', URL::previous());}Session::forget('categories.create.fromStore');+ $subTitle = 'Create a new category';- return view('categories.create')->with('subTitle', 'Create a new category');+ return view('categories.create', compact('subTitle'));}/**diff --git a/app/Http/Controllers/JsonController.php b/app/Http/Controllers/JsonController.phpindex db13db45d7..02c326d2fd 100644--- a/app/Http/Controllers/JsonController.php+++ b/app/Http/Controllers/JsonController.php@@ -5,6 +5,7 @@ use Carbon\Carbon;use FireflyIII\Helpers\Report\ReportQueryInterface;use FireflyIII\Models\Account;use FireflyIII\Models\Bill;+use FireflyIII\Models\Preference;use FireflyIII\Models\Transaction;use FireflyIII\Models\TransactionType;use FireflyIII\Repositories\Account\AccountRepositoryInterface;@@ -227,6 +228,7 @@ class JsonController extends Controller*/public function setSharedReports(){+ /** @var Preference $pref */$pref = Preferences::get('showSharedReports', false);$new = !$pref->data;Preferences::set('showSharedReports', $new);diff --git a/app/Http/Controllers/PreferencesController.php b/app/Http/Controllers/PreferencesController.phpindex 0097b4a9cf..88aba3e124 100644--- a/app/Http/Controllers/PreferencesController.php+++ b/app/Http/Controllers/PreferencesController.php@@ -32,16 +32,14 @@ class PreferencesController extends Controller*/public function index(AccountRepositoryInterface $repository){- $accounts = $repository->getAccounts(['Default account', 'Asset account']);- $viewRange = Preferences::get('viewRange', '1M');- $viewRangeValue = $viewRange->data;- $frontPage = Preferences::get('frontPageAccounts', []);- $budgetMax = Preferences::get('budgetMaximum', 1000);- $budgetMaximum = $budgetMax->data;+ $accounts = $repository->getAccounts(['Default account', 'Asset account']);+ $viewRangePref = Preferences::get('viewRange', '1M');+ $viewRange = $viewRangePref->data;+ $frontPageAccounts = Preferences::get('frontPageAccounts', []);+ $budgetMax = Preferences::get('budgetMaximum', 1000);+ $budgetMaximum = $budgetMax->data;- return view('preferences.index', compact('budgetMaximum'))->with('accounts', $accounts)->with('frontPageAccounts', $frontPage)->with(- 'viewRange', $viewRangeValue- );+ return view('preferences.index', compact('budgetMaximum', 'accounts', 'frontPageAccounts', 'viewRange'));}/**diff --git a/app/Http/Controllers/ReportController.php b/app/Http/Controllers/ReportController.phpindex 5e9c43e253..22090e77e5 100644--- a/app/Http/Controllers/ReportController.php+++ b/app/Http/Controllers/ReportController.php@@ -75,6 +75,7 @@ class ReportController extends Controller// should always hide account$hide = true;// loop all budgets+ /** @var \FireflyIII\Models\Budget $budget */foreach ($budgets as $budget) {$id = intval($budget->id);$data = $budget->toArray();diff --git a/app/Http/Controllers/TransactionController.php b/app/Http/Controllers/TransactionController.phpindex 64da2ec4be..5ee2a7a690 100644--- a/app/Http/Controllers/TransactionController.php+++ b/app/Http/Controllers/TransactionController.php@@ -249,11 +249,9 @@ class TransactionController extends Controller$t->after = $t->before + $t->amount;});+ $subTitle = e($journal->transactiontype->type) . ' "' . e($journal->description) . '"';-- return view('transactions.show', compact('journal'))->with(- 'subTitle', e($journal->transactiontype->type) . ' "' . e($journal->description) . '"'- );+ return view('transactions.show', compact('journal', 'subTitle'));}/**diff --git a/app/Http/breadcrumbs.php b/app/Http/breadcrumbs.phpindex 7a0a504a6d..465c4167ef 100644--- a/app/Http/breadcrumbs.php+++ b/app/Http/breadcrumbs.php@@ -413,6 +413,6 @@ Breadcrumbs::register(Breadcrumbs::register('tags.show', function (Generator $breadcrumbs, Tag $tag) {$breadcrumbs->parent('tags.index');- $breadcrumbs->push(e($tag->tag), route('tags.show', $tag));+ $breadcrumbs->push(e($tag->tag), route('tags.show', $tag->id));});\ No newline at end of filediff --git a/app/Http/routes.php b/app/Http/routes.phpindex 401fb8ca67..957d55829a 100644--- a/app/Http/routes.php+++ b/app/Http/routes.php@@ -13,6 +13,7 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;// models+/** @noinspection PhpUnusedParameterInspection */Route::bind('account',function ($value, $route) {@@ -30,6 +31,7 @@ Route::bind(});+/** @noinspection PhpUnusedParameterInspection */Route::bind('tj', function ($value, $route) {if (Auth::check()) {@@ -43,6 +45,7 @@ Route::bind(});+/** @noinspection PhpUnusedParameterInspection */Route::bind('currency', function ($value, $route) {if (Auth::check()) {@@ -55,6 +58,7 @@ Route::bind(});+/** @noinspection PhpUnusedParameterInspection */Route::bind('bill', function ($value, $route) {if (Auth::check()) {@@ -68,6 +72,7 @@ Route::bind(});+/** @noinspection PhpUnusedParameterInspection */Route::bind('budget', function ($value, $route) {if (Auth::check()) {@@ -81,6 +86,7 @@ Route::bind(});+/** @noinspection PhpUnusedParameterInspection */Route::bind('reminder', function ($value, $route) {if (Auth::check()) {@@ -94,6 +100,7 @@ Route::bind(});+/** @noinspection PhpUnusedParameterInspection */Route::bind('limitrepetition', function ($value, $route) {if (Auth::check()) {@@ -111,6 +118,7 @@ Route::bind(});+/** @noinspection PhpUnusedParameterInspection */Route::bind('piggyBank', function ($value, $route) {if (Auth::check()) {@@ -127,6 +135,7 @@ Route::bind(});+/** @noinspection PhpUnusedParameterInspection */Route::bind('category', function ($value, $route) {if (Auth::check()) {@@ -140,6 +149,7 @@ Route::bind(});+/** @noinspection PhpUnusedParameterInspection */Route::bind('reminder', function ($value, $route) {if (Auth::check()) {@@ -156,6 +166,7 @@ Route::bind(});+/** @noinspection PhpUnusedParameterInspection */Route::bind('tag', function ($value, $route) {if (Auth::check()) {diff --git a/app/Repositories/Account/AccountRepository.php b/app/Repositories/Account/AccountRepository.phpindex 2d3bd4c388..a3e98bfd57 100644--- a/app/Repositories/Account/AccountRepository.php+++ b/app/Repositories/Account/AccountRepository.php@@ -374,6 +374,8 @@ class AccountRepository implements AccountRepositoryInterface/*** @param Account $account* @param array $data+ *+ * @return Account*/public function update(Account $account, array $data){diff --git a/app/Repositories/Account/AccountRepositoryInterface.php b/app/Repositories/Account/AccountRepositoryInterface.phpindex 0a80c40691..cc80a6c403 100644--- a/app/Repositories/Account/AccountRepositoryInterface.php+++ b/app/Repositories/Account/AccountRepositoryInterface.php@@ -88,7 +88,7 @@ interface AccountRepositoryInterface/*** @param Account $account- * @param string $range+ * @param $page** @return LengthAwarePaginator*/diff --git a/app/Repositories/Bill/BillRepository.php b/app/Repositories/Bill/BillRepository.phpindex df997ba2c0..58d30446e1 100644--- a/app/Repositories/Bill/BillRepository.php+++ b/app/Repositories/Bill/BillRepository.php@@ -211,10 +211,12 @@ class BillRepository implements BillRepositoryInterface* $today is the start of the next period, to make sure FF3 won't miss anything* when the current period has a transaction journal.*/- $today = Navigation::addPeriod(new Carbon, $bill->repeat_freq, 0);+ /** @var \Carbon\Carbon $obj */+ $obj = new Carbon;+ $today = Navigation::addPeriod($obj, $bill->repeat_freq, 0);$skip = $bill->skip + 1;- $start = Navigation::startOfPeriod(new Carbon, $bill->repeat_freq);+ $start = Navigation::startOfPeriod($obj, $bill->repeat_freq);/** go back exactly one month/week/etc because FF3 does not care about 'next'* bills if they're too far into the past.diff --git a/app/Repositories/Category/CategoryRepositoryInterface.php b/app/Repositories/Category/CategoryRepositoryInterface.phpindex 5b29845daf..3cf025e354 100644--- a/app/Repositories/Category/CategoryRepositoryInterface.php+++ b/app/Repositories/Category/CategoryRepositoryInterface.php@@ -72,8 +72,8 @@ interface CategoryRepositoryInterface/*** @param Category $category- * @param Carbon $start- * @param Carbon $end+ * @param \Carbon\Carbon $start+ * @param \Carbon\Carbon $end** @return float*/diff --git a/app/Repositories/Journal/JournalRepository.php b/app/Repositories/Journal/JournalRepository.phpindex 74d0c5b88a..180f6d870a 100644--- a/app/Repositories/Journal/JournalRepository.php+++ b/app/Repositories/Journal/JournalRepository.php@@ -27,13 +27,13 @@ class JournalRepository implements JournalRepositoryInterface{/**- * @param int $id+ * @param int $reminderId** @return bool*/- public function deactivateReminder($id)+ public function deactivateReminder($reminderId){- $reminder = Auth::user()->reminders()->find($id);+ $reminder = Auth::user()->reminders()->find($reminderId);if ($reminder) {$reminder->active = 0;$reminder->save();@@ -195,6 +195,7 @@ class JournalRepository implements JournalRepositoryInterface// store or get budgetif (intval($data['budget_id']) > 0) {+ /** @var \FireflyIII\Models\Budget $budget */$budget = Budget::find($data['budget_id']);$journal->budgets()->save($budget);}@@ -254,6 +255,7 @@ class JournalRepository implements JournalRepositoryInterface// unlink all budgets and recreate them:$journal->budgets()->detach();if (intval($data['budget_id']) > 0) {+ /** @var \FireflyIII\Models\Budget $budget */$budget = Budget::find($data['budget_id']);$journal->budgets()->save($budget);}diff --git a/app/Repositories/Journal/JournalRepositoryInterface.php b/app/Repositories/Journal/JournalRepositoryInterface.phpindex 5a7776ccdf..9e46b6213a 100644--- a/app/Repositories/Journal/JournalRepositoryInterface.php+++ b/app/Repositories/Journal/JournalRepositoryInterface.php@@ -17,11 +17,11 @@ use Illuminate\Support\Collection;interface JournalRepositoryInterface{/**- * @param int $id+ * @param int $reminderId** @return bool*/- public function deactivateReminder($id);+ public function deactivateReminder($reminderId);/*** @param TransactionJournal $journaldiff --git a/app/Repositories/PiggyBank/PiggyBankRepository.php b/app/Repositories/PiggyBank/PiggyBankRepository.phpindex 2ce6ef2d49..bbd7248915 100644--- a/app/Repositories/PiggyBank/PiggyBankRepository.php+++ b/app/Repositories/PiggyBank/PiggyBankRepository.php@@ -188,10 +188,11 @@ class PiggyBankRepository implements PiggyBankRepositoryInterface}/**- * @param PiggyBank $account+ * @param PiggyBank $piggyBank* @param array $data** @return PiggyBank+ * @internal param PiggyBank $account*/public function update(PiggyBank $piggyBank, array $data){diff --git a/app/Repositories/PiggyBank/PiggyBankRepositoryInterface.php b/app/Repositories/PiggyBank/PiggyBankRepositoryInterface.phpindex c6f0348924..ce67a6b6b0 100644--- a/app/Repositories/PiggyBank/PiggyBankRepositoryInterface.php+++ b/app/Repositories/PiggyBank/PiggyBankRepositoryInterface.php@@ -94,7 +94,7 @@ interface PiggyBankRepositoryInterfacepublic function store(array $data);/**- * @param PiggyBank $account+ * @param PiggyBank $piggyBank* @param array $data** @return PiggyBankdiff --git a/app/Support/Amount.php b/app/Support/Amount.phpindex c22044997a..54669530d2 100644--- a/app/Support/Amount.php+++ b/app/Support/Amount.php@@ -84,9 +84,11 @@ class Amount}/**- * @return string** @param TransactionJournal $journal+ * @param bool $coloured+ *+ * @return string*/public function formatJournal(TransactionJournal $journal, $coloured = true){@@ -167,6 +169,9 @@ class Amountreturn 'EUR';}+ /**+ * @return mixed|static+ */public function getDefaultCurrency(){$currencyPreference = Prefs::get('currencyPreference', 'EUR');diff --git a/app/Support/ExpandedForm.php b/app/Support/ExpandedForm.phpindex ee7f79ca2e..a28c87ba02 100644--- a/app/Support/ExpandedForm.php+++ b/app/Support/ExpandedForm.php@@ -240,8 +240,8 @@ class ExpandedForm** Takes any collection and tries to make a sensible select list compatible array of it.*- * @param Collection $set- * @param bool $addEmpty+ * @param \Illuminate\Support\Collection $set+ * @param bool $addEmpty** @return mixed*/@@ -288,10 +288,12 @@ class ExpandedForm/*** @param $name- * @param null $value+ * @param array $list+ * @param null $selected* @param array $options** @return string+ * @internal param null $value*/public function multiRadio($name, array $list = [], $selected = null, array $options = []){diff --git a/app/Support/Navigation.php b/app/Support/Navigation.phpindex 65f3de722b..9a073acefe 100644--- a/app/Support/Navigation.php+++ b/app/Support/Navigation.php@@ -15,7 +15,7 @@ class Navigation/**- * @param Carbon $theDate+ * @param \Carbon\Carbon $theDate* @param $repeatFreq* @param $skip*@@ -64,10 +64,10 @@ class Navigation}/**- * @param Carbon $theCurrentEnd+ * @param \Carbon\Carbon $theCurrentEnd* @param $repeatFreq*- * @return Carbon+ * @return \Carbon\Carbon* @throws FireflyException*/public function endOfPeriod(Carbon $theCurrentEnd, $repeatFreq)@@ -301,10 +301,10 @@ class Navigation}/**- * @param Carbon $theDate+ * @param \Carbon\Carbon $theDate* @param $repeatFreq*- * @return Carbon+ * @return \Carbon\Carbon* @throws FireflyException*/public function startOfPeriod(Carbon $theDate, $repeatFreq)@@ -388,9 +388,9 @@ class Navigation/*** @param $range- * @param Carbon $start+ * @param \Carbon\Carbon $start*- * @return Carbon+ * @return \Carbon\Carbon* @throws FireflyException*/public function updateEndDate($range, Carbon $start)@@ -423,10 +423,10 @@ class Navigation}/**- * @param $range- * @param Carbon $start+ * @param $range+ * @param \Carbon\Carbon $start*- * @return Carbon+ * @return \Carbon\Carbon* @throws FireflyException*/public function updateStartDate($range, Carbon $start)diff --git a/app/Support/Preferences.php b/app/Support/Preferences.phpindex 0604a0b1be..ff534f63e3 100644--- a/app/Support/Preferences.php+++ b/app/Support/Preferences.php@@ -16,7 +16,7 @@ class Preferences* @param $name* @param null $default*- * @return null|Preference+ * @return null|\FireflyIII\Models\Preference*/public function get($name, $default = null){diff --git a/app/Support/Search/Search.php b/app/Support/Search/Search.phpindex 9f512493e6..e07e538ecf 100644--- a/app/Support/Search/Search.php+++ b/app/Support/Search/Search.php@@ -121,6 +121,7 @@ class Search implements SearchInterfacereturn $journal;}}+ return null;});diff --git a/app/Support/Steam.php b/app/Support/Steam.phpindex 591bba1db5..8206024886 100644--- a/app/Support/Steam.php+++ b/app/Support/Steam.php@@ -17,8 +17,8 @@ class Steam{/***- * @param Account $account- * @param Carbon $date+ * @param \FireflyIII\Models\Account $account+ * @param \Carbon\Carbon $date* @param bool $ignoreVirtualBalance** @return float@@ -91,7 +91,7 @@ class Steam* Turns a collection into an array. Needs the field 'id' for the key,* and saves only 'name' and 'amount' as a sub array.*- * @param Collection $collection+ * @param \Illuminate\Support\Collection $collection** @return array*/diff --git a/app/Support/Twig/Journal.php b/app/Support/Twig/Journal.phpindex 52dd0d6620..70c088281e 100644--- a/app/Support/Twig/Journal.php+++ b/app/Support/Twig/Journal.php@@ -39,7 +39,7 @@ class Journal extends Twig_Extensionif ($type == 'Opening balance') {return '<span class="glyphicon glyphicon-ban-circle" title="Opening balance"></span>';}-+ return '';}, ['is_safe' => ['html']]);diff --git a/database/migrations/2014_10_12_100000_create_password_resets_table.php b/database/migrations/2014_10_12_100000_create_password_resets_table.phpindex 788ebc23e6..dc7f142530 100644--- a/database/migrations/2014_10_12_100000_create_password_resets_table.php+++ b/database/migrations/2014_10_12_100000_create_password_resets_table.php@@ -4,6 +4,8 @@ use Illuminate\Database\Migrations\Migration;use Illuminate\Database\Schema\Blueprint;/**+ * @SuppressWarnings(PHPMD.ShortMethodName)+ ** Class CreatePasswordResetsTable*/class CreatePasswordResetsTable extends Migrationdiff --git a/database/migrations/2014_12_24_191544_changes_for_v322.php b/database/migrations/2014_12_24_191544_changes_for_v322.phpindex 6ee2a55a2e..11a6ce7416 100644--- a/database/migrations/2014_12_24_191544_changes_for_v322.php+++ b/database/migrations/2014_12_24_191544_changes_for_v322.php@@ -5,7 +5,7 @@ use Illuminate\Database\Schema\Blueprint;/*** @SuppressWarnings(PHPMD.ShortMethodName)- * @SuppressWarnings("MethodLength") // I don't mind this in case of migrations.+ * @SuppressWarnings("PHPMD.ExcessiveMethodLength")** Class ChangesForV322*/diff --git a/database/migrations/2015_01_18_082406_changes_for_v325.php b/database/migrations/2015_01_18_082406_changes_for_v325.phpindex d24b6d1c87..4c189cc840 100644--- a/database/migrations/2015_01_18_082406_changes_for_v325.php+++ b/database/migrations/2015_01_18_082406_changes_for_v325.php@@ -5,7 +5,7 @@ use Illuminate\Database\Schema\Blueprint;/*** @SuppressWarnings(PHPMD.ShortMethodName)- * @SuppressWarnings("MethodLength") // I don't mind this in case of migrations.+ * @SuppressWarnings("PHPMD.ExcessiveMethodLength")** Class ChangesForV325*/diff --git a/database/migrations/2015_02_27_210653_changes_for_v332.php b/database/migrations/2015_02_27_210653_changes_for_v332.phpindex bbf876afd4..379b50a0c6 100644--- a/database/migrations/2015_02_27_210653_changes_for_v332.php+++ b/database/migrations/2015_02_27_210653_changes_for_v332.php@@ -4,6 +4,8 @@ use Illuminate\Database\Migrations\Migration;use Illuminate\Database\Schema\Blueprint;/**+ * @SuppressWarnings(PHPMD.ShortMethodName)+ ** Class ChangesForV332*/class ChangesForV332 extends Migrationdiff --git a/database/migrations/2015_03_27_061038_changes_for_v333.php b/database/migrations/2015_03_27_061038_changes_for_v333.phpindex 75bc20bcad..88da537984 100644--- a/database/migrations/2015_03_27_061038_changes_for_v333.php+++ b/database/migrations/2015_03_27_061038_changes_for_v333.php@@ -3,6 +3,11 @@use Illuminate\Database\Migrations\Migration;use Illuminate\Database\Schema\Blueprint;+/**+ * @SuppressWarnings(PHPMD.ShortMethodName)+ *+ * Class ChangesForV333+ */class ChangesForV333 extends Migration{diff --git a/database/migrations/2015_03_29_174140_changes_for_v336.php b/database/migrations/2015_03_29_174140_changes_for_v336.phpindex 85bf6420c5..acaf6a384e 100644--- a/database/migrations/2015_03_29_174140_changes_for_v336.php+++ b/database/migrations/2015_03_29_174140_changes_for_v336.php@@ -4,6 +4,9 @@ use Illuminate\Database\Migrations\Migration;use Illuminate\Database\Schema\Blueprint;/**+ * @SuppressWarnings(PHPMD.ShortMethodName)+ * @SuppressWarnings("PHPMD.ExcessiveMethodLength")+ ** Class ChangesForV336*/class ChangesForV336 extends Migrationdiff --git a/database/migrations/2015_04_26_054507_changes_for_v3310.php b/database/migrations/2015_04_26_054507_changes_for_v3310.phpindex 11b13c6c79..94c777ed1b 100644--- a/database/migrations/2015_04_26_054507_changes_for_v3310.php+++ b/database/migrations/2015_04_26_054507_changes_for_v3310.php@@ -3,6 +3,12 @@use Illuminate\Database\Migrations\Migration;use Illuminate\Database\Schema\Blueprint;+/**+ * @SuppressWarnings(PHPMD.ShortMethodName)+ * @SuppressWarnings("PHPMD.ExcessiveMethodLength")+ *+ * Class ChangesForV3310+ */class ChangesForV3310 extends Migration{diff --git a/database/migrations/2015_04_28_075215_changes_for_v3310a.php b/database/migrations/2015_04_28_075215_changes_for_v3310a.phpindex 9c0c1df3d6..9a599ccb8b 100644--- a/database/migrations/2015_04_28_075215_changes_for_v3310a.php+++ b/database/migrations/2015_04_28_075215_changes_for_v3310a.php@@ -4,6 +4,8 @@ use Illuminate\Database\Migrations\Migration;use Illuminate\Database\Schema\Blueprint;/**+ * @SuppressWarnings(PHPMD.ShortMethodName)+ ** Class ChangesForV3310a*/class ChangesForV3310a extends Migrationdiff --git a/database/migrations/2015_04_28_075317_changes_for_v3310b.php b/database/migrations/2015_04_28_075317_changes_for_v3310b.phpindex 373e6238bb..ee2e8d17e7 100644--- a/database/migrations/2015_04_28_075317_changes_for_v3310b.php+++ b/database/migrations/2015_04_28_075317_changes_for_v3310b.php@@ -3,6 +3,8 @@use Illuminate\Database\Migrations\Migration;/**+ * @SuppressWarnings(PHPMD.ShortMethodName)+ ** Class ChangesForV3310b*/class ChangesForV3310b extends Migration