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: native_constant_invocation - array constants with native constant names #8008

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HypeMC
Copy link
Contributor

@HypeMC HypeMC commented May 14, 2024

Currently the native_constant_invocation tries to do the following:

- private const array CONNECTION_TIMEOUT = ['foo'];
+ private const array \CONNECTION_TIMEOUT = ['foo'];

@coveralls
Copy link

coveralls commented May 14, 2024

Coverage Status

coverage: 95.635%. remained the same
when pulling aeb8348 on HypeMC:fix-array-constants-with-native-constants-names
into 17050b2 on PHP-CS-Fixer:master.

@HypeMC HypeMC force-pushed the fix-array-constants-with-native-constants-names branch from ae61a97 to aeb8348 Compare May 26, 2024 22:14
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.

None yet

2 participants