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

Docs: BCTokens: list methods supported #150

Merged
merged 1 commit into from
Jun 13, 2020
Merged

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Jun 13, 2020

The BCTokens class has a __callStatic() method to allow for offering methods for all properties from the PHPCS native Tokens array, even when they are unchanged.

Using the @method tag, it is now documented which methods will magically resolve.

Ref: https://github.com/php-fig/fig-standards/blob/master/proposed/phpdoc-tags.md#57-method

The `BCTokens` class has a `__callStatic()` method to allow for offering methods for all properties from the PHPCS native `Tokens` array, even when they are unchanged.

Using the `@method` tag, it is now documented which methods will magically resolve.

Ref: https://github.com/php-fig/fig-standards/blob/master/proposed/phpdoc-tags.md#57-method
@jrfnl jrfnl added this to the 1.0.0-alpha3 milestone Jun 13, 2020
@jrfnl jrfnl merged commit 78b095f into develop Jun 13, 2020
@jrfnl jrfnl deleted the docs/bctokens-add-method-tags branch June 13, 2020 19:35
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