Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
Set ErrorLevel 1 for Psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
Fantom409 committed Mar 31, 2021
1 parent dc89c82 commit ec6d298
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion psalm.xml
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<psalm
errorLevel="6"
errorLevel="1"
resolveFromConfigFile="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
Expand Down
5 changes: 5 additions & 0 deletions src/IntlMessageFormatter.php
Expand Up @@ -8,6 +8,11 @@

final class IntlMessageFormatter implements MessageFormatterInterface
{
/**
* This method uses \MessageFormatter::format()
*
* @link https://php.net/manual/en/messageformatter.format.php
*/
public function format(string $message, array $parameters, string $locale): string
{
if ($parameters === []) {
Expand Down

0 comments on commit ec6d298

Please sign in to comment.