Skip to content

Commit dbe3ef9

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: Fix CS Fix CS [Validator] Add Polish translation for ISIN constraint
2 parents d30cb85 + 1f601a2 commit dbe3ef9

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
@@ -883,8 +883,7 @@ public function testRenderAnonymousException()
883883
$application = new Application();
884884
$application->setAutoExit(false);
885885
$application->register('foo')->setCode(function () {
886-
throw new class('') extends \InvalidArgumentException {
887-
};
886+
throw new class('') extends \InvalidArgumentException { };
888887
});
889888
$tester = new ApplicationTester($application);
890889

@@ -894,8 +893,7 @@ public function testRenderAnonymousException()
894893
$application = new Application();
895894
$application->setAutoExit(false);
896895
$application->register('foo')->setCode(function () {
897-
throw new \InvalidArgumentException(sprintf('Dummy type "%s" is invalid.', \get_class(new class() {
898-
})));
896+
throw new \InvalidArgumentException(sprintf('Dummy type "%s" is invalid.', \get_class(new class() { })));
899897
});
900898
$tester = new ApplicationTester($application);
901899

@@ -908,8 +906,7 @@ public function testRenderExceptionStackTraceContainsRootException()
908906
$application = new Application();
909907
$application->setAutoExit(false);
910908
$application->register('foo')->setCode(function () {
911-
throw new class('') extends \InvalidArgumentException {
912-
};
909+
throw new class('') extends \InvalidArgumentException { };
913910
});
914911
$tester = new ApplicationTester($application);
915912

@@ -919,8 +916,7 @@ public function testRenderExceptionStackTraceContainsRootException()
919916
$application = new Application();
920917
$application->setAutoExit(false);
921918
$application->register('foo')->setCode(function () {
922-
throw new \InvalidArgumentException(sprintf('Dummy type "%s" is invalid.', \get_class(new class() {
923-
})));
919+
throw new \InvalidArgumentException(sprintf('Dummy type "%s" is invalid.', \get_class(new class() { })));
924920
});
925921
$tester = new ApplicationTester($application);
926922

0 commit comments

Comments
 (0)