Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
syrm opened this issue Nov 22, 2015 · 1 comment
Closed

Comments

@syrm
Copy link

syrm commented Nov 22, 2015

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

@gsherwood
Copy link
Member

@gsherwood gsherwood changed the title PHP7 incorrect checking for return value on multi-lines Incorrect checking for PHP7 return types on multi-line function declartions Nov 22, 2015
gsherwood added a commit that referenced this issue Nov 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants