Skip to content

Commit 852fca1

Browse files
authoredJan 1, 2024
Merge pull request #32 from mezzio/renovate/php
Update dependency php to ~8.1.0 || ~8.2.0 || ~8.3.0
2 parents 750a658 + df9e39b commit 852fca1

File tree

3 files changed

+257
-221
lines changed

3 files changed

+257
-221
lines changed
 

‎composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@
3333
}
3434
},
3535
"require": {
36-
"php": "~8.1.0 || ~8.2.0",
36+
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
3737
"mezzio/mezzio-authentication": "^1.0",
3838
"psr/container": "^1.0 || ^2.0",
3939
"psr/http-factory": "^1.0",
4040
"psr/http-message": "^1.0.1 || ^2.0.0"
4141
},
4242
"require-dev": {
4343
"laminas/laminas-coding-standard": "~2.5.0",
44-
"phpunit/phpunit": "^10.1.0",
44+
"phpunit/phpunit": "^10.5.5",
4545
"psalm/plugin-phpunit": "^0.18.4",
46-
"vimeo/psalm": "^5.9"
46+
"vimeo/psalm": "^5.18"
4747
},
4848
"autoload": {
4949
"psr-4": {

‎composer.lock

+246-210
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎test/BasicAccessFactoryTest.php

+8-8
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,17 @@ public function testInvokeWithContainerEmptyConfig(): void
4747
$container = $this->createMock(ContainerInterface::class);
4848
$container->expects($this->atLeastOnce())
4949
->method('has')
50-
->will($this->returnValueMap([
50+
->willReturnMap([
5151
[UserRepositoryInterface::class, true],
5252
[ResponseFactoryInterface::class, false],
53-
]));
53+
]);
5454
$container->expects($this->atLeastOnce())
5555
->method('get')
56-
->will($this->returnValueMap([
56+
->willReturnMap([
5757
[UserRepositoryInterface::class, $this->userRegister],
5858
[ResponseInterface::class, $this->responseFactory],
5959
['config', []],
60-
]));
60+
]);
6161

6262
$factory = new BasicAccessFactory();
6363

@@ -70,14 +70,14 @@ public function testInvokeWithContainerAndConfig(): void
7070
$container = $this->createMock(ContainerInterface::class);
7171
$container->expects($this->atLeastOnce())
7272
->method('has')
73-
->will($this->returnValueMap([
73+
->willReturnMap([
7474
[UserRepositoryInterface::class, true],
7575
[ResponseFactoryInterface::class, false],
7676
[ResponseInterface::class, true],
77-
]));
77+
]);
7878
$container->expects($this->atLeastOnce())
7979
->method('get')
80-
->will($this->returnValueMap([
80+
->willReturnMap([
8181
[UserRepositoryInterface::class, $this->userRegister],
8282
[ResponseInterface::class, $this->responseFactory],
8383
[
@@ -86,7 +86,7 @@ public function testInvokeWithContainerAndConfig(): void
8686
'authentication' => ['realm' => 'My page'],
8787
],
8888
],
89-
]));
89+
]);
9090

9191
$factory = new BasicAccessFactory();
9292
$basicAccess = $factory($container);

0 commit comments

Comments
 (0)
Please sign in to comment.