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
Fix scope closer detection in arrow function detection (#298)
* Add test for ternary in arrow function
* Do not treat closing paren as a scope closer for arrow func
* Add more tests
* Add detection for function parameters in arrow function detection
* Stop using null coalesce
* Fix formatting
* Add test for array in args
* Support scope closer from phpcs if we could not find one
* Add test for simple arrow function in ternary
* Change parsing for end token to track pairs
* Remove function call inside for loop condition
* Add test for arrow function return type
* Support arrow functions with return types
* Remove accidental artifact
0 commit comments