CS (eof_ending)
This commit is contained in:
parent
3a4bbf1885
commit
c1754d302c
@ -28,4 +28,4 @@ class ToggleableValidator implements ValidatorInterface {
|
|||||||
|
|
||||||
return $this->validator->checkEncoding($str, $encoding);
|
return $this->validator->checkEncoding($str, $encoding);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -90,4 +90,4 @@ class Validator {
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,4 +9,4 @@ interface ValidatorInterface {
|
|||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
function checkEncoding($str, $encoding);
|
function checkEncoding($str, $encoding);
|
||||||
}
|
}
|
||||||
|
@ -25,4 +25,4 @@ interface DataInterface {
|
|||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
function getContents();
|
function getContents();
|
||||||
}
|
}
|
||||||
|
@ -35,4 +35,4 @@ interface FrameInterface extends DataInterface {
|
|||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
function getMaskingKey();
|
function getMaskingKey();
|
||||||
}
|
}
|
||||||
|
@ -117,4 +117,4 @@ class Hixie76 implements VersionInterface {
|
|||||||
. $code
|
. $code
|
||||||
, true);
|
, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -16,4 +16,4 @@ class Connection extends AbstractConnectionDecorator {
|
|||||||
public function close() {
|
public function close() {
|
||||||
$this->getConnection()->close();
|
$this->getConnection()->close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -83,4 +83,4 @@ class Frame implements FrameInterface {
|
|||||||
public function extractOverflow() {
|
public function extractOverflow() {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,4 +12,4 @@ class HyBi10 extends RFC6455 {
|
|||||||
public function getVersionNumber() {
|
public function getVersionNumber() {
|
||||||
return 6;
|
return 6;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,4 +12,4 @@ interface MessageInterface extends DataInterface {
|
|||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
function getOpcode();
|
function getOpcode();
|
||||||
}
|
}
|
||||||
|
@ -30,4 +30,4 @@ class Connection extends AbstractConnectionDecorator {
|
|||||||
|
|
||||||
$this->getConnection()->close();
|
$this->getConnection()->close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -447,4 +447,4 @@ class Frame implements FrameInterface {
|
|||||||
|
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -134,4 +134,4 @@ class HandshakeVerifier {
|
|||||||
*/
|
*/
|
||||||
public function verifyExtensions($val) {
|
public function verifyExtensions($val) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -104,4 +104,4 @@ class Message implements MessageInterface, \Countable {
|
|||||||
|
|
||||||
return $buffer;
|
return $buffer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -54,4 +54,4 @@ interface VersionInterface extends MessageInterface {
|
|||||||
* @todo Change to use other classes, this will be removed eventually
|
* @todo Change to use other classes, this will be removed eventually
|
||||||
*/
|
*/
|
||||||
//function frame($message, $mask = true);
|
//function frame($message, $mask = true);
|
||||||
}
|
}
|
||||||
|
@ -87,4 +87,4 @@ class VersionManager {
|
|||||||
public function getSupportedVersionString() {
|
public function getSupportedVersionString() {
|
||||||
return $this->versionString;
|
return $this->versionString;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -224,4 +224,4 @@ class WsServer implements HttpServerInterface {
|
|||||||
$conn->send((string)$response);
|
$conn->send((string)$response);
|
||||||
$conn->close();
|
$conn->close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -11,4 +11,4 @@ interface WsServerInterface {
|
|||||||
* @temporary This method may be removed in future version (note that will not break code, just make some code obsolete)
|
* @temporary This method may be removed in future version (note that will not break code, just make some code obsolete)
|
||||||
*/
|
*/
|
||||||
function getSubProtocols();
|
function getSubProtocols();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user