minor #25705 [Form] AbstractLayoutTest - fix DOMDocument casing (TomasVotruba)

This PR was merged into the 2.7 branch.

Discussion
----------

[Form] AbstractLayoutTest - fix DOMDocument casing

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

This actually breaks static analysis, because casing is incorrect

Commits
-------

a93861f [Form] AbstractLayoutTest - fix DOMDocument casing
This commit is contained in:
Nicolas Grekas 2018-01-07 09:05:02 +01:00
commit 813f957487
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ abstract class AbstractLayoutTest extends FormIntegrationTestCase
protected function assertMatchesXpath($html, $expression, $count = 1)
{
$dom = new \DomDocument('UTF-8');
$dom = new \DOMDocument('UTF-8');
try {
// Wrap in <root> node so we can load HTML with multiple tags at
// the top level