Skip to content

Commit

Permalink
Merge pull request #1 from felixsand/dependency_updates
Browse files Browse the repository at this point in the history
- Use PHPUnit 6.3 for unit and integration tests
- Add return types and type hinting to classes
- Move sources into own PSR-4 namespace
- Now requires PHP 7.1
- Clean up dependencies and update them
- Move tests into own namespace
  • Loading branch information
Felix Sandström authored Aug 5, 2017
2 parents 39b4ec8 + 523795f commit 7e6a926
Show file tree
Hide file tree
Showing 18 changed files with 624 additions and 701 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
language: php

php:
- 5.6
- 7.0
- hhvm
- 7.1

install: composer install --dev --no-interaction

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ $phPsst = new PhPsst(new SqLiteStorage($db, 10));
```

## Requirements
- PHP 5.6 or above.
- PHP 7.1 or above.
- Redis (for the Redis Storage)

## Author
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@
}
],
"require": {
"php": ">=5.6.0",
"php": ">=7.1",
"predis/predis": "~1.1",
"Illuminate/Encryption": "~5.2",
"paragonie/random_compat": "~2.0",
"symfony/polyfill-php56": "~1.0"
"Illuminate/Encryption": "~5.4"
},
"require-dev": {
"phpunit/phpunit": "~5.4"
"phpunit/phpunit": "~6.3"
},
"autoload": {
"psr-4": { "PhPsst\\": "src/" }
"psr-4": {
"": "src/"
}
}
}
Loading

0 comments on commit 7e6a926

Please sign in to comment.