Skip to content

Commit

Permalink
chore: bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyMckenzie committed Mar 5, 2024
1 parent f00884c commit 0378ba0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "An Open Brewery DB API client for PHP.",
"type": "library",
"license": "MIT",
"version": "0.7.0",
"version": "0.8.0",
"homepage": "https://github.com/joeymckenzie/openbrewerydb-php-client",
"autoload": {
"psr-4": {
Expand Down
4 changes: 2 additions & 2 deletions src/ValueObjects/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/**
* Minor version number, incremented for minor API changes and non-backwards compatibility changes.
*/
private const int MINOR = 7;
private const int MINOR = 8;

/**
* Patch version number, incremented for bug fixes and documentation updates.
Expand All @@ -32,7 +32,7 @@
*/
public static function current(): string
{
return (string) new self;
return (string) new self();
}

#[Override]
Expand Down
2 changes: 1 addition & 1 deletion tests/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@

use OpenBreweryDb\ValueObjects\Version;

test('Version should be correct', fn () => expect(Version::current())->toBe('0.7.0'));
test('Version should be correct', fn () => expect(Version::current())->toBe('0.8.0'));

0 comments on commit 0378ba0

Please sign in to comment.