Skip to content

Commit 0e65760

Browse files
authored
Release/2.0.0 (#6)
* feat: Updates PHP to version 8.2.
1 parent a448a2b commit 0e65760

6 files changed

Lines changed: 5 additions & 6 deletions

File tree

.github/FUNDING.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
DOCKER_RUN = docker run --rm -it --net=host -v ${PWD}:/app -w /app gustavofreze/php:8.1.7
1+
DOCKER_RUN = docker run --rm -it --net=host -v ${PWD}:/app -w /app gustavofreze/php:8.2.6
22

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

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
}
3838
},
3939
"require": {
40-
"php": "^8.1"
40+
"php": "^8.1||^8.2"
4141
},
4242
"require-dev": {
4343
"infection/infection": "^0.26",

src/Internal/Exceptions/InvalidProperty.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ final class InvalidProperty extends RuntimeException
99
public function __construct(string $key, string $class)
1010
{
1111
$template = 'Invalid property <%s> for class <%s>.';
12-
parent::__construct(sprintf($template, $key, $class));
12+
parent::__construct(message: sprintf($template, $key, $class));
1313
}
1414
}

src/Internal/Exceptions/PropertyCannotBeChanged.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ final class PropertyCannotBeChanged extends RuntimeException
99
public function __construct(string $key, string $class)
1010
{
1111
$template = 'Property <%s> cannot be changed in class <%s>.';
12-
parent::__construct(sprintf($template, $key, $class));
12+
parent::__construct(message: sprintf($template, $key, $class));
1313
}
1414
}

src/Internal/Exceptions/PropertyCannotBeDeactivated.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ final class PropertyCannotBeDeactivated extends RuntimeException
99
public function __construct(string $key, string $class)
1010
{
1111
$template = 'Property <%s> cannot be deactivated in class <%s>.';
12-
parent::__construct(sprintf($template, $key, $class));
12+
parent::__construct(message: sprintf($template, $key, $class));
1313
}
1414
}

0 commit comments

Comments
 (0)