mirror of
https://github.com/predis/predis.git
synced 2026-08-28 11:09:49 +00:00
Comply with PSR-2 on intentional fall-through in non-empty case.
This commit is contained in:
@@ -123,6 +123,7 @@ class Consumer extends AbstractConsumer
|
||||
}
|
||||
// The missing break here is intentional as we must process
|
||||
// subscriptions and unsubscriptions as standard messages.
|
||||
// no break
|
||||
|
||||
case self::MESSAGE:
|
||||
return (object) array(
|
||||
|
||||
@@ -909,6 +909,7 @@ class MultiExecTest extends PredisTestCase
|
||||
|
||||
case 'UNWATCH':
|
||||
$watch = false;
|
||||
// no break
|
||||
|
||||
default:
|
||||
return $multi ? new Response\Status('QUEUED') : 'DUMMY_RESPONSE';
|
||||
|
||||
Reference in New Issue
Block a user