Skip to content

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Sep 9, 2025

Description

This PR is part of a series.

These commits change a number of either private properties or inline variables to private class constants.

This wasn't previously possible as support for constant arrays was only added in PHP 5.6.

Suggested changelog entry

N/A There should be no functional impact of this change

@jrfnl jrfnl added this to the 4.0.0 milestone Sep 9, 2025
@jrfnl jrfnl merged commit bb43b55 into 4.x Sep 9, 2025
69 checks passed
@jrfnl jrfnl deleted the phpcs-4.0/feature/modernize-use-class-constants-for-constant-arrays-5 branch September 9, 2025 17:42
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.

1 participant