Skip to content

Remove redundant parenthesis on attribute #19898

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

Conversation

alamirault
Copy link
Contributor

In symfony codebase #[Foo] is used instead of #[Foo()]

Phpstorm like also without
image

I've made also PR for 6.4, if you're agree with this rule I will made other PR.
(And maybe a new doctor-rst rule)

@OskarStark
Copy link
Contributor

Thank you Antoine.

@OskarStark OskarStark merged commit 6191592 into symfony:5.4 May 21, 2024
3 checks passed
OskarStark added a commit that referenced this pull request May 21, 2024
This PR was merged into the 6.4 branch.

Discussion
----------

Remove redundant parenthesis on attribute

Follow #19898 on, 6.4

>
> In symfony codebase `#[Foo]` is used instead of `#[Foo()]`
>
> Phpstorm like also without
> ![image](https://github.com/symfony/symfony-docs/assets/9253091/9a4902ef-4c6a-428d-9fae-7034aca17f19)
>
> I've made also PR for 6.4, if you're agree with this rule I will made other PR.
> (And maybe a new doctor-rst rule)

Commits
-------

5d63d63 Remove redundant parenthesis on attribute
@alamirault alamirault deleted the feature/remove-redundant-parenthesis-attribute-54 branch May 22, 2024 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants