From bb5d99360fad7c3cbde11b9ee85773db228d98b3 Mon Sep 17 00:00:00 2001 From: Silvano Cerza Date: Tue, 24 Mar 2026 19:27:22 +0100 Subject: [PATCH 1/2] Update Bulgaria currency from BGN to EUR --- src/Const.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Const.php b/src/Const.php index f006c2e..0dbe95c 100644 --- a/src/Const.php +++ b/src/Const.php @@ -529,7 +529,7 @@ "BD" => [ "code" => "BDT" ,"symbol" => "৳"], "BE" => [ "code" => "EUR" ,"symbol" => "€"], "BF" => [ "code" => "XOF" ,"symbol" => "CFA"], -"BG" => [ "code" => "BGN" ,"symbol" => "лв"], +"BG" => [ "code" => "EUR" ,"symbol" => "€"], "BH" => [ "code" => "BHD" ,"symbol" => ".د.ب"], "BI" => [ "code" => "BIF" ,"symbol" => "FBu"], "BJ" => [ "code" => "XOF" ,"symbol" => "CFA"], From d1b16c74ab55249d219bc5fe20aa255d06d04f75 Mon Sep 17 00:00:00 2001 From: Silvano Cerza Date: Wed, 25 Mar 2026 16:34:53 +0100 Subject: [PATCH 2/2] Fix tests failing cause of data change --- tests/IPinfoTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/IPinfoTest.php b/tests/IPinfoTest.php index 0cd271f..ef48b42 100644 --- a/tests/IPinfoTest.php +++ b/tests/IPinfoTest.php @@ -239,9 +239,9 @@ public function testNetworkDetails() $this->assertEquals($res->type, 'inactive'); $this->assertEquals($res->prefixes, []); $this->assertEquals($res->prefixes6, []); - $this->assertEquals($res->peers, null); - $this->assertEquals($res->upstreams, null); - $this->assertEquals($res->downstreams, null); + $this->assertEquals($res->peers, []); + $this->assertEquals($res->upstreams, []); + $this->assertEquals($res->downstreams, []); } public function testBogonLocal4()