Fix spaces

This commit is contained in:
Oliver Davies 2019-04-01 13:22:36 +01:00
parent 95924a3ccd
commit 035f4fb6c7
3 changed files with 8 additions and 5 deletions

View file

@ -2,4 +2,6 @@
namespace Opdavies\GmailFilterBuilder\Exception;
class PartialNotFoundException extends \RuntimeException {}
class PartialNotFoundException extends \RuntimeException
{
}

View file

@ -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,
]));
}

View file

@ -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');
}
}