Skip to content

Commit

Permalink
Support PHP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
paragonie-security committed Dec 3, 2020
1 parent b1b8612 commit 2b25791
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ php:
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
- nightly

install:

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
}
},
"require": {
"php": "^7",
"php": "^7|^8",
"paragonie/constant_time_encoding": "^2"
},
"require-dev": {
"phpunit/phpunit": "^4|^5",
"vimeo/psalm": "^0|^1"
"phpunit/phpunit": "^7|^8|^9",
"vimeo/psalm": "^1|^3|^4"
}
}
4 changes: 4 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,9 @@
<MoreSpecificImplementedParamType errorLevel="info" />
<RedundantCondition errorLevel="suppress" />
<RedundantConditionGivenDocblockType errorLevel="suppress" />
<RedundantCast errorLevel="info" />
<DocblockTypeContradiction errorLevel="info" />
<TypeDoesNotContainType errorLevel="info" />
<MixedArgumentTypeCoercion errorLevel="info" />
</issueHandlers>
</psalm>

0 comments on commit 2b25791

Please sign in to comment.