humanmade / humanmade/coding-standards
Consider disallowing use of `use function...`
Open
phpcs
- Dominant language
- PHP
- Stars
- 160
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
In line with https://github.com/humanmade/Engineering/pull/143, I propose that we add a rule dis-allowing the use of `use function`.
As noted by Joe in https://github.com/humanmade/Engineering/pull/143#issuecomment-560330827, this will break linting for several current projects. I personally feel that this is worth it as the rule can be ignored on current projects and it will enforce properly on all new projects.
Contributor guide
Assessment
This issue has not been assessed yet.