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

space after type casting #138

Closed
cDonut opened this issue Feb 8, 2024 · 4 comments
Closed

space after type casting #138

cDonut opened this issue Feb 8, 2024 · 4 comments

Comments

@cDonut
Copy link

cDonut commented Feb 8, 2024

Can't find way to remove space after type casting.
formatting (int)$userId will be (int) $userId
Can I remove this rule somehow?

@cDonut
Copy link
Author

cDonut commented Feb 8, 2024

seems that Cakephp option solved my problem

@cDonut cDonut closed this as completed Feb 8, 2024
@cDonut
Copy link
Author

cDonut commented Feb 8, 2024

sadly Cakephp option is bringing another formating changes.
Can I control casting space separately?

@cDonut cDonut reopened this Feb 8, 2024
@driade
Copy link

driade commented Feb 8, 2024

Hi, good afternoon. This is not possible as the rule that adds these spaces is in charge of controlling spaces in many other places in the code.

You can disable it and try adding "ResizeSpaces" to your "Exclude" rules.

Cheers,

@cDonut
Copy link
Author

cDonut commented Feb 9, 2024

Thanks, I'll try some combinations with exclude rules

@cDonut cDonut closed this as completed Feb 9, 2024
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

No branches or pull requests

2 participants