-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added support for new bolt version 5.6 (#147)
* added support for new bolt version 5.6 * added missing tests for new bolt version * added missing possible return type * extended return type of used trait
- Loading branch information
1 parent
2fb8ed8
commit eb9bd8c
Showing
17 changed files
with
86 additions
and
27 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
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,37 @@ | ||
<?php | ||
|
||
namespace Bolt\protocol; | ||
|
||
/** | ||
* Class Protocol version 5.4 | ||
* | ||
* @author Michal Stefanak | ||
* @link https://github.com/neo4j-php/Bolt | ||
* @see https://www.neo4j.com/docs/bolt/current/bolt/message/ | ||
* @package Bolt\protocol | ||
*/ | ||
class V5_6 extends AProtocol | ||
{ | ||
use \Bolt\protocol\v5\AvailableStructures; | ||
use \Bolt\protocol\v5_1\ServerStateTransition; | ||
|
||
use \Bolt\protocol\v1\ResetMessage; | ||
|
||
use \Bolt\protocol\v3\RunMessage; | ||
use \Bolt\protocol\v3\BeginMessage; | ||
use \Bolt\protocol\v3\CommitMessage; | ||
use \Bolt\protocol\v3\RollbackMessage; | ||
use \Bolt\protocol\v3\GoodbyeMessage; | ||
|
||
use \Bolt\protocol\v4\PullMessage; | ||
use \Bolt\protocol\v4\DiscardMessage; | ||
|
||
use \Bolt\protocol\v4_4\RouteMessage; | ||
|
||
use \Bolt\protocol\v5_1\LogonMessage; | ||
use \Bolt\protocol\v5_1\LogoffMessage; | ||
|
||
use \Bolt\protocol\v5_3\HelloMessage; | ||
|
||
use \Bolt\protocol\v5_4\TelemetryMessage; | ||
} |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
use Bolt\protocol\V5_6; | ||
|
||
/** | ||
* Class V5_6Test | ||
* | ||
* @author Michal Stefanak | ||
* @link https://github.com/neo4j-php/Bolt | ||
* @package Bolt\tests\protocol | ||
*/ | ||
class V5_6Test extends \Bolt\tests\protocol\ProtocolLayer | ||
{ | ||
public function test__construct(): V5_6 | ||
{ | ||
$cls = new V5_6(1, $this->mockConnection()); | ||
$this->assertInstanceOf(V5_6::class, $cls); | ||
return $cls; | ||
} | ||
} |