From 671b025588fcf7bf10cd2c66b2674257cc2c8126 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 10 May 2015 13:40:29 +0200 Subject: [PATCH] More ignore stuff. --- app/Models/Account.php | 2 ++ app/Models/Budget.php | 2 ++ app/Models/Category.php | 7 +++++-- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/app/Models/Account.php b/app/Models/Account.php index 635f5d63fe..e9e39346f5 100644 --- a/app/Models/Account.php +++ b/app/Models/Account.php @@ -159,6 +159,7 @@ class Account extends Model } /** + * @codeCoverageIgnore * @param EloquentBuilder $query * @param array $types */ @@ -172,6 +173,7 @@ class Account extends Model } /** + * @codeCoverageIgnore * @param EloquentBuilder $query * @param string $name * @param string $value diff --git a/app/Models/Budget.php b/app/Models/Budget.php index 63a7e3979b..7272639eac 100644 --- a/app/Models/Budget.php +++ b/app/Models/Budget.php @@ -7,6 +7,7 @@ use Illuminate\Database\Eloquent\SoftDeletes; /** * Class Budget * + * @codeCoverageIgnore * @package FireflyIII\Models */ class Budget extends Model @@ -17,6 +18,7 @@ class Budget extends Model protected $fillable = ['user_id', 'name']; /** + * * @return \Illuminate\Database\Eloquent\Relations\HasMany */ public function budgetlimits() diff --git a/app/Models/Category.php b/app/Models/Category.php index 502ef8bcfa..363f773d2a 100644 --- a/app/Models/Category.php +++ b/app/Models/Category.php @@ -18,6 +18,7 @@ class Category extends Model protected $fillable = ['user_id', 'name']; /** + * @codeCoverageIgnore * @return array */ public function getDates() @@ -26,6 +27,7 @@ class Category extends Model } /** + * @codeCoverageIgnore * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany */ public function transactionjournals() @@ -67,6 +69,7 @@ class Category extends Model } /** + * @codeCoverageIgnore * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function user() @@ -75,6 +78,7 @@ class Category extends Model } /** + * @codeCoverageIgnore * @param $value */ public function setNameAttribute($value) @@ -84,6 +88,7 @@ class Category extends Model } /** + * @codeCoverageIgnore * @param $value * * @return string @@ -95,9 +100,7 @@ class Category extends Model return Crypt::decrypt($value); } - // @codeCoverageIgnoreStart return $value; - // @codeCoverageIgnoreEnd } }