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 22e353c into 4.x Sep 9, 2025
74 of 76 checks passed
@jrfnl jrfnl deleted the phpcs-4.0/feature/modernize-use-class-constants-for-constant-arrays-1 branch September 9, 2025 13:19
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