You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As highlighted in discussion of Issue #3501, the NullSafe Operator (?->) is not taken into consideration when calculating complexity in the Generic.Metrics.CyclomaticComplexity sniff.
This operator should increment the Cyclomatic Complexity score by 1, because there are two paths through the code each cases.