Skip to content

Commit

Permalink
PHPC-2349, PHPC-2411: Deprecate unused exception classes (#1608)
Browse files Browse the repository at this point in the history
* PHPC-2349: Deprecate WriteException class

* PHPC-2411: Deprecate SSLConnectionException
  • Loading branch information
alcaeus committed Jul 15, 2024
1 parent 7000993 commit 4d6781a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/MongoDB/Exception/SSLConnectionException.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

namespace MongoDB\Driver\Exception;

/** @deprecated use ConnectionException instead */
final class SSLConnectionException extends ConnectionException
{
}
4 changes: 2 additions & 2 deletions src/MongoDB/Exception/SSLConnectionException_arginfo.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/MongoDB/Exception/WriteException.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

namespace MongoDB\Driver\Exception;

/** @deprecated use MongoDB\Driver\Exception\BulkWriteException instead */
abstract class WriteException extends RuntimeException
{
/** @var \MongoDB\Driver\WriteResult */
Expand Down
4 changes: 2 additions & 2 deletions src/MongoDB/Exception/WriteException_arginfo.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4d6781a

Please sign in to comment.