Capitalisation for code coverage.

This commit is contained in:
James Cole
2015-02-04 06:25:19 +01:00
parent 662fbed1d0
commit 6001180e29
4 changed files with 13 additions and 13 deletions

View File

@@ -79,11 +79,11 @@ class UserController extends BaseController
if ($user) { if ($user) {
$result = $email->sendVerificationMail($user); $result = $email->sendVerificationMail($user);
if ($result === false && Config::get('mail.pretend') === false) { if ($result === false && Config::get('mail.pretend') === false) {
// @CodeCoverageIgnoreStart // @codeCoverageIgnoreStart
$user->delete(); $user->delete();
return View::make('error')->with('message', 'The email message could not be send. See the log files.'); 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'); return View::make('user.verification-pending');

View File

@@ -32,14 +32,14 @@ class FF3ServiceProvider extends ServiceProvider
/** /**
* Return the services bla bla. * Return the services bla bla.
* *
* @CodeCoverageIgnore * @codeCoverageIgnore
* @return array * @return array
*/ */
public function provides() public function provides()
{ {
// @CodeCoverageIgnoreStart // @codeCoverageIgnoreStart
return ['reminders', 'filters', 'datekit', 'navigation']; return ['reminders', 'filters', 'datekit', 'navigation'];
// @CodeCoverageIgnoreEnd // @codeCoverageIgnoreEnd
} }
/** /**

View File

@@ -14,7 +14,7 @@ class Filter
{ {
/** /**
* Save Session::get('start') and Session::get('end') for other methods to use. * Save Session::get('start') and Session::get('end') for other methods to use.
* @CodeCoverageIgnore * @codeCoverageIgnore
*/ */
public function setSessionDateRange() public function setSessionDateRange()
{ {
@@ -46,9 +46,9 @@ class Filter
public function setSessionRangeValue() public function setSessionRangeValue()
{ {
if (!is_null(\Session::get('range'))) { if (!is_null(\Session::get('range'))) {
// @CodeCoverageIgnoreStart // @codeCoverageIgnoreStart
$range = \Session::get('range'); $range = \Session::get('range');
// @CodeCoverageIgnoreEnd // @codeCoverageIgnoreEnd
} else { } else {
/** @var \FireflyIII\Shared\Preferences\PreferencesInterface $preferences */ /** @var \FireflyIII\Shared\Preferences\PreferencesInterface $preferences */
$preferences = \App::make('FireflyIII\Shared\Preferences\PreferencesInterface'); $preferences = \App::make('FireflyIII\Shared\Preferences\PreferencesInterface');
@@ -69,7 +69,7 @@ class Filter
* *
* @return Carbon * @return Carbon
* @throws FireflyException * @throws FireflyException
* @CodeCoverageIgnore * @codeCoverageIgnore
*/ */
protected function updateStartDate($range, Carbon $start) protected function updateStartDate($range, Carbon $start)
{ {
@@ -104,7 +104,7 @@ class Filter
* *
* @return Carbon * @return Carbon
* @throws FireflyException * @throws FireflyException
* @CodeCoverageIgnore * @codeCoverageIgnore
*/ */
protected function updateEndDate($range, Carbon $start) protected function updateEndDate($range, Carbon $start)
{ {
@@ -143,7 +143,7 @@ class Filter
* *
* @return string * @return string
* @throws FireflyException * @throws FireflyException
* @CodeCoverageIgnore * @codeCoverageIgnore
*/ */
protected function periodName($range, Carbon $date) protected function periodName($range, Carbon $date)
{ {

View File

@@ -92,9 +92,9 @@ class TransactionJournal extends Eloquent
if ($this->encrypted) { if ($this->encrypted) {
return Crypt::decrypt($value); return Crypt::decrypt($value);
} }
// @CodeCoverageIgnoreStart // @codeCoverageIgnoreStart
return $value; return $value;
// @CodeCoverageIgnoreEnd // @codeCoverageIgnoreEnd
} }
/** /**