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
|
args: --profile --ignore-platform-reqs
|
||||||
|
|
||||||
- name: Run Linter
|
- 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);
|
return 'buckets.*.' . implode('.', $parts);
|
||||||
case 'files':
|
case 'files':
|
||||||
return 'buckets.*.' . $second . '.*.' . implode('.', $parts);
|
return 'buckets.*.' . $second . '.*.' . implode('.', $parts);
|
||||||
}
|
} // intentional fallthrough
|
||||||
case 'database':
|
case 'database':
|
||||||
$second = array_shift($parts);
|
$second = array_shift($parts);
|
||||||
switch ($second) {
|
switch ($second) {
|
||||||
|
|
Loading…
Reference in a new issue