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

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.637%. remained the same
when pulling 634c9e5 on HypeMC:fix-array-constants-with-native-constants-names
into 4e57f31 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
@HypeMC HypeMC force-pushed the fix-array-constants-with-native-constants-names branch from aeb8348 to 8002206 Compare June 3, 2024 15:29
@kubawerlos kubawerlos enabled auto-merge (squash) June 3, 2024 18:17
@kubawerlos kubawerlos merged commit c3dbbcf into PHP-CS-Fixer:master Jun 3, 2024
26 checks passed
@HypeMC HypeMC deleted the fix-array-constants-with-native-constants-names branch June 3, 2024 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants