Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Refactored other PHPUnit method calls to work with namespaced PHPUnit 6 #21695

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

Merged
merged 1 commit into from
Feb 21, 2017
Merged

Refactored other PHPUnit method calls to work with namespaced PHPUnit 6 #21695

merged 1 commit into from
Feb 21, 2017

Conversation

peterrehm
Copy link
Contributor

Q A
Branch? 2.8
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? no
Fixed tickets -
License MIT
Doc PR -

Continued work to make Symfony PHPUnit 6 compatible.

@nicolas-grekas nicolas-grekas added this to the 2.8 milestone Feb 21, 2017
@@ -227,7 +227,12 @@ public function testPrivateTaggedServices($id, $tagName, $expectedExceptionMessa
$container->setDefinition('form.extension', $extDefinition);
$container->register($id, 'stdClass')->setPublic(false)->addTag($tagName);

$this->setExpectedException('\InvalidArgumentException', $expectedExceptionMessage);
if (method_exists($this, 'expectException')) {
$this->expectException('\InvalidArgumentException');
Copy link
Member

Choose a reason for hiding this comment

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

let's remove the leading backslash (here and below)

@nicolas-grekas
Copy link
Member

Thank you @peterrehm.

@nicolas-grekas nicolas-grekas merged commit dbe8898 into symfony:2.8 Feb 21, 2017
nicolas-grekas added a commit that referenced this pull request Feb 21, 2017
…paced PHPUnit 6 (peterrehm)

This PR was merged into the 2.8 branch.

Discussion
----------

Refactored other PHPUnit method calls to work with namespaced PHPUnit 6

| Q             | A
| ------------- | ---
| Branch?       | 2.8
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | no
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Continued work to make Symfony PHPUnit 6 compatible.

Commits
-------

dbe8898 Refactored other PHPUnit method calls to work with namespaced PHPUnit 6
@peterrehm peterrehm deleted the phpunit-2.8 branch February 21, 2017 10:11
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.

3 participants