diff --git a/src/Exception/PartialNotFoundException.php b/src/Exception/PartialNotFoundException.php index f434027..e568bf0 100644 --- a/src/Exception/PartialNotFoundException.php +++ b/src/Exception/PartialNotFoundException.php @@ -2,4 +2,6 @@ namespace Opdavies\GmailFilterBuilder\Exception; -class PartialNotFoundException extends \RuntimeException {} +class PartialNotFoundException extends \RuntimeException +{ +} diff --git a/src/Service/Addresses.php b/src/Service/Addresses.php index d6e0f23..ddcfd99 100644 --- a/src/Service/Addresses.php +++ b/src/Service/Addresses.php @@ -28,7 +28,7 @@ class Addresses }); if (!$file) { - throw new PartialNotFoundException(vsprintf('%s does not exist.', [ + throw new PartialNotFoundException(vsprintf('%s does not exist.', [ $filename, ])); } diff --git a/tests/Unit/Service/AddressesTest.php b/tests/Unit/Service/AddressesTest.php index c1fbdef..d64495f 100644 --- a/tests/Unit/Service/AddressesTest.php +++ b/tests/Unit/Service/AddressesTest.php @@ -26,10 +26,11 @@ class AddressesTest extends TestCase } /** @test */ - public function throw_an_exception_if_an_address_file_does_not_exist() { - $this->expectException(PartialNotFoundException::class); + public function throw_an_exception_if_an_address_file_does_not_exist() + { + $this->expectException(PartialNotFoundException::class); - Addresses::load('does-not-exist'); + Addresses::load('does-not-exist'); } }