File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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" : {
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" : {
Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments