Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: TokensAnalyzer - handle unary operator in arrow functions #7862

Merged
merged 5 commits into from Mar 8, 2024

Conversation

kubawerlos
Copy link
Contributor

Fixes #7861

@coveralls
Copy link

coveralls commented Mar 1, 2024

Coverage Status

coverage: 96.029%. remained the same
when pulling 0348cea on 6b7562617765726c6f73:fix_TokensAnalyzer
into 438d5ea on PHP-CS-Fixer:master.

@kubawerlos kubawerlos marked this pull request as ready for review March 1, 2024 18:25
@Wirone
Copy link
Member

Wirone commented Mar 4, 2024

@kubawerlos should handle unary operator in array functions be handle unary operator in anonymous functions 🤔?

@mvorisek
Copy link
Contributor

mvorisek commented Mar 7, 2024

should handle unary operator in array functions be handle unary operator in anonymous functions 🤔?

"arrow functions"? :)

@Wirone Wirone changed the title fix: TokensAnalyzer - handle unary operator in array functions fix: TokensAnalyzer - handle unary operator in arrow functions Mar 8, 2024
@Wirone Wirone merged commit b68c8ba into PHP-CS-Fixer:master Mar 8, 2024
25 checks passed
@Wirone Wirone deleted the fix_TokensAnalyzer branch March 8, 2024 11:23
@Wirone
Copy link
Member

Wirone commented Mar 8, 2024

Thanks @kubawerlos 🍻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

& bitwise operator is interpreted as "reference" operator by unary_operator_spaces
4 participants