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
High cyclomatic complexity, with an type-inferred array is causing PHPStan to crash.
The issue can be easily resolved by specifying the type of the array, or by avoiding the cyclomatic complexity, by direct assignment without using the conditional statement.
Code snippet that reproduces the problem
Expected output
The code below is causing PHPStan demo page to crash, hence I couldn't create a URL.
Bug report
High cyclomatic complexity, with an type-inferred array is causing PHPStan to crash.
The issue can be easily resolved by specifying the type of the array, or by avoiding the cyclomatic complexity, by direct assignment without using the conditional statement.
Code snippet that reproduces the problem
Expected output
The code below is causing PHPStan demo page to crash, hence I couldn't create a URL.
The text was updated successfully, but these errors were encountered: