Juliette

Results 605 issues of Juliette

See the conversation here: https://github.com/WordPress/WordPress-Coding-Standards/pull/2334#discussion_r1294579815 Basically we'd need a little (bash or otherwise) script to gather the files in the `WordPress/Docs` directory and then run the following command against each...

Type: Chores/Cleanup
Status: Help wanted

The `ControlStructureSpacing` (after the removal of the function handling in #2328) is largely a copy of an upstream sniff (`Squiz.WhiteSpace.ControlStructureSpacing`) to allow for 1 space on the inside of parentheses...

Type: Enhancement
Upstream: PHPCS
Component: Core
Upstream: PHPCSExtra
Status: Needs Make post

## Is your feature request related to a problem? A sniff should be added to address the following handbook rule: > Aliases can be used to prevent name collisions (two...

Type: Enhancement
Focus: Modern PHP
Component: Core
Upstream: PHPCSExtra

## Is your feature request related to a problem? A sniff should be added to address the following handbook rule: > Namespace declarations should have exactly one blank line before...

Type: Enhancement
Focus: Modern PHP
Component: Core

## Is your feature request related to a problem? A sniff should be added to address the following handbook rule: > Each part of a namespace name should consist of...

Type: Enhancement
Focus: Modern PHP
Component: Core
Upstream: PHPCSExtra

The following snippet of code triggers the `WordPress.CSRF.NonceVerification` sniff. ```php if ( ! isset( $_POST['field'] ) ) { // Do something (not using the post variable). } ``` As this...

Type: Bug
Focus: Security

Placeholder issue for action in WPCS 4.0.0. - [ ] `WordPress.NamingConventions.ValidFunctionName` sniff: remove exceptions for PHP 4 constructor/destructor methods.

Type: Chores/Cleanup

There are a number of lists in WPCS which should be updated on a regular basis - on every WP release - and gathering the information needed for this manually...

Type: Enhancement
Meta: Repo

The "Helper" classes and traits are currently tested via the sniff (integration) tests. It would be preferable to have dedicated test for the Helper classes and traits though. In most...

Type: Chores/Cleanup
Status: Good first issue

## Bug Description According to the handbook: > Class, trait, interface and enum names should use capitalized words separated by underscores. Any acronyms should be all upper case. Ref: https://developer.wordpress.org/coding-standards/wordpress-coding-standards/php/#naming-conventions...

Type: Bug
Component: Core