Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented May 28, 2020

⚠️ Breaking Change ⚠️

The $phpcsCommentTokensTypes, $ooScopeTokens, $textStringTokens properties all had protected visibility.

These properties are not intended to be used directly by implementing standards and with them being protected, they would only be accessible if the implementing standard would extend the BCTokens class, which doesn't really make sense as it only contains static method anyhow.

So to make the intention clearer, these have now all be reclassified as private properties.

⚠️ Breaking Change ⚠️ The `$phpcsCommentTokensTypes`, `$ooScopeTokens`, `$textStringTokens` properties all had `protected` visibility. These properties are not intended to be used directly by implementing standards and with them being `protected`, they would only be accessible if the implementing standard would extend the `BCTokens` class, which doesn't really make sense as it only contains static method anyhow. So to make the intention clearer, these have now all be reclassified as `private` properties.
@jrfnl jrfnl added this to the 1.0.0-alpha3 milestone May 28, 2020
@jrfnl jrfnl merged commit fc924ab into develop May 28, 2020
@jrfnl jrfnl deleted the feature/bctokens-change-property-visibility branch May 28, 2020 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment