Skip to content

Commit

Permalink
Merge pull request #408 from defuse/random-compat-v9
Browse files Browse the repository at this point in the history
Allow random_compat v9.99.99 on PHP 7 projects.
  • Loading branch information
paragonie-scott authored Jul 24, 2018
2 parents 0d4d27c + 050bcc2 commit 36f2e70
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}
},
"require": {
"paragonie/random_compat": "~2.0",
"paragonie/random_compat": ">= 2",
"ext-openssl": "*",
"php": ">=5.4.0"
},
Expand Down
1 change: 1 addition & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</projectFiles>
<issueHandlers>
<DocblockTypeContradiction errorLevel="info" />
<RedundantCondition errorLevel="info" />
<RedundantConditionGivenDocblockType errorLevel="info" />
</issueHandlers>
</psalm>
1 change: 1 addition & 0 deletions src/Encoding.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public static function binToHex($byte_string)
* @throws Ex\EnvironmentIsBrokenException
*
* @return string
* @psalm-suppress TypeDoesNotContainType
*/
public static function hexToBin($hex_string)
{
Expand Down

0 comments on commit 36f2e70

Please sign in to comment.