File tree Expand file tree Collapse file tree 3 files changed +17
-10
lines changed
Expand file tree Collapse file tree 3 files changed +17
-10
lines changed Original file line number Diff line number Diff line change 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
7682
7783##### 2023-04-10
7884
79- - Initial release
85+ - Initial release
Original file line number Diff line number Diff line change 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" ,
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" : {
Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments