sirbrillig / phpcs-variable-analysis

Find undefined and unused variables with the PHP Codesniffer static analysis tool.
Other
136 stars 14 forks source link

Allow newlines in arrow functions #301

Closed sirbrillig closed 1 year ago

sirbrillig commented 1 year ago

I was under the impression that arrow functions could not contain newlines but I was wrong.

Fixes https://github.com/sirbrillig/phpcs-variable-analysis/issues/300 Fixes https://github.com/sirbrillig/phpcs-variable-analysis/issues/299