From ef0234a0cb69f08fe8c2fcd3f972ec105ff62700 Mon Sep 17 00:00:00 2001 From: driesvints Date: Wed, 30 Aug 2023 16:28:19 +0000 Subject: [PATCH] Fix code styling --- src/VatCalculator.php | 1 - tests/VatCalculatorTest.php | 14 +++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/VatCalculator.php b/src/VatCalculator.php index 6f478e2..f2da82c 100644 --- a/src/VatCalculator.php +++ b/src/VatCalculator.php @@ -4,7 +4,6 @@ use Illuminate\Contracts\Config\Repository; use Mpociot\VatCalculator\Exceptions\VATCheckUnavailableException; -use Mpociot\VatCalculator\Util\ConfigWrapper; use SoapClient; use SoapFault; diff --git a/tests/VatCalculatorTest.php b/tests/VatCalculatorTest.php index 6c2d8ea..cb51bcb 100644 --- a/tests/VatCalculatorTest.php +++ b/tests/VatCalculatorTest.php @@ -95,7 +95,7 @@ public function testCalculateVatWithPredefinedRulesOverwrittenByConfiguration() ->andReturn([ 'rules' => [ 'DE' => 0.50, - ] + ], ]); $vatCalculator = new VatCalculator($config); @@ -117,7 +117,7 @@ public function testCalculatVatWithCountryDirectSet() ->andReturn([ 'rules' => [ 'DE' => 0.19, - ] + ], ]); $vatCalculator = new VatCalculator($config); @@ -151,7 +151,7 @@ public function testCalculatVatWithCountryPreviousSet() ->andReturn([ 'rules' => [ 'DE' => 0.19, - ] + ], ]); $vatCalculator = new VatCalculator($config); @@ -615,7 +615,7 @@ public function testShouldCollectVATFromConfig() ->andReturn([ 'rules' => [ 'TEST' => 0.19, - ] + ], ]); $vatCalculator = new VatCalculator($config); @@ -690,7 +690,7 @@ public function testCalculateNetPriceWithPredefinedRulesOverwrittenByConfigurati ->andReturn([ 'rules' => [ 'DE' => 0.50, - ] + ], ]); $vatCalculator = new VatCalculator($config); @@ -712,7 +712,7 @@ public function testCalculateNetPriceWithCountryDirectSet() ->andReturn([ 'rules' => [ 'DE' => 0.19, - ] + ], ]); $vatCalculator = new VatCalculator($config); @@ -747,7 +747,7 @@ public function testCalculateNetPriceWithCountryPreviousSet() ->andReturn([ 'rules' => [ 'DE' => 0.19, - ] + ], ]); $vatCalculator = new VatCalculator($config);