Skip to content

Commit 9c84d3c

Browse files
author
Vasyl Sovyak
committed
- Fix for generate_doc.php to generate correct namespaces for "extends" and "implements"
- Regenerated docs with applied fix in generator.
1 parent 8f05497 commit 9c84d3c

21 files changed

+30
-24
lines changed

ext/doc/Cassandra.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,12 +379,12 @@ final class Cassandra {
379379
/**
380380
* The current version of the extension.
381381
*/
382-
const VERSION = '1.3.1';
382+
const VERSION = '1.3.2';
383383

384384
/**
385385
* The version of the cpp-driver the extension is compiled against.
386386
*/
387-
const CPP_DRIVER_VERSION = '2.7.0';
387+
const CPP_DRIVER_VERSION = '2.9.0';
388388

389389
/**
390390
* Creates a new cluster builder for constructing a Cluster object.

ext/doc/Cassandra/Cluster/Builder.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,10 @@ public function withSchemaMetadata($enabled) { }
323323
* reverse IP lookup. This is useful for authentication (Kerberos) or
324324
* encryption SSL services that require a valid hostname for verification.
325325
*
326+
* Important: It's possible that the underlying C/C++ driver does not
327+
* support hostname resolution. A PHP warning will be emitted if the driver
328+
* does not support hostname resolution.
329+
*
326330
* @param bool $enabled whether the driver uses hostname resolution.
327331
*
328332
* @return Builder self

ext/doc/Cassandra/Exception/DomainException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/**
2222
* Cassandra domain exception.
2323
*/
24-
class DomainException extends \DomainException implements Exception {
24+
class DomainException extends \DomainException implements \Cassandra\Exception {
2525

2626
/**
2727
* @param mixed $message

ext/doc/Cassandra/Exception/InvalidArgumentException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/**
2222
* Cassandra invalid argument exception.
2323
*/
24-
class InvalidArgumentException extends \InvalidArgumentException implements Exception {
24+
class InvalidArgumentException extends \InvalidArgumentException implements \Cassandra\Exception {
2525

2626
/**
2727
* @param mixed $message

ext/doc/Cassandra/Exception/LogicException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/**
2222
* Cassandra logic exception.
2323
*/
24-
class LogicException extends \LogicException implements Exception {
24+
class LogicException extends \LogicException implements \Cassandra\Exception {
2525

2626
/**
2727
* @param mixed $message

ext/doc/Cassandra/Exception/RangeException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/**
2222
* Cassandra domain exception.
2323
*/
24-
class RangeException extends \RangeException implements Exception {
24+
class RangeException extends \RangeException implements \Cassandra\Exception {
2525

2626
/**
2727
* @param mixed $message

ext/doc/Cassandra/Exception/RuntimeException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/**
2222
* Cassandra runtime exception.
2323
*/
24-
class RuntimeException extends \RuntimeException implements Exception {
24+
class RuntimeException extends \RuntimeException implements \Cassandra\Exception {
2525

2626
/**
2727
* @param mixed $message

ext/doc/Cassandra/RetryPolicy/DefaultPolicy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828
*
2929
* In all other cases the error will be returned.
3030
*/
31-
final class DefaultPolicy implements RetryPolicy {
31+
final class DefaultPolicy implements \Cassandra\RetryPolicy {
3232

3333
}

ext/doc/Cassandra/RetryPolicy/DowngradingConsistency.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@
3939
* Important: This policy may attempt to retry requests with a lower
4040
* consistency level. Using this policy can break consistency guarantees.
4141
*/
42-
final class DowngradingConsistency implements RetryPolicy {
42+
final class DowngradingConsistency implements \Cassandra\RetryPolicy {
4343

4444
}

ext/doc/Cassandra/RetryPolicy/Fallthrough.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
/**
2222
* A retry policy that never retries and allows all errors to fallthrough.
2323
*/
24-
final class Fallthrough implements RetryPolicy {
24+
final class Fallthrough implements \Cassandra\RetryPolicy {
2525

2626
}

0 commit comments

Comments
 (0)