From 6001180e2996bf31448844006bb1a6795135954e Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 4 Feb 2015 06:25:19 +0100 Subject: [PATCH] Capitalisation for code coverage. --- app/controllers/UserController.php | 4 ++-- app/lib/FireflyIII/FF3ServiceProvider.php | 6 +++--- app/lib/FireflyIII/Shared/Toolkit/Filter.php | 12 ++++++------ app/models/TransactionJournal.php | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/app/controllers/UserController.php b/app/controllers/UserController.php index e4d5186c5b..e4c96900f2 100644 --- a/app/controllers/UserController.php +++ b/app/controllers/UserController.php @@ -79,11 +79,11 @@ class UserController extends BaseController if ($user) { $result = $email->sendVerificationMail($user); if ($result === false && Config::get('mail.pretend') === false) { - // @CodeCoverageIgnoreStart + // @codeCoverageIgnoreStart $user->delete(); return View::make('error')->with('message', 'The email message could not be send. See the log files.'); - // @CodeCoverageIgnoreEnd + // @codeCoverageIgnoreEnd } return View::make('user.verification-pending'); diff --git a/app/lib/FireflyIII/FF3ServiceProvider.php b/app/lib/FireflyIII/FF3ServiceProvider.php index dbcf7b69f7..ade2e75683 100644 --- a/app/lib/FireflyIII/FF3ServiceProvider.php +++ b/app/lib/FireflyIII/FF3ServiceProvider.php @@ -32,14 +32,14 @@ class FF3ServiceProvider extends ServiceProvider /** * Return the services bla bla. * - * @CodeCoverageIgnore + * @codeCoverageIgnore * @return array */ public function provides() { - // @CodeCoverageIgnoreStart + // @codeCoverageIgnoreStart return ['reminders', 'filters', 'datekit', 'navigation']; - // @CodeCoverageIgnoreEnd + // @codeCoverageIgnoreEnd } /** diff --git a/app/lib/FireflyIII/Shared/Toolkit/Filter.php b/app/lib/FireflyIII/Shared/Toolkit/Filter.php index 7237bb8d4b..0602b72624 100644 --- a/app/lib/FireflyIII/Shared/Toolkit/Filter.php +++ b/app/lib/FireflyIII/Shared/Toolkit/Filter.php @@ -14,7 +14,7 @@ class Filter { /** * Save Session::get('start') and Session::get('end') for other methods to use. - * @CodeCoverageIgnore + * @codeCoverageIgnore */ public function setSessionDateRange() { @@ -46,9 +46,9 @@ class Filter public function setSessionRangeValue() { if (!is_null(\Session::get('range'))) { - // @CodeCoverageIgnoreStart + // @codeCoverageIgnoreStart $range = \Session::get('range'); - // @CodeCoverageIgnoreEnd + // @codeCoverageIgnoreEnd } else { /** @var \FireflyIII\Shared\Preferences\PreferencesInterface $preferences */ $preferences = \App::make('FireflyIII\Shared\Preferences\PreferencesInterface'); @@ -69,7 +69,7 @@ class Filter * * @return Carbon * @throws FireflyException - * @CodeCoverageIgnore + * @codeCoverageIgnore */ protected function updateStartDate($range, Carbon $start) { @@ -104,7 +104,7 @@ class Filter * * @return Carbon * @throws FireflyException - * @CodeCoverageIgnore + * @codeCoverageIgnore */ protected function updateEndDate($range, Carbon $start) { @@ -143,7 +143,7 @@ class Filter * * @return string * @throws FireflyException - * @CodeCoverageIgnore + * @codeCoverageIgnore */ protected function periodName($range, Carbon $date) { diff --git a/app/models/TransactionJournal.php b/app/models/TransactionJournal.php index d6f13cf646..da22e42fe9 100644 --- a/app/models/TransactionJournal.php +++ b/app/models/TransactionJournal.php @@ -92,9 +92,9 @@ class TransactionJournal extends Eloquent if ($this->encrypted) { return Crypt::decrypt($value); } - // @CodeCoverageIgnoreStart + // @codeCoverageIgnoreStart return $value; - // @CodeCoverageIgnoreEnd + // @codeCoverageIgnoreEnd } /**