Skip to content

Adds compatibility for ReflectionProperty#56

Merged
Ocramius merged 5 commits intomasterfrom
compat-reflectionproperty
Jul 10, 2015
Merged

Adds compatibility for ReflectionProperty#56
Ocramius merged 5 commits intomasterfrom
compat-reflectionproperty

Conversation

@asgrim
Copy link
Copy Markdown
Member

@asgrim asgrim commented Jul 10, 2015

As part of #7, this PR completes method compatibility for the ReflectionProperty class, including test coverage.

Note that the API for the FindPropertyType invokable has changed, because we no longer need the AST node, due to implementing the getDocComment() method in ReflectionProperty.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it's true, but it makes intent much clearer when reading the code in the isDefault() implementation.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@asgrim use a constant then

Ocramius added a commit that referenced this pull request Jul 10, 2015
Adds compatibility for ReflectionProperty
@Ocramius Ocramius merged commit 9f19e5b into master Jul 10, 2015
@Ocramius Ocramius deleted the compat-reflectionproperty branch July 10, 2015 11:02
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.

2 participants