8000 False negative SlevomatCodingStandard.ControlStructures.DisallowTrailingMultiLineTernaryOperator · Issue #1650 · slevomat/coding-standard · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
False negative SlevomatCodingStandard.ControlStructures.DisallowTrailingMultiLineTernaryOperator #1650
Open
@rmikalkenas

Description

@rmikalkenas

Hello, looks like this sniff does not report error for such cases:

function foo() {}

$a = $b === 'a' ? foo()
    : 'c';
function foo() {}

$a = $b === 'a' ? foo(
) : 'c';

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0