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

Ignore tokens that belong to array element declaration #3061

Merged
merged 1 commit into from
Sep 21, 2020
Merged

Ignore tokens that belong to array element declaration #3061

merged 1 commit into from
Sep 21, 2020

Conversation

morozov
Copy link
Contributor

@morozov morozov commented Aug 29, 2020

T_OBJECT_CAST,
T_STRING_CAST,
T_UNSET_CAST,
];
Copy link
Contributor

@jrfnl jrfnl Aug 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may want to use the preset Tokens::$castTokens array here.

@morozov
Copy link
Contributor Author

morozov commented Sep 8, 2020

@gsherwood what's your plan on reviewing this and other PRs?

@morozov morozov closed this Sep 8, 2020
@morozov morozov reopened this Sep 8, 2020
@gsherwood gsherwood added this to Idea Bank in PHPCS v3 Development via automation Sep 21, 2020
@gsherwood gsherwood added this to the 3.5.7 milestone Sep 21, 2020
gsherwood added a commit that referenced this pull request Sep 21, 2020
gsherwood added a commit that referenced this pull request Sep 21, 2020
@gsherwood gsherwood merged commit 1100d89 into squizlabs:master Sep 21, 2020
PHPCS v3 Development automation moved this from Idea Bank to Ready for Release Sep 21, 2020
@gsherwood
Copy link
Member

@gsherwood what's your plan on reviewing this and other PRs?

Just needed time mate.

Thanks a lot for these fixes, and the detailed bug reports.

@morozov morozov deleted the issues/3060 branch September 21, 2020 05:36
gsherwood added a commit that referenced this pull request Sep 24, 2020
Sniff wasn't ignore static arrow functions, or fixing the indent correctly when it actually was incorrect
gsherwood added a commit that referenced this pull request Sep 24, 2020
Sniff wasn't ignore static arrow functions, or fixing the indent correctly when it actually was incorrect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
PHPCS v3 Development
Ready for Release
3 participants