Skip to content

Incorrect checking for PHP7 return types on multi-line function declartions #781

@syrm

Description

@syrm

Hello,

With a code like that :

    public function driverIsConnectedWithIdentifierForQuery(
        DriverInterface $driver,
        $identifier,
        QueryInterface $query
    ): ConnectionPool {

PHPCS : There must be a single space between the closing parenthesis and the opening brace of a multi-line function declaration

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions