From 0faebc290fe5f6e197c4902b53d389b0ee809deb Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 17 Jan 2015 10:05:51 +0100 Subject: [PATCH] Suppress warnings. --- app/database/migrations/2014_12_13_190730_changes_for_v321.php | 3 ++- app/database/migrations/2014_12_24_191544_changes_for_v322.php | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/database/migrations/2014_12_13_190730_changes_for_v321.php b/app/database/migrations/2014_12_13_190730_changes_for_v321.php index 546361390b..9d5242189d 100644 --- a/app/database/migrations/2014_12_13_190730_changes_for_v321.php +++ b/app/database/migrations/2014_12_13_190730_changes_for_v321.php @@ -5,7 +5,8 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; /** - * @SuppressWarnings(PHPMD.ShortMethodName) + * @SuppressWarnings(PHPMD.ShortMethodName) // method names are mandated by laravel. + * @SuppressWarnings("TooManyMethods") // I'm fine with this * * Down: * 1. Create new Components based on Budgets. diff --git a/app/database/migrations/2014_12_24_191544_changes_for_v322.php b/app/database/migrations/2014_12_24_191544_changes_for_v322.php index 5e11626130..5b5e7abff2 100644 --- a/app/database/migrations/2014_12_24_191544_changes_for_v322.php +++ b/app/database/migrations/2014_12_24_191544_changes_for_v322.php @@ -5,6 +5,8 @@ use Illuminate\Database\Schema\Blueprint; /** * @SuppressWarnings(PHPMD.ShortMethodName) + * @SuppressWarnings("MethodLength") // I don't mind this in case of migrations. + * * Class ChangesForV322 */