Skip to content

Commit

Permalink
Revert "Merge pull request silverstripe#33 from open-sausages/fix/ses…
Browse files Browse the repository at this point in the history
…sion-binary-safety"

This reverts commit 793f933, reversing
changes made to 785c697.
  • Loading branch information
dnsl48 committed Jul 11, 2019
1 parent c4b8322 commit 8ef4497
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 128 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ env:
matrix:
fast_finish: true
include:
- php: 7.1
env: DB=MYSQL PHPUNIT_TEST=1
- php: 7.2
- php: 5.6
env: DB=MYSQL PHPUNIT_TEST=1 PHPCS_TEST=1
- php: 7.3
- php: 7.0
env: DB=MYSQL PHPUNIT_TEST=1
- php: 7.1
env: DB=MYSQL PHPUNIT_TEST=1

before_script:
Expand Down
82 changes: 0 additions & 82 deletions code/DynamoDbClient.php

This file was deleted.

7 changes: 3 additions & 4 deletions code/Model/DynamoDbSession.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace SilverStripe\DynamoDb\Model;

use SilverStripe\DynamoDb\DynamoDbClient;
use SilverStripe\DynamoDb\SessionHandler;
use Aws\DynamoDb\DynamoDbClient;
use Aws\DynamoDb\SessionHandler;
use Aws\DoctrineCacheAdapter;
use Doctrine\Common\Cache\ApcuCache;
use SilverStripe\Core\Config\Config;
Expand Down Expand Up @@ -78,8 +78,7 @@ public static function get()

public function __construct($options, $table)
{
$this->client = new DynamoDbClient($table, array_merge(['version' => '2012-08-10'], $options));

$this->client = new DynamoDbClient(array_merge(['version' => '2012-08-10'], $options));
$this->table = $table;
$this->handler = SessionHandler::fromClient(
$this->client,
Expand Down
36 changes: 0 additions & 36 deletions code/SessionHandler.php

This file was deleted.

3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
"silverstripe/framework": "^4@dev"
},
"require-dev": {
"phpunit/PHPUnit": "^5.7",
"squizlabs/php_codesniffer": "^3.0"
"phpunit/PHPUnit": "^5.7"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 8ef4497

Please sign in to comment.