Skip to content

Commit f6eccfb

Browse files
committed
Prepare for 4.x
1 parent 0d73ae4 commit f6eccfb

2 files changed

Lines changed: 9 additions & 10 deletions

File tree

composer.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^8.1",
20-
"phplrt/source-contracts": "^3.7",
19+
"php": "^8.4",
20+
"phplrt/source-contracts": "^4.0",
2121
"symfony/deprecation-contracts": "^2.5|^3.0"
2222
},
2323
"autoload": {
@@ -26,25 +26,24 @@
2626
}
2727
},
2828
"require-dev": {
29-
"phpunit/phpunit": "^10.5|^11.0",
29+
"phpunit/phpunit": "^12.5",
3030
"psr/http-message": "^1.0|^2.0",
3131
"httpsoft/http-message": "^1.1",
32-
"phpstan/extension-installer": "^1.4",
33-
"phpstan/phpstan": "^1.11",
34-
"phpstan/phpstan-strict-rules": "^1.6"
32+
"phpstan/phpstan": "^2.1.33",
33+
"phpstan/phpstan-strict-rules": "^2.0"
3534
},
3635
"autoload-dev": {
3736
"psr-4": {
3837
"Phplrt\\Source\\Tests\\": "tests"
3938
}
4039
},
4140
"provide": {
42-
"phplrt/source-contracts-implementation": "^3.7"
41+
"phplrt/source-contracts-implementation": "^4.0"
4342
},
4443
"extra": {
4544
"branch-alias": {
46-
"dev-master": "3.x-dev",
47-
"dev-main": "3.x-dev"
45+
"dev-master": "4.x-dev",
46+
"dev-main": "4.x-dev"
4847
}
4948
},
5049
"config": {

src/Exception/NotCreatableException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public static function fromInvalidType(mixed $source): self
2222
{
2323
$message = \vsprintf('Cannot create %s instance from %s', [
2424
ReadableInterface::class,
25-
\get_debug_type($source)
25+
\get_debug_type($source),
2626
]);
2727

2828
return new static($message, self::CODE_INVALID_TYPE);

0 commit comments

Comments
 (0)