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:
commit
813f957487
@ -58,7 +58,7 @@ abstract class AbstractLayoutTest extends FormIntegrationTestCase
|
|||||||
|
|
||||||
protected function assertMatchesXpath($html, $expression, $count = 1)
|
protected function assertMatchesXpath($html, $expression, $count = 1)
|
||||||
{
|
{
|
||||||
$dom = new \DomDocument('UTF-8');
|
$dom = new \DOMDocument('UTF-8');
|
||||||
try {
|
try {
|
||||||
// Wrap in <root> node so we can load HTML with multiple tags at
|
// Wrap in <root> node so we can load HTML with multiple tags at
|
||||||
// the top level
|
// the top level
|
||||||
|
Reference in New Issue
Block a user