Skip to content

Commit 6c55d7d

Browse files
authored
Merge pull request #18 from OxCom/develop
Wrong parameter value in config
2 parents a23be47 + 48e8f36 commit 6c55d7d

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

DependencyInjection/Configuration.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ class Configuration implements ConfigurationInterface
5454
* @var array
5555
*/
5656
public static $exclude = [
57-
'\Symfony\Component\Debug\Exception\FatalErrorException',
5857
];
5958

6059
/**

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ More documentation here [here](https://github.com/OxCom/symfony-rollbar-bundle/t
1919
symfony_rollbar:
2020
enable: true
2121
exclude:
22-
- \Symfony\Component\Debug\Exception\FatalErrorException
2322
- \AppBundle\Exceptions\MyAwesomeException
2423
rollbar:
2524
access_token: 'some-secret-token-here'

Resources/doc/configuration.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ Simple configuration of bundle:
77
88
symfony_rollbar:
99
enable: true
10-
exclude:
11-
- \Symfony\Component\Debug\Exception\FatalErrorException
10+
exclude: []
1211
rollbar:
1312
access_token: 'some-secret-token-here'
1413
environment: '%kernel.environment%'

Tests/SymfonyRollbarBundle/DependencyInjection/ConfigurationTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public function testParameters()
2222
$defaultErrorMask = E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_USER_ERROR | E_RECOVERABLE_ERROR;
2323

2424
$exclude = Configuration::$exclude;
25+
$exclude[] = '\Symfony\Component\Debug\Exception\FatalErrorException';
2526
$exclude[] = '\SymfonyRollbarBundle\Tests\Fixtures\MyAwesomeException';
2627
$exclude[] = '\ParseError';
2728
$exclude[] = '\Symfony\Component\HttpKernel\Exception\HttpExceptionInterface';

0 commit comments

Comments
 (0)