Skip to content

Commit 85d3760

Browse files
committed
Add missing dots at the end of exception messages
1 parent e8181f9 commit 85d3760

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DeprecationErrorHandler/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ private function __construct(array $thresholds = [], $regex = '', $verboseOutput
8383

8484
foreach ($verboseOutput as $group => $status) {
8585
if (!isset($this->verboseOutput[$group])) {
86-
throw new \InvalidArgumentException(sprintf('Unsupported verbosity group "%s", expected one of "%s"', $group, implode('", "', array_keys($this->verboseOutput))));
86+
throw new \InvalidArgumentException(sprintf('Unsupported verbosity group "%s", expected one of "%s".', $group, implode('", "', array_keys($this->verboseOutput))));
8787
}
8888
$this->verboseOutput[$group] = (bool) $status;
8989
}
@@ -162,7 +162,7 @@ public static function fromUrlEncodedString($serializedConfiguration)
162162
parse_str($serializedConfiguration, $normalizedConfiguration);
163163
foreach (array_keys($normalizedConfiguration) as $key) {
164164
if (!\in_array($key, ['max', 'disabled', 'verbose', 'quiet'], true)) {
165-
throw new \InvalidArgumentException(sprintf('Unknown configuration option "%s"', $key));
165+
throw new \InvalidArgumentException(sprintf('Unknown configuration option "%s".', $key));
166166
}
167167
}
168168

0 commit comments

Comments
 (0)