Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 00170e2

Browse filesBrowse files
committed
Coding standards
1 parent 87a42d1 commit 00170e2
Copy full SHA for 00170e2

File tree

1 file changed

+2
-4
lines changed
Filter options

1 file changed

+2
-4
lines changed

‎src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php
+2-4Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1112,8 +1112,7 @@ public function testPrivateServiceUser()
11121112
try {
11131113
$container->get('bar');
11141114
$this->fail('Expected ServiceNotFoundException not thrown');
1115-
}
1116-
catch (ServiceNotFoundException $e) {
1115+
} catch (ServiceNotFoundException $e) {
11171116
$this->addToAssertionCount(1);
11181117
}
11191118
$this->assertInstanceOf(\BarClass::class, $container->get('bar_user')->bar);
@@ -1123,8 +1122,7 @@ public function testPrivateServiceUser()
11231122
try {
11241123
$container->get('bar');
11251124
$this->fail('Expected ServiceNotFoundException not thrown');
1126-
}
1127-
catch (ServiceNotFoundException $e) {
1125+
} catch (ServiceNotFoundException $e) {
11281126
$this->addToAssertionCount(1);
11291127
}
11301128

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.