Skip to content

Commit eaa6d64

Browse files
Merge pull request #57 from stevegrunwell/update/coding-standards
Update docs to reflect PSR-12, *not* PSR-2.
2 parents 4c020cd + 48dfd59 commit eaa6d64

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ When submitting a new pull request, your `feature/my-cool-new-feature` should be
3636

3737
### Coding standards
3838

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

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

@@ -53,6 +53,7 @@ composer test:standards
5353
composer test:unit
5454
```
5555

56+
5657
#### Code coverage
5758

5859
[![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)

src/MarkupAssertionsTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ private function getInnerHtmlOfMatchedElements($markup, $query)
271271
// Loop through results and collect their innerHTML values.
272272
foreach ($results as $result) {
273273
if (!isset($result->firstChild)) {
274-
continue;
274+
continue; // @codeCoverageIgnore
275275
}
276276

277277
$document = new \DOMDocument();

0 commit comments

Comments
 (0)