Skip to content

Commit 4d6781a

Browse files
authored
PHPC-2349, PHPC-2411: Deprecate unused exception classes (#1608)
* PHPC-2349: Deprecate WriteException class * PHPC-2411: Deprecate SSLConnectionException
1 parent 7000993 commit 4d6781a

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

src/MongoDB/Exception/SSLConnectionException.stub.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
namespace MongoDB\Driver\Exception;
99

10+
/** @deprecated use ConnectionException instead */
1011
final class SSLConnectionException extends ConnectionException
1112
{
1213
}

src/MongoDB/Exception/SSLConnectionException_arginfo.h

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/MongoDB/Exception/WriteException.stub.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
namespace MongoDB\Driver\Exception;
99

10+
/** @deprecated use MongoDB\Driver\Exception\BulkWriteException instead */
1011
abstract class WriteException extends RuntimeException
1112
{
1213
/** @var \MongoDB\Driver\WriteResult */

src/MongoDB/Exception/WriteException_arginfo.h

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)