Skip to content

Commit deaffdf

Browse files
committed
set 0.11 in changelog
1 parent af49ee8 commit deaffdf

File tree

3 files changed

+17
-10
lines changed

3 files changed

+17
-10
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
### 0.11.0
4+
5+
##### 2023-05-20
6+
7+
- Upgrade gacela:^1.4 and container:^0.5
8+
39
### 0.10.0
410

511
##### 2023-04-27
@@ -76,4 +82,4 @@
7682

7783
##### 2023-04-10
7884

79-
- Initial release
85+
- Initial release

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
"license": "MIT",
55
"require": {
66
"php": ">=8.0.2",
7-
"gacela-project/container": "^0.4"
7+
"gacela-project/container": "^0.5"
88
},
99
"require-dev": {
1010
"ext-mbstring": "*",
1111
"friendsofphp/php-cs-fixer": "^3.16",
12-
"gacela-project/gacela": "^1.3",
12+
"gacela-project/gacela": "^1.4",
1313
"infection/infection": "^0.26",
1414
"phpstan/phpstan": "^1.10",
1515
"phpunit/phpunit": "^9.6",
@@ -18,7 +18,7 @@
1818
"vimeo/psalm": "^5.11"
1919
},
2020
"suggest": {
21-
"gacela-project/gacela": "^1.3"
21+
"gacela-project/gacela": "^1.4"
2222
},
2323
"config": {
2424
"platform": {

tests/Feature/Config/RouterConfigTest.php

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,16 @@ protected function setUp(): void
2020
{
2121
Gacela::bootstrap(__DIR__, static function (GacelaConfig $config): void {
2222
$config->resetInMemoryCache();
23+
$config->extendGacelaConfig(RouterGacelaConfig::class);
2324

24-
$config->addExtendConfig(RouterGacelaConfig::class);
25-
26-
$config->addPlugin(NameRoutesPlugin::class);
27-
$config->addPlugin(RootRoutesPlugin::class);
25+
$config->addPlugins([
26+
NameRoutesPlugin::class,
27+
RootRoutesPlugin::class,
28+
]);
2829
});
2930
}
3031

31-
public function test_root_routes_plugin(): void
32+
public function test_root_route_plugin(): void
3233
{
3334
$_SERVER['REQUEST_URI'] = 'https://example.org/';
3435
$_SERVER['REQUEST_METHOD'] = Request::METHOD_GET;
@@ -38,7 +39,7 @@ public function test_root_routes_plugin(): void
3839
$this->expectOutputString(json_encode(['hello' => 'bob?']));
3940
}
4041

41-
public function test_name_routes_plugin(): void
42+
public function test_name_route_plugin(): void
4243
{
4344
$_SERVER['REQUEST_URI'] = 'https://example.org/alice';
4445
$_SERVER['REQUEST_METHOD'] = Request::METHOD_GET;

0 commit comments

Comments
 (0)