Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

SlevomatCodingStandard.Functions.RequireMultiLineCall incorrectly detects line length #1816

Open
@roslov

Description

@roslov

Slevomat version: 8.25.0

Sniff:SlevomatCodingStandard.Functions.RequireMultiLineCall

There is a line in a legacy code:

        return !preg_match("/$regex/", (string) $value) ? "недопустимый формат, поле '$name'" : null;

The real line length is 101 chars.

ImageImage

But the sniff calculates it as 123.

Image

Probably, we need to replacestrlen withmb_strlen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp