Skip to content

Commit

Permalink
Remove useless memoization remnant
Browse files Browse the repository at this point in the history
I should have removed it in 1c73f9c
  • Loading branch information
greg0ire committed Jun 8, 2019
1 parent 2b8e441 commit 8ff10a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php
Expand Up @@ -30,7 +30,6 @@ class DeprecationErrorHandler
const MODE_WEAK = 'max[total]=999999&verbose=0';
const MODE_STRICT = 'max[total]=0';

private $mode;
private $configuration;
private $deprecations = [
'unsilencedCount' => 0,
Expand Down Expand Up @@ -215,7 +214,7 @@ private function getConfiguration()
if (null !== $this->configuration) {
return $this->configuration;
}
if (false === $mode = $this->mode) {
if (false === $mode) {
$mode = getenv('SYMFONY_DEPRECATIONS_HELPER');
}
if ('strict' === $mode) {
Expand Down

0 comments on commit 8ff10a4

Please sign in to comment.