-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from markdunphy/vendor-namespace
Restructure: Rename Cassandra folder to src. Add vendor namespace across all files.
- Loading branch information
Showing
27 changed files
with
64 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
vendor | ||
coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Cassandra/Enum/ConsistencyEnum.php → src/Enum/ConsistencyEnum.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?php | ||
namespace Cassandra\Enum; | ||
namespace evseevnn\Cassandra\Enum; | ||
|
||
class DataTypeEnum { | ||
const CUSTOM = 0x0000; | ||
|
2 changes: 1 addition & 1 deletion
2
Cassandra/Enum/ErrorCodesEnum.php → src/Enum/ErrorCodesEnum.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?php | ||
namespace Cassandra\Enum; | ||
namespace evseevnn\Cassandra\Enum; | ||
|
||
class FlagsEnum { | ||
const COMPRESSION = 0x01; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?php | ||
namespace Cassandra\Enum; | ||
namespace evseevnn\Cassandra\Enum; | ||
|
||
class OpcodeEnum { | ||
const ERROR = 0x00; | ||
|
2 changes: 1 addition & 1 deletion
2
Cassandra/Enum/ResultTypeEnum.php → src/Enum/ResultTypeEnum.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?php | ||
namespace Cassandra\Enum; | ||
namespace evseevnn\Cassandra\Enum; | ||
|
||
class ResultTypeEnum { | ||
const VOID = 0x0001; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?php | ||
namespace Cassandra\Enum; | ||
namespace evseevnn\Cassandra\Enum; | ||
|
||
class VersionEnum { | ||
const REQUEST = 0x01; | ||
|
2 changes: 1 addition & 1 deletion
2
Cassandra/Exception/CassandraException.php → src/Exception/CassandraException.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?php | ||
namespace Cassandra\Exception; | ||
namespace evseevnn\Cassandra\Exception; | ||
|
||
class CassandraException extends \Exception {} |
2 changes: 1 addition & 1 deletion
2
Cassandra/Exception/ClusterException.php → src/Exception/ClusterException.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?php | ||
namespace Cassandra\Exception; | ||
namespace evseevnn\Cassandra\Exception; | ||
|
||
class ClusterException extends \Exception {} |
2 changes: 1 addition & 1 deletion
2
Cassandra/Exception/ConnectionException.php → src/Exception/ConnectionException.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?php | ||
namespace Cassandra\Exception; | ||
namespace evseevnn\Cassandra\Exception; | ||
|
||
class ConnectionException extends \Exception {} |
2 changes: 1 addition & 1 deletion
2
Cassandra/Exception/QueryException.php → src/Exception/QueryException.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?php | ||
namespace Cassandra\Exception; | ||
namespace evseevnn\Cassandra\Exception; | ||
|
||
class QueryException extends \Exception {} |
2 changes: 1 addition & 1 deletion
2
Cassandra/Exception/ResponseExceprion.php → src/Exception/ResponseExceprion.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?php | ||
namespace Cassandra\Exception; | ||
namespace evseevnn\Cassandra\Exception; | ||
|
||
class ResponseException extends \Exception {} |
4 changes: 2 additions & 2 deletions
4
Cassandra/Protocol/BinaryData.php → src/Protocol/BinaryData.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?php | ||
namespace Cassandra\Protocol; | ||
namespace evseevnn\Cassandra\Protocol; | ||
|
||
class Frame { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?php | ||
namespace Cassandra\Protocol; | ||
namespace evseevnn\Cassandra\Protocol; | ||
|
||
class Request { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
Cassandra/Protocol/Response.php → src/Protocol/Response.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
Cassandra/Protocol/Response/DataStream.php → src/Protocol/Response/DataStream.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...otocol/Response/DataStream/TypeReader.php → ...otocol/Response/DataStream/TypeReader.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Cassandra/Protocol/Response/Rows.php → src/Protocol/Response/Rows.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters