Closed sirbrillig closed 1 year ago
The arrow function scope closer detection is very difficult. This PR improves it. I'm sure there are still bugs but we'll have to get more test cases to find them.
Fixes https://github.com/sirbrillig/phpcs-variable-analysis/issues/297 Fixes https://github.com/sirbrillig/phpcs-variable-analysis/issues/299
The arrow function scope closer detection is very difficult. This PR improves it. I'm sure there are still bugs but we'll have to get more test cases to find them.
Fixes https://github.com/sirbrillig/phpcs-variable-analysis/issues/297 Fixes https://github.com/sirbrillig/phpcs-variable-analysis/issues/299