Skip to content
This repository was archived by the owner on Oct 17, 2023. It is now read-only.

Commit 820e436

Browse files
authored
php81 update (#148)
* update deprecated * fix up AbstractList * 8.0 support * specify version requirement * remove 7.4 * little more static analysis based cleanup * Add phpunit cache to git ignore * update version
1 parent 514d895 commit 820e436

19 files changed

+895
-426
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ test.php
1313
.idea
1414
*.swp
1515
vendor
16+
.phpunit.result.cache

.travis.yml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,11 @@
11
language: php
22
jobs:
33
include:
4-
- stage: php71-lowest
5-
php: 7.1
6-
env: dependencies=lowest
4+
- stage: php80
5+
php: 8.0
76
script: ./vendor/bin/phpunit
8-
- stage: php72-lowest
9-
php: 7.2
10-
env: dependencies=lowest
11-
script: ./vendor/bin/phpunit
12-
- stage: php72
13-
php: 7.2
14-
script: ./vendor/bin/phpunit
15-
- stage: php73
16-
php: 7.3
17-
script: ./vendor/bin/phpunit
18-
- stage: php74
19-
php: 7.4
7+
- stage: php81
8+
php: 8.1
209
script: ./vendor/bin/phpunit
2110

2211
before_script:

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ This is the official PHP SDK for HelloSign's API. [View API Documentation and E
77

88
### Requirements
99

10-
The latest version of the SDK requires PHP version 7.1 or higher.
10+
The latest version of the SDK requires PHP version 8.0 or higher.
11+
For PHP 7.x use SDK version 3.7.*
1112

1213
You can import this SDK into your library two ways, either through including the base HelloSign.php file into your
1314
project or using [Composer](https://getcomposer.org/doc/00-intro.md).

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@
1414
"psr-0": { "HelloSign\\": "library/" }
1515
},
1616
"require-dev": {
17-
"phpunit/phpunit": "7.3.*"
17+
"phpunit/phpunit": "^8.0",
18+
"phpstan/phpstan": "^1.8"
1819
},
1920
"require": {
21+
"php": "^8.0|8.1",
2022
"guzzlehttp/guzzle": "^6.3|^7.0"
2123
}
2224
}

0 commit comments

Comments
 (0)