Automattic / Automattic/phpcs-neutron-standard
Handle too many spaces after parenthesis
Open
enhancement
- Dominant language
- PHP
- Stars
- 93
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
In #54 we added required spacing inside parenthesis, but it does not check if there is more than one space.
I'd like to be able to transform this:
```php
if ( isTrue() ) {
```
into this:
```php
if ( isTrue() ) {
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the spacing change introduced in issue #54 and find the PHPCS sniff that handles required spacing inside parentheses. Reproduce the shown PHP example, then verify the completed change transforms multiple spaces to one while preserving the required surrounding spaces.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100