X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=vendor%2Fsymfony%2Fdom-crawler%2FTests%2FFormTest.php;h=29e6ac5e2687ce8882544cb1187e5d2d819c0f4e;hb=refs%2Fheads%2Fmaster;hp=90e87d4c00a2d268ff0a86f556a82e5c4ceb15c3;hpb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;p=yaffs-website diff --git a/vendor/symfony/dom-crawler/Tests/FormTest.php b/vendor/symfony/dom-crawler/Tests/FormTest.php index 90e87d4c0..29e6ac5e2 100644 --- a/vendor/symfony/dom-crawler/Tests/FormTest.php +++ b/vendor/symfony/dom-crawler/Tests/FormTest.php @@ -191,7 +191,7 @@ class FormTest extends TestCase $values, array_map( function ($field) { - $class = get_class($field); + $class = \get_class($field); return array(substr($class, strrpos($class, '\\') + 1), $field->getValue()); }, @@ -948,12 +948,12 @@ class FormTest extends TestCase { $dom = new \DOMDocument(); $dom->loadHTML(' - -
- -
- - '); + +
+ +
+ ' + ); $nodes = $dom->getElementsByTagName('form'); $form = new Form($nodes->item(0), 'http://example.com');