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

[Tests] Remove assertAttibute* functions #29686

Closed
wants to merge 2 commits into from

Conversation

gmponos
Copy link
Contributor

@gmponos gmponos commented Dec 25, 2018

Q A
Branch? master
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
License MIT

Related to: sebastianbergmann/phpunit#3338

$node = $this->getMockForAbstractClass(NodeDefinition::class, array('foo'));

$this->assertAttributeSame('.', 'pathSeparator', $node);
$node = new class('foo') extends NodeDefinition
Copy link
Contributor Author

@gmponos gmponos Dec 25, 2018

Choose a reason for hiding this comment

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

hmmm.. now that I think of it... since 3.4 is still active and supports PHP 5 then anonymous class must be dropped and the PR must target 3.4 right?

Copy link
Member

Choose a reason for hiding this comment

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

right!

@nicolas-grekas nicolas-grekas added this to the 3.4 milestone Jan 3, 2019
@nicolas-grekas
Copy link
Member

please rebase+retarget for 3.4

@fabpot
Copy link
Member

fabpot commented Feb 21, 2019

@gmponos Still interested in finishing this one?

@gmponos
Copy link
Contributor Author

gmponos commented Feb 26, 2019

Closing as there are conflicts and I need to target 3.4.. I will start a new one once I will find some time :)

@gmponos gmponos closed this Feb 26, 2019
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.

None yet

4 participants