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 changed the title Phpcs 4.0/feature/modernize use class constants for constant arrays 3 Modernize: use class constant for constant array [3] Sep 9, 2025
@jrfnl jrfnl merged commit d04c9bc into 4.x Sep 9, 2025
90 of 98 checks passed
@jrfnl jrfnl deleted the phpcs-4.0/feature/modernize-use-class-constants-for-constant-arrays-3 branch September 9, 2025 16:13
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