mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-27 17:31:09 -06:00
Capitalisation for code coverage.
This commit is contained in:
parent
662fbed1d0
commit
6001180e29
@ -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');
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -92,9 +92,9 @@ class TransactionJournal extends Eloquent
|
||||
if ($this->encrypted) {
|
||||
return Crypt::decrypt($value);
|
||||
}
|
||||
// @CodeCoverageIgnoreStart
|
||||
// @codeCoverageIgnoreStart
|
||||
return $value;
|
||||
// @CodeCoverageIgnoreEnd
|
||||
// @codeCoverageIgnoreEnd
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user