magento / magento/magento-coding-standard

Do not allow slash the beginning of the class pass in use

Open
#165 7 comments 0 reactions 1 assignee View on GitHub

@konarshankar07 is already working on this.

Since Feb 4, 2020.

accepted Progress: dev in progress Progress: good first issue
Dominant language
PHP
Stars
375
Forks
165
PR merge metrics
No merged PRs in 30d

Description

use section does not actually need \ at the beginning of the classpath (leading backslash).
Let’s enforce it by static tests to prevent appearing such cases in future

Originally posted by @ihor-sviziev in https://github.com/magento/magento2/pull/26129#issuecomment-567404199

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.