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) {
$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');

View File

@ -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
}
/**

View File

@ -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)
{

View File

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