summaryrefslogtreecommitdiff
path: root/ext/dom/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fixed test skipXinchen Hui2018-07-041-1/+4
| |
* | DOMDocument::formatOutput attribute sometimes ignoredAndrew Nester2018-06-281-0/+18
| |
* | Use EXPECT instead of EXPECTF when possibleGabriel Caruso2018-02-2050-50/+50
| | | | | | | | EXPECTF logic in run-tests.php is considerable, so let's avoid it.
* | Add and fix SKIPIF sectionsGabriel Caruso2018-02-043-2/+7
| |
* | Remove superfluous SKIPIF sections in more testsGabriel Caruso2018-02-041-1/+0
| |
* | Fixed bug #75451 (Assertion fails while foreach on empty xpath query)Xinchen Hui2017-10-281-0/+18
|/
* Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2017-09-111-1/+1
|\ | | | | | | | | * PHP-7.1: Fix test compat with libxml2 2.9.5
| * Fix test compat with libxml2 2.9.5Anatol Belski2017-09-111-1/+1
| | | | | | | | From 2.9.5 on libxml explcitly initializes the keepBlanks flag.
* | Req #74963 (Improved error message on fetching property of non-object)Xinchen Hui2017-07-311-2/+2
| |
* | Implement Countable for DomNodeList and DOMNamedNodeMap (Request #74837)Andreas Treichel2017-07-102-0/+56
| |
* | Merge branch 'PHP-7.1'Nikita Popov2017-06-031-0/+15
|\ \ | |/
| * Fixed bug #69373Tim Toohey2017-06-031-0/+15
| | | | | | | | | | xmlNodeSetContentLen() calls xmlFreeNode() on node->children. This causes problems if there are other references around to those children.
* | Merge branch 'PHP-7.1'Remi Collet2017-04-131-0/+21
|\ \ | |/ | | | | | | * PHP-7.1: Fixed bug #74416 Wrong reflection on DOMNode::cloneNode
| * Fixed bug #74416 Wrong reflection on DOMNode::cloneNodeFabien Villepinte2017-04-131-0/+21
| |
* | Merge branch 'PHP-7.1'Nikita Popov2017-03-021-0/+14
|\ \ | |/
| * PHP bug #74004somedaysummer2017-03-021-0/+14
| | | | | | | | | | Fix for DOMDocument loadHTML and loadHTMLFile ignore LIBXML_NOWARNING and LIBXML_NOERROR flags.
* | Deprecate assert() with string argumentNikita Popov2017-02-0314-26/+26
| |
* | Merge branch 'PHP-7.1'Nikita Popov2017-02-031-15/+0
|\ \ | |/
| * Revert "Merge branch 'pull-request/2344' into PHP-7.0"Nikita Popov2017-02-031-15/+0
| | | | | | | | | | This reverts commit 6988d070ea8c7d44452d8c98e594d65ea722a1d8, reversing changes made to 75ad2b301a047209e7b5a6b5912eb589cfbc773d.
* | Merge branch 'PHP-7.1'Joe Watkins2017-02-031-0/+15
|\ \ | |/ | | | | | | * PHP-7.1: Fixed bug #74004 LIBXML_NOWARNING (etc) ignored by DOMDocument::loadHTML
| * Fixed bug #74004 LIBXML_NOWARNING (etc) ignored by DOMDocument::loadHTMLsomedaysummer2017-02-031-0/+15
| |
* | Merge branch 'PHP-7.1'Anatol Belski2017-02-012-45/+0
|\ \ | |/ | | | | | | | | | | | | * PHP-7.1: remove the reverted NEWS entry sync NEWS with the reverted stuff Revert "fixed bug #50989 (DOM support for LIBXML_NOXMLDECL)" Revert "fix BC break introduced by #2346 (sebastianbergmann/phpunit#2454)"
| * Revert "fixed bug #50989 (DOM support for LIBXML_NOXMLDECL)"Anatol Belski2017-02-011-12/+0
| | | | | | | | This reverts commit 2fcf1259c6a9c1d70bcdfb96aeabc54c47e2a4a0.
| * Revert "fix BC break introduced by #2346 (sebastianbergmann/phpunit#2454)"Anatol Belski2017-02-011-33/+0
| | | | | | | | This reverts commit 62938bf08806129b42b17e74d79a450c30d4ff30.
* | Merge branch 'PHP-7.1'Joe Watkins2017-01-301-0/+33
|\ \ | |/ | | | | | | * PHP-7.1: fix BC break introduced by #2346 (sebastianbergmann/phpunit#2454)
| * fix BC break introduced by #2346 (sebastianbergmann/phpunit#2454)jhdxr2017-01-301-0/+33
| |
* | Merge branch 'PHP-7.1'Joe Watkins2017-01-281-0/+12
|\ \ | |/ | | | | | | * PHP-7.1: fixed bug #50989 (DOM support for LIBXML_NOXMLDECL)
| * fixed bug #50989 (DOM support for LIBXML_NOXMLDECL)jhdxr2017-01-281-0/+12
| |
* | Merge branch 'PHP-7.1'Joe Watkins2017-01-251-0/+27
|\ \ | |/ | | | | | | | | * PHP-7.1: Fix bug #54382 (getAttributeNodeNS doesn't get xmlns* attributes) Added (failing) testcase for bug #54382
| * Added (failing) testcase for bug #54382Arnout Boks2017-01-251-0/+27
| |
* | Merge branch 'PHP-7.1'Nikita Popov2017-01-103-3/+30
|\ \ | |/
| * Fixed #73907 (nextSibling property not included in var_dump of DOMNode)Arnout Boks2017-01-103-3/+30
| |
* | Merge branch 'PHP-7.1'Nikita Popov2017-01-102-3/+25
|\ \ | |/
| * Fixed bug #61858 (DOMAttr debug info generates E_WARNING)Arnout Boks2017-01-102-3/+25
| | | | | | | | | | | | | | | | | | | | It seems fair to remove this warning, given that: * it is not documented in the official documentation * the $specified property, which has a similar 'not implemented' status, also does not trigger a warning * it apparently hinders quite a lot of people during debugging, judging by the number of votes on the bug
* | Merge branch 'PHP-7.1'Joe Watkins2017-01-071-3/+3
|\ \ | |/ | | | | | | * PHP-7.1: PR #2211 don't supress warnings in tests
| * PR #2211 don't supress warnings in testsCraig Duncan2017-01-071-3/+3
| |
* | Merge branch 'PHP-7.1'Joe Watkins2017-01-021-0/+18
|\ \ | |/ | | | | | | | | | | * PHP-7.1: news entry for PR #2267 Fixed #67474 (getElementsByTagNameNS and default namespace) Add (failing) testcase for bug #67474
| * Add (failing) testcase for bug #67474Arnout Boks2017-01-021-0/+18
| |
* | Remove more PHP 6 leftovers from testsNikita Popov2016-11-241-1/+1
| |
* | Remove the binary cast from unrelated testsPedro Magalhães2016-11-202-2/+2
| |
* | Remove the b prefix from literals on unrelated testsPedro Magalhães2016-11-201-1/+1
| |
* | Revert "Fix test, this is kinda ugly, but at least for me on Windows there ↵Kalle Sommer Nielsen2016-10-201-4/+4
| | | | | | | | | | | | | | | | seems to be some messed up line endings" This reverts commit aeeaedeeb7bdf7df3f0885a62e8d317762e88bf8. This seems to make Travis unhappy (shocker), so revert for now until we find a better fix
* | Fix test, this is kinda ugly, but at least for me on Windows there seems to ↵Kalle Sommer Nielsen2016-10-201-4/+4
|/ | | | be some messed up line endings
* Merge branch 'PHP-5.6' into PHP-7.0Christoph M. Becker2016-07-151-0/+20
|\
| * Fix bug #66502: DOM document dangling referenceChristoph M. Becker2016-07-151-0/+20
| | | | | | | | | | | | | | | | | | When we decrement the refcount of a node's document, we state that we won't need it anymore. Therefore we can *always* set the pointer to the document to NULL, what avoids invalid memory accesses for some edge cases as demonstrated with the PHPT. Original patch provided by Sean Heelan.
* | Fixed Bug #70558 ("Couldn't fetch" error in DOMDocument::registerNodeClass())Xinchen Hui2015-09-231-0/+18
| |
* | Revert "Fix #70029: nodeValue of DOMElement list content of children nodes"Christoph M. Becker2015-09-065-101/+94
| | | | | | | | This reverts commit 25a52d98d7cb2d4f3b3636eac45c71a1ae03c760.
* | Fix #70029: nodeValue of DOMElement list content of children nodesChristoph M. Becker2015-09-055-94/+101
| | | | | | | | | | | | | | According to the W3C DOM Core Level 3 specification DOMElement::nodeValue is supposed to yield null, but currently the DOM extension yield the result of calling xmlNodeGetContent(), what is the concatenation of the values of the children of the element. This patch fixes the non standard behavior.
* | Merge branch 'PHP-5.6'Christoph M. Becker2015-09-051-0/+17
|\ \ | |/ | | | | | | | | | | | | * PHP-5.6: Fix #70001: Assigning to DOMNode::textContent does additional entity encoding Resolved conflicts: ext/dom/node.c
| * Fix #70001: Assigning to DOMNode::textContent does additional entity encodingChristoph M. Becker2015-09-051-0/+17
| | | | | | | | | | | | Assigning to DOMNode::textContent encodes entities, what does not match the behavior of DOMText::__construct() and DOMDocument::createTextNode. This patch changes the behavior of DOMNode::textContent in this regard.