Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ When submitting a new pull request, your `feature/my-cool-new-feature` should be

### Coding standards

This project uses [the PSR-2 coding standards](http://www.php-fig.org/psr/psr-2/).
This project uses [the PSR-12 coding standards](http://www.php-fig.org/psr/psr-12/).

Standards are enforced via [PHP_CodeSniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer/), which can be run any time with the following:

Expand All @@ -53,6 +53,7 @@ composer test:standards
composer test:unit
```


#### Code coverage

[![Coverage Status](https://coveralls.io/repos/github/stevegrunwell/phpunit-markup-assertions/badge.svg?branch=develop)](https://coveralls.io/github/stevegrunwell/phpunit-markup-assertions?branch=develop)
Expand Down
2 changes: 1 addition & 1 deletion src/MarkupAssertionsTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ private function getInnerHtmlOfMatchedElements($markup, $query)
// Loop through results and collect their innerHTML values.
foreach ($results as $result) {
if (!isset($result->firstChild)) {
continue;
continue; // @codeCoverageIgnore
}

$document = new \DOMDocument();
Expand Down