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 0165854

Browse filesBrowse files
smnandrederrabus
andauthored
Remove useless catch
Co-authored-by: Alexander M. Turek <me@derrabus.de>
1 parent 2deb85f commit 0165854
Copy full SHA for 0165854

File tree

Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed

‎src/Symfony/Component/AssetMapper/Tests/Compiler/JavaScriptImportPathCompilerTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/AssetMapper/Tests/Compiler/JavaScriptImportPathCompilerTest.php
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -656,9 +656,8 @@ public function testCompilerThrowsExceptionOnPcreError()
656656
ini_set('pcre.backtrack_limit', 10);
657657
try {
658658
$compiler->compile($content, $javascriptAsset, $assetMapper);
659-
} catch (\RuntimeException $e) {
659+
} finally {
660660
ini_set('pcre.backtrack_limit', $limit);
661-
throw $e;
662661
}
663662
}
664663
}

0 commit comments

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