Skip to content

Commit

Permalink
Release/2.0.0 (#6)
Browse files Browse the repository at this point in the history
* feat: Updates PHP to version 8.2.
  • Loading branch information
gustavofreze authored Jun 8, 2023
1 parent a448a2b commit 0e65760
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/FUNDING.yml

This file was deleted.

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
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
}
},
"require": {
"php": "^8.1"
"php": "^8.1||^8.2"
},
"require-dev": {
"infection/infection": "^0.26",
Expand Down
2 changes: 1 addition & 1 deletion src/Internal/Exceptions/InvalidProperty.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ final class InvalidProperty extends RuntimeException
public function __construct(string $key, string $class)
{
$template = 'Invalid property <%s> for class <%s>.';
parent::__construct(sprintf($template, $key, $class));
parent::__construct(message: sprintf($template, $key, $class));
}
}
2 changes: 1 addition & 1 deletion src/Internal/Exceptions/PropertyCannotBeChanged.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ final class PropertyCannotBeChanged extends RuntimeException
public function __construct(string $key, string $class)
{
$template = 'Property <%s> cannot be changed in class <%s>.';
parent::__construct(sprintf($template, $key, $class));
parent::__construct(message: sprintf($template, $key, $class));
}
}
2 changes: 1 addition & 1 deletion src/Internal/Exceptions/PropertyCannotBeDeactivated.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ final class PropertyCannotBeDeactivated extends RuntimeException
public function __construct(string $key, string $class)
{
$template = 'Property <%s> cannot be deactivated in class <%s>.';
parent::__construct(sprintf($template, $key, $class));
parent::__construct(message: sprintf($template, $key, $class));
}
}

0 comments on commit 0e65760

Please sign in to comment.