Skip to content

Commit b5a5fdc

Browse files
committed
PHPC-310: Exception classes need not be final
1 parent 5d16172 commit b5a5fdc

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

src/MongoDB/Exception/ConnectionTimeoutException.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ PHP_MINIT_FUNCTION(ConnectionTimeoutException)
6262

6363
INIT_NS_CLASS_ENTRY(ce, "MongoDB\\Driver\\Exception", "ConnectionTimeoutException", php_phongo_connectiontimeoutexception_me);
6464
php_phongo_connectiontimeoutexception_ce = zend_register_internal_class_ex(&ce, php_phongo_connectionexception_ce, NULL TSRMLS_CC);
65-
PHONGO_CE_INIT(php_phongo_connectiontimeoutexception_ce);
6665

6766
return SUCCESS;
6867
}

src/MongoDB/Exception/DuplicateKeyException.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ PHP_MINIT_FUNCTION(DuplicateKeyException)
6262

6363
INIT_NS_CLASS_ENTRY(ce, "MongoDB\\Driver\\Exception", "DuplicateKeyException", php_phongo_duplicatekeyexception_me);
6464
php_phongo_duplicatekeyexception_ce = zend_register_internal_class_ex(&ce, php_phongo_writeexception_ce, NULL TSRMLS_CC);
65-
PHONGO_CE_INIT(php_phongo_duplicatekeyexception_ce);
6665

6766
return SUCCESS;
6867
}

src/MongoDB/Exception/ExecutionTimeoutException.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ PHP_MINIT_FUNCTION(ExecutionTimeoutException)
6262

6363
INIT_NS_CLASS_ENTRY(ce, "MongoDB\\Driver\\Exception", "ExecutionTimeoutException", php_phongo_executiontimeoutexception_me);
6464
php_phongo_executiontimeoutexception_ce = zend_register_internal_class_ex(&ce, php_phongo_runtimeexception_ce, NULL TSRMLS_CC);
65-
PHONGO_CE_INIT(php_phongo_executiontimeoutexception_ce);
6665

6766
return SUCCESS;
6867
}

src/MongoDB/Exception/SSLConnectionException.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ PHP_MINIT_FUNCTION(SSLConnectionException)
6262

6363
INIT_NS_CLASS_ENTRY(ce, "MongoDB\\Driver\\Exception", "SSLConnectionException", php_phongo_sslconnectionexception_me);
6464
php_phongo_sslconnectionexception_ce = zend_register_internal_class_ex(&ce, php_phongo_connectionexception_ce, NULL TSRMLS_CC);
65-
PHONGO_CE_INIT(php_phongo_sslconnectionexception_ce);
6665

6766
return SUCCESS;
6867
}

0 commit comments

Comments
 (0)