Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
* develop:
  specify next release
  CS
  add sha384 support
  • Loading branch information
Baptouuuu committed Jul 25, 2024
2 parents 37fc919 + 16d03ee commit b547514
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 1.6.0 - 2024-07-25

### Added

- `Innmind\Hash\Hash::sha384`

## 1.5.0 - 2023-10-22

### Changed
Expand Down
1 change: 1 addition & 0 deletions src/Hash.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ enum Hash
case md5;
case sha1;
case sha256;
case sha384;
case sha512;

public function ofFile(File $file): Value
Expand Down
5 changes: 1 addition & 4 deletions tests/FunctionalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
namespace Tests\Innmind\Hash;

use Innmind\Hash\Hash;
use Innmind\Filesystem\{
Adapter\Filesystem,
Directory,
};
use Innmind\Filesystem\Adapter\Filesystem;
use Innmind\Url\Path;
use PHPUnit\Framework\TestCase;
use Innmind\BlackBox\{
Expand Down

0 comments on commit b547514

Please sign in to comment.