Skip to content

Commit 1f601a2

Browse files
committed
Fix CS
1 parent 8b40d65 commit 1f601a2

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

Tests/ApplicationTest.php

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -897,8 +897,7 @@ public function testRenderAnonymousException()
897897
$application = new Application();
898898
$application->setAutoExit(false);
899899
$application->register('foo')->setCode(function () {
900-
throw new class('') extends \InvalidArgumentException {
901-
};
900+
throw new class('') extends \InvalidArgumentException { };
902901
});
903902
$tester = new ApplicationTester($application);
904903

@@ -908,8 +907,7 @@ public function testRenderAnonymousException()
908907
$application = new Application();
909908
$application->setAutoExit(false);
910909
$application->register('foo')->setCode(function () {
911-
throw new \InvalidArgumentException(sprintf('Dummy type "%s" is invalid.', \get_class(new class() {
912-
})));
910+
throw new \InvalidArgumentException(sprintf('Dummy type "%s" is invalid.', \get_class(new class() { })));
913911
});
914912
$tester = new ApplicationTester($application);
915913

@@ -922,8 +920,7 @@ public function testRenderExceptionStackTraceContainsRootException()
922920
$application = new Application();
923921
$application->setAutoExit(false);
924922
$application->register('foo')->setCode(function () {
925-
throw new class('') extends \InvalidArgumentException {
926-
};
923+
throw new class('') extends \InvalidArgumentException { };
927924
});
928925
$tester = new ApplicationTester($application);
929926

@@ -933,8 +930,7 @@ public function testRenderExceptionStackTraceContainsRootException()
933930
$application = new Application();
934931
$application->setAutoExit(false);
935932
$application->register('foo')->setCode(function () {
936-
throw new \InvalidArgumentException(sprintf('Dummy type "%s" is invalid.', \get_class(new class() {
937-
})));
933+
throw new \InvalidArgumentException(sprintf('Dummy type "%s" is invalid.', \get_class(new class() { })));
938934
});
939935
$tester = new ApplicationTester($application);
940936

0 commit comments

Comments
 (0)