Skip to content

Faulty Core fixes: spaces between function call parenthesis #970

Closed

Description

Summary:

A function call with no parameters should not have any spaces between the parenthesis.
The current fixer seems to remove some spaces, but still leaves one.

Most likely cause: PEAR.Functions.FunctionCallSignature

Example:

File: ./src/wp-settings.php

Source:

ms_cookie_constants(  ); // Line 282
wp_templating_constants(  ); // Line 393

Fixed as:

ms_cookie_constants( );
wp_templating_constants( );

Expected fix:

ms_cookie_constants();
wp_templating_constants();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions