You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No utf8 support for LineLengthFixer.
The length of the strings is not correctly calculated, because of this, an extra line break is set, where it is not necessary.
The solution would be \Symplify\CodingStandard\TokenRunner\Transformer\FixerTransformer\FirstLineLengthResolver class to use the mb_strlen function instead of strlen, or be able to configure this behavior
The text was updated successfully, but these errors were encountered:
class Example
{
public function decline()
{
//a line break will be inserted here
$this->getDefaultHttpException('Извините, произошла ошибка. Попробуйте позже.');
//no line break will be inserted here
$this->getDefaultHttpException('Sorry, an unexpected error occurred. Please try later.');
}
}
The result will be
//a line break will be inserted here
- $this->getDefaultHttpException('Извините, произошла ошибка. Попробуйте позже.');
+ $this->getDefaultHttpException(
+ 'Извините, произошла ошибка. Попробуйте позже.',
+ );
//no line break will be inserted here
$this->getDefaultHttpException('Sorry, an unexpected error occurred. Please try later.');
No utf8 support for LineLengthFixer.
The length of the strings is not correctly calculated, because of this, an extra line break is set, where it is not necessary.
The solution would be \Symplify\CodingStandard\TokenRunner\Transformer\FixerTransformer\FirstLineLengthResolver class to use the mb_strlen function instead of strlen, or be able to configure this behavior
The text was updated successfully, but these errors were encountered: