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

Skip anonymous classes in defined API #64

Merged
merged 2 commits into from
May 15, 2018

Conversation

asgrim
Copy link
Member

@asgrim asgrim commented May 15, 2018

Fixes #63

@asgrim asgrim added the bug label May 15, 2018
@asgrim asgrim added this to the 0.0.1 milestone May 15, 2018
@asgrim asgrim requested a review from Ocramius May 15, 2018 08:53
$this->interfaceBasedComparatorWillNotBeCalled();
$this->traitBasedComparatorWillNotBeCalled();

self::assertEqualsIgnoringOrder(
Copy link
Member

Choose a reason for hiding this comment

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

Can just be assertEquals

array_filter(
$definedSymbols->getAllClasses(),
function (ReflectionClass $class) : bool {
return !$class->isAnonymous();
Copy link
Member

Choose a reason for hiding this comment

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

I think a space is needed here

Copy link
Member

@Ocramius Ocramius left a comment

Choose a reason for hiding this comment

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

🚢

@Ocramius Ocramius merged commit 342b5eb into master May 15, 2018
@Ocramius Ocramius deleted the feature/skip-anon-classes-in-defined-api branch May 15, 2018 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants