Skip to content

Rule Magento2.Exceptions.TryProcessSystemResources should exclude warnings from "use function .." section #477

Open
@ed007m

Description

Description

There is a false waring case when current sniffer rule detects system resources functions (stream_, socket_) declared in the
"use function .." section.

Expected behavior

When system resource function is declared in the "use function .." section warnings for this code line should be skipped.

Benefits

This will help to skip useless warning cases during code style checks.

Additional information

Metadata

Assignees

Type

No type

Projects

  • Status

    Pull Request In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions