magento / magento/magento-coding-standard

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

Open
#477 3 comments 0 reactions 1 assignee Claimed by @fredden View on GitHub
enhancement Progress: PR created
Dominant language
PHP
Stars
375
Forks
165
PR merge metrics
No merged PRs in 30d

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.