Skip to content

PhpUnit with junit runs more stable#160

Closed
SimonHeimberg wants to merge 4 commits into
php-censor:masterfrom
SimonHeimberg:phpUnitJunitMoreStable
Closed

PhpUnit with junit runs more stable#160
SimonHeimberg wants to merge 4 commits into
php-censor:masterfrom
SimonHeimberg:phpUnitJunitMoreStable

Conversation

@SimonHeimberg

Copy link
Copy Markdown
Contributor

Contribution type

bug fix / workaround

Description of change

PhpUnit Plugin works with result in junit format containing invalid characters.

@SimonHeimberg

Copy link
Copy Markdown
Contributor Author

a test case is in preparation

$suites = null;
}
if (!$suites) {
// from https://stackoverflow.com/questions/7766455/how-to-handle-invalid-unicode-with-simplexml/8092672#8092672

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.

PHPCS: Line exceeds 120 characters; contains 124 characters

return $suites;
}

private function internalProblem($description)

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.

PHPCensor\Plugin\Util\PhpUnitResultJunit::internalProblem::PHPCensor\Plugin\Util\PhpUnitResultJunit::internalProblem is missing a docblock.

return $suites;
}

private function internalProblem($description)

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.

Class PHPCensor\Plugin\Util\PhpUnitResultJunit::internalProblem is missing a docblock.

@corpsee

corpsee commented Feb 27, 2018

Copy link
Copy Markdown
Member

@SimonHeimberg Great work, thank you! I will wait for the test cases.

@corpsee corpsee added this to the 1.0 milestone Mar 1, 2018
@corpsee

corpsee commented Mar 14, 2018

Copy link
Copy Markdown
Member

@SimonHeimberg Any news?

@prezire

prezire commented Apr 5, 2018

Copy link
Copy Markdown
Contributor

Conflicts?

@corpsee

corpsee commented May 1, 2018

Copy link
Copy Markdown
Member

@SimonHeimberg I merged this pull request to the master branch manually. If you will write tests create new pull request please. Thank you for your work!

@corpsee corpsee closed this May 1, 2018
corpsee added a commit that referenced this pull request May 1, 2018
@corpsee corpsee removed this from the Version 1.0.* (patch) milestone May 7, 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.

4 participants