humanmade / humanmade/coding-standards

Consider disallowing use of `use function...`

Open
#158 6 comments 1 reaction 1 assignee Claimed by @mikeselander View on GitHub
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

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.