Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
Allow php 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stdex committed Sep 14, 2021
1 parent fb66679 commit d2f73b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
language: php

php:
- 7.1
- 7.2
- 7.3
- 7.4
- 8.0

before_install:
- composer self-update
Expand Down
5 changes: 2 additions & 3 deletions tests/Helpers/StringsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ public function testRandom()
$this->assertSame(64, strlen(Strings::random(64)));
}

/**
* @expectedException \RuntimeException
*/
public function testRandomBad()
{
$this->expectException(\RuntimeException::class);

Strings::random(0);
}

Expand Down

0 comments on commit d2f73b6

Please sign in to comment.