magento / magento/magento-coding-standard
Rule Magento2.Exceptions.TryProcessSystemResources should exclude warnings from "use function .." section
Open
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
Assessment
This issue has not been assessed yet.