Skip to content

Commit

Permalink
Fix quoting in exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
gquemener committed Feb 23, 2021
1 parent dd2e3d6 commit 1860853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/ConfigurationResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ static function (FixerInterface $fixer) {
);

if (\count($riskyFixers)) {
throw new InvalidConfigurationException(sprintf('The rules contain risky fixers (%s), but they are not allowed to run. Perhaps you forget to use --allow-risky=yes option?', implode('", "', $riskyFixers)));
throw new InvalidConfigurationException(sprintf('The rules contain risky fixers ("%s"), but they are not allowed to run. Perhaps you forget to use --allow-risky=yes option?', implode('", "', $riskyFixers)));
}
}
}
Expand Down

0 comments on commit 1860853

Please sign in to comment.