Skip to content

Commit 66bd801

Browse files
Removed PHP 7 support.
1 parent 0659603 commit 66bd801

File tree

3 files changed

+910
-335
lines changed

3 files changed

+910
-335
lines changed

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
language: php
22
matrix:
33
include:
4-
- php: 7.3
5-
- php: 7.4
64
- php: 8.0
75
- php: nightly
86
allow_failures:
97
- php: nightly
108
fast_finish: true
119
before_install:
12-
- composer install-db
1310
- travis_wait composer start-db > /dev/null &
1411
script:
1512
- composer install --optimize-autoloader

composer.json

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
"description": "A PHP library that can be used to interact with Amazon DynamoDB",
44
"license": "MIT",
55
"require": {
6-
"php": "^7.3||~8.0.0",
6+
"php": "^8.0",
77
"aws/aws-sdk-php": "^3.95",
8-
"guillermoandrae/php-collection": "^1.0"
8+
"guillermoandrae/php-collection": "*"
99
},
1010
"autoload": {
1111
"psr-4": {
1212
"Guillermoandrae\\": "src/"
1313
}
1414
},
1515
"require-dev": {
16-
"phpunit/phpunit": "^8.1",
16+
"phpunit/phpunit": "^9.0",
1717
"squizlabs/php_codesniffer": "^3.4"
1818
},
1919
"autoload-dev": {
@@ -22,12 +22,10 @@
2222
}
2323
},
2424
"scripts": {
25-
"install-db": [
26-
"mkdir ./database",
27-
"wget --directory-prefix=./database https://s3-us-west-2.amazonaws.com/dynamodb-local/dynamodb_local_latest.zip",
28-
"unzip ./database/dynamodb_local_latest.zip -d database"
29-
],
3025
"start-db": [
26+
"mkdir -p ./database",
27+
"if [ ! -f ./database/dynamodb_local_latest.zip ]; then wget --directory-prefix=./database https://s3-us-west-2.amazonaws.com/dynamodb-local/dynamodb_local_latest.zip; fi",
28+
"if [ ! -d ./database/DynamoDBLocal_lib ]; then unzip ./database/dynamodb_local_latest.zip -d database; fi",
3129
"nohup java -Djava.library.path=./database/DynamoDBLocal_lib -jar ./database/DynamoDBLocal.jar -sharedDb &"
3230
],
3331
"stop-db": [

0 commit comments

Comments
 (0)