diff --git a/DeprecationErrorHandler.php b/DeprecationErrorHandler.php index a1aee18b..55089e0b 100644 --- a/DeprecationErrorHandler.php +++ b/DeprecationErrorHandler.php @@ -228,9 +228,9 @@ private function getConfiguration() return $this->configuration = Configuration::inWeakMode(); } if (self::MODE_WEAK_VENDORS === $mode) { - ++$this->deprecations['remaining selfCount']; + ++$this->deprecations['remaining directCount']; $msg = sprintf('Setting SYMFONY_DEPRECATIONS_HELPER to "%s" is deprecated in favor of "max[self]=0"', $mode); - $ref = &$this->deprecations['remaining self'][$msg]['count']; + $ref = &$this->deprecations['remaining direct'][$msg]['count']; ++$ref; $mode = 'max[self]=0'; }