What style formater is making this indent happen?

$isValidOccurrenceDate = $event && $start <= $today && count(
$this->eventService->getEventOccurrencesInRange([$params['event_id']], $start, $end)
) > 0;

Using style settings for PSR12, the above code is reformatted as seen below... This causes phpcs validation issues as it thinks the indent is one too many.  How to fix?

$isValidOccurrenceDate = $event && $start <= $today && count(
$this->eventService->getEventOccurrencesInRange([$params['event_id']], $start, $end)
) > 0;

 

 

2 comments
Comment actions Permalink

It seems to be a bug similar to this one: https://youtrack.jetbrains.com/issue/WI-45010
There seems to be no workaround, pushed it to our issue tracker: https://youtrack.jetbrains.com/issue/WI-63897

1
Comment actions Permalink

Thanks, much appreciated.

0

Please sign in to leave a comment.