From 616e813229f6cdbd6c24c41a89124e1cdfa6d1c1 Mon Sep 17 00:00:00 2001 From: Everly Precia Suresh Date: Thu, 2 Jun 2022 22:18:42 +0000 Subject: [PATCH] add comment when fall-through is intentional in a non-empty case body --- .github/workflows/linter.yml | 2 +- src/Appwrite/Migration/Version/V13.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index a185f3fcd..2c98d11b8 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -31,4 +31,4 @@ jobs: args: --profile --ignore-platform-reqs - name: Run Linter - run: ./vendor/bin/phpcs -p || true + run: ./vendor/bin/phpcs -p diff --git a/src/Appwrite/Migration/Version/V13.php b/src/Appwrite/Migration/Version/V13.php index 277b84ae9..d204be84f 100644 --- a/src/Appwrite/Migration/Version/V13.php +++ b/src/Appwrite/Migration/Version/V13.php @@ -319,7 +319,7 @@ class V13 extends Migration return 'buckets.*.' . implode('.', $parts); case 'files': return 'buckets.*.' . $second . '.*.' . implode('.', $parts); - } + } // intentional fallthrough case 'database': $second = array_shift($parts); switch ($second) {