Skip to content

Commit 4623444

Browse files
fix(phpstan): Do not ignore RuntimeException in phpstan check (#221)
Cf #219 (comment)
1 parent 1c0fb12 commit 4623444

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

phpstan.neon

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ parameters:
1212
implicitThrows: false
1313
uncheckedExceptionClasses:
1414
- LogicException
15-
- RuntimeException

src/Bridge/Symfony/DependencyInjection/Configuration.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717

1818
class Configuration implements ConfigurationInterface
1919
{
20+
/**
21+
* @throws \RuntimeException
22+
*/
2023
public function getConfigTreeBuilder(): TreeBuilder
2124
{
2225
$treeBuilder = new TreeBuilder('elastically');

0 commit comments

Comments
 (0)