add comment when fall-through is intentional in a non-empty case body
This commit is contained in:
parent
5a8bbf6457
commit
616e813229
2
.github/workflows/linter.yml
vendored
2
.github/workflows/linter.yml
vendored
|
@ -31,4 +31,4 @@ jobs:
|
|||
args: --profile --ignore-platform-reqs
|
||||
|
||||
- name: Run Linter
|
||||
run: ./vendor/bin/phpcs -p || true
|
||||
run: ./vendor/bin/phpcs -p
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue