Skip to content

Sync #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Feb 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ php:
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3

env:
global:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,16 +129,16 @@ cd /usr/local/src/php-driver

## Copyright

Copyright 2015-2017 DataStax, Inc.
© DataStax, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use
Licensed under the Apache License, Version 2.0 (the License); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
under the License is distributed on an AS IS BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.

Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
}
],
"require": {
"php": ">=5.6.0",
"ext-cassandra": "^1.0.0"
"php": ">=5.6.0"
},
"require-dev": {
"behat/behat": "~3.0.6",
Expand Down
8 changes: 4 additions & 4 deletions ext/doc/Cassandra.php
Original file line number Diff line number Diff line change
Expand Up @@ -379,24 +379,24 @@ final class Cassandra {
/**
* The current version of the extension.
*/
const VERSION = '1.3.1';
const VERSION = '1.3.2';

/**
* The version of the cpp-driver the extension is compiled against.
*/
const CPP_DRIVER_VERSION = '2.7.0';
const CPP_DRIVER_VERSION = '2.9.0';

/**
* Creates a new cluster builder for constructing a Cluster object.
*
* @return Cluster\Builder A cluster builder object with default settings
* @return \Cassandra\Cluster\Builder A cluster builder object with default settings
*/
public static function cluster() { }

/**
* Creates a new ssl builder for constructing a SSLOptions object.
*
* @return SSLOptions\Builder A SSL options builder with default settings
* @return \Cassandra\SSLOptions\Builder A SSL options builder with default settings
*/
public static function ssl() { }

Expand Down
10 changes: 5 additions & 5 deletions ext/doc/Cassandra/Aggregate.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,35 +47,35 @@ public function argumentTypes();
/**
* Returns the final function of the aggregate
*
* @return Function Final function of the aggregate
* @return \Cassandra\Function Final function of the aggregate
*/
public function finalFunction();

/**
* Returns the state function of the aggregate
*
* @return Function State function of the aggregate
* @return \Cassandra\Function State function of the aggregate
*/
public function stateFunction();

/**
* Returns the initial condition of the aggregate
*
* @return Value Initial condition of the aggregate
* @return \CassandraValue Initial condition of the aggregate
*/
public function initialCondition();

/**
* Returns the return type of the aggregate
*
* @return Type Return type of the aggregate
* @return \Cassandra\Type Return type of the aggregate
*/
public function returnType();

/**
* Returns the state type of the aggregate
*
* @return Type State type of the aggregate
* @return \Cassandra\Type State type of the aggregate
*/
public function stateType();

Expand Down
4 changes: 2 additions & 2 deletions ext/doc/Cassandra/BatchStatement.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ public function __construct($type) { }
/**
* Adds a statement to this batch.
*
* @param string|Statement $statement string or statement to add
* @param string|\Cassandra\Statement $statement string or statement to add
* @param array|null $arguments positional or named arguments (optional)
*
* @throws Exception\InvalidArgumentException
*
* @return BatchStatement self
* @return \Cassandra\BatchStatement self
*/
public function add($statement, $arguments) { }

Expand Down
32 changes: 16 additions & 16 deletions ext/doc/Cassandra/Bigint.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function __toString() { }
/**
* The type of this bigint.
*
* @return Type
* @return \Cassandra\Type
*/
public function type() { }

Expand All @@ -52,47 +52,47 @@ public function type() { }
public function value() { }

/**
* @param Numeric $num a number to add to this one
* @return Numeric sum
* @param \Cassandra\Numeric $num a number to add to this one
* @return \Cassandra\Numeric sum
*/
public function add($num) { }

/**
* @param Numeric $num a number to subtract from this one
* @return Numeric difference
* @param \Cassandra\Numeric $num a number to subtract from this one
* @return \Cassandra\Numeric difference
*/
public function sub($num) { }

/**
* @param Numeric $num a number to multiply this one by
* @return Numeric product
* @param \Cassandra\Numeric $num a number to multiply this one by
* @return \Cassandra\Numeric product
*/
public function mul($num) { }

/**
* @param Numeric $num a number to divide this one by
* @return Numeric quotient
* @param \Cassandra\Numeric $num a number to divide this one by
* @return \Cassandra\Numeric quotient
*/
public function div($num) { }

/**
* @param Numeric $num a number to divide this one by
* @return Numeric remainder
* @param \Cassandra\Numeric $num a number to divide this one by
* @return \Cassandra\Numeric remainder
*/
public function mod($num) { }

/**
* @return Numeric absolute value
* @return \Cassandra\Numeric absolute value
*/
public function abs() { }

/**
* @return Numeric negative value
* @return \Cassandra\Numeric negative value
*/
public function neg() { }

/**
* @return Numeric square root
* @return \Cassandra\Numeric square root
*/
public function sqrt() { }

Expand All @@ -109,14 +109,14 @@ public function toDouble() { }
/**
* Minimum possible Bigint value
*
* @return Bigint minimum value
* @return \Cassandra\Bigint minimum value
*/
public static function min() { }

/**
* Maximum possible Bigint value
*
* @return Bigint maximum value
* @return \Cassandra\Bigint maximum value
*/
public static function max() { }

Expand Down
2 changes: 1 addition & 1 deletion ext/doc/Cassandra/Blob.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function __toString() { }
/**
* The type of this blob.
*
* @return Type
* @return \Cassandra\Type
*/
public function type() { }

Expand Down
4 changes: 2 additions & 2 deletions ext/doc/Cassandra/Cluster.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ interface Cluster {
*
* @param string $keyspace Optional keyspace name
*
* @return Session Session instance
* @return \Cassandra\Session Session instance
*/
public function connect($keyspace);

Expand All @@ -37,7 +37,7 @@ public function connect($keyspace);
*
* @param string $keyspace Optional keyspace name
*
* @return Future A Future Session instance
* @return \Cassandra\Future A Future Session instance
*/
public function connectAsync($keyspace);

Expand Down
Loading