Skip to content

Commit

Permalink
Merge pull request #6 from tiny-blocks/release/2.0.0
Browse files Browse the repository at this point in the history
Release/2.0.0
  • Loading branch information
gustavofreze authored Jun 8, 2023
2 parents e6e0611 + e632a38 commit 84135ee
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DOCKER_RUN = docker run --rm -it --net=host -v ${PWD}:/app -w /app gustavofreze/php:8.1.7
DOCKER_RUN = docker run --rm -it --net=host -v ${PWD}:/app -w /app gustavofreze/php:8.2.6

.PHONY: configure test test-no-coverage review show-reports clean

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
}
},
"require": {
"php": "^8.1",
"tiny-blocks/value-object": "^1.0"
"php": "^8.1||^8.2",
"tiny-blocks/value-object": "^2.0"
},
"require-dev": {
"infection/infection": "^0.26",
Expand Down
2 changes: 1 addition & 1 deletion src/Internal/Exceptions/EmptyCountryName.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ final class EmptyCountryName extends RuntimeException
{
public function __construct()
{
parent::__construct('Country name cannot be empty.');
parent::__construct(message: 'Country name cannot be empty.');
}
}
2 changes: 1 addition & 1 deletion src/Internal/Exceptions/InvalidAlphaCode.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ final class InvalidAlphaCode extends RuntimeException
public function __construct(string $alphaCode)
{
$template = 'Alpha code <%s> is invalid.';
parent::__construct(sprintf($template, $alphaCode));
parent::__construct(message: sprintf($template, $alphaCode));
}
}
2 changes: 1 addition & 1 deletion src/Internal/Exceptions/InvalidAlphaCodeImplementation.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ final class InvalidAlphaCodeImplementation extends RuntimeException
public function __construct(string $class)
{
$template = 'The alpha code implementation <%s> is invalid.';
parent::__construct(sprintf($template, $class));
parent::__construct(message: sprintf($template, $class));
}
}

0 comments on commit 84135ee

Please sign in to comment.