PHPCSStandards / PHP_CodeSniffer

PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
BSD 3-Clause "New" or "Revised" License
856 stars 53 forks source link

Tokenizer/PHP: add tests for arrow functions with intersection types #460

Closed jrfnl closed 4 months ago

jrfnl commented 4 months ago

Description

This was already handled correctly by the Tokenizer, but not safeguarded via tests.

Suggested changelog entry

N/A