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

Utils\Numbers: replace $unsupportedPHPCSVersions with UNSUPPORTED_VERSION #88

Merged
merged 1 commit into from
Feb 15, 2020

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Feb 14, 2020

As the fix for the broken backfill in PHPCS 3.5.3 was released in PHPCS 3.5.4, there is only one PHPCS version which is unsupported.

This negates the need for an array, making it possible to use a class constant instead which should be less risky as it cannot be overloaded.

Includes adjusting all places in the code base which were using the property to use the constant instead.

…PHPCS_VERSION`

As the fix for the broken backfill in PHPCS 3.5.3 was released in PHPCS 3.5.4, there is only one PHPCS version which is unsupported.

This negates the need for an array, making it possible to use a class constant instead which should be less risky as it cannot be overloaded.

Includes adjusting all places in the code base which were using the property to use the constant instead.
@jrfnl jrfnl force-pushed the feature/numbers-change-property-to-constant branch from 3456a1c to 379013f Compare February 14, 2020 23:32
@jrfnl jrfnl merged commit 69d85ab into develop Feb 15, 2020
@jrfnl jrfnl deleted the feature/numbers-change-property-to-constant branch February 15, 2020 00:45
@jrfnl jrfnl modified the milestones: 1.0.0, 1.0.0-alpha2 May 1, 2020
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