diff --git a/src/MongoDB/Exception/SSLConnectionException.stub.php b/src/MongoDB/Exception/SSLConnectionException.stub.php index 5401b8844..0c6ae5446 100644 --- a/src/MongoDB/Exception/SSLConnectionException.stub.php +++ b/src/MongoDB/Exception/SSLConnectionException.stub.php @@ -7,6 +7,7 @@ namespace MongoDB\Driver\Exception; +/** @deprecated use ConnectionException instead */ final class SSLConnectionException extends ConnectionException { } diff --git a/src/MongoDB/Exception/SSLConnectionException_arginfo.h b/src/MongoDB/Exception/SSLConnectionException_arginfo.h index 668f79829..16098231a 100644 --- a/src/MongoDB/Exception/SSLConnectionException_arginfo.h +++ b/src/MongoDB/Exception/SSLConnectionException_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 95855dc37941494d4bb81c28077c1fa79153d027 */ + * Stub hash: 2948889569c0558ad634e3d05360b9d942dbb282 */ @@ -14,7 +14,7 @@ static zend_class_entry *register_class_MongoDB_Driver_Exception_SSLConnectionEx INIT_NS_CLASS_ENTRY(ce, "MongoDB\\Driver\\Exception", "SSLConnectionException", class_MongoDB_Driver_Exception_SSLConnectionException_methods); class_entry = zend_register_internal_class_ex(&ce, class_entry_MongoDB_Driver_Exception_ConnectionException); - class_entry->ce_flags |= ZEND_ACC_FINAL; + class_entry->ce_flags |= ZEND_ACC_FINAL|ZEND_ACC_DEPRECATED; return class_entry; }