@@ -16,46 +16,46 @@ CHANGELOG
16164.4.0
1717-----
1818
19- * Added ` Form::getName() ` method.
20- * Added ` Crawler::matches() ` method.
21- * Added ` Crawler::closest() ` method.
22- * Added ` Crawler::outerHtml() ` method.
23- * Added an argument to the ` Crawler::text() ` method to opt-in normalizing whitespaces.
19+ * Added ` Form::getName() ` method.
20+ * Added ` Crawler::matches() ` method.
21+ * Added ` Crawler::closest() ` method.
22+ * Added ` Crawler::outerHtml() ` method.
23+ * Added an argument to the ` Crawler::text() ` method to opt-in normalizing whitespaces.
2424
25254.3.0
2626-----
2727
28- * Added PHPUnit constraints: ` CrawlerSelectorAttributeValueSame ` , ` CrawlerSelectorExists ` , ` CrawlerSelectorTextContains `
29- and ` CrawlerSelectorTextSame `
30- * Added return of element name (` _name ` ) in ` extract() ` method.
31- * Added ability to return a default value in ` text() ` and ` html() ` instead of throwing an exception when node is empty.
32- * When available, the [ html5-php library] ( https://github.com/Masterminds/html5-php ) is used to
33- parse HTML added to a Crawler for better support of HTML5 tags.
28+ * Added PHPUnit constraints: ` CrawlerSelectorAttributeValueSame ` , ` CrawlerSelectorExists ` , ` CrawlerSelectorTextContains `
29+ and ` CrawlerSelectorTextSame `
30+ * Added return of element name (` _name ` ) in ` extract() ` method.
31+ * Added ability to return a default value in ` text() ` and ` html() ` instead of throwing an exception when node is empty.
32+ * When available, the [ html5-php library] ( https://github.com/Masterminds/html5-php ) is used to
33+ parse HTML added to a Crawler for better support of HTML5 tags.
3434
35354.2.0
3636-----
3737
38- * The ` $currentUri ` constructor argument of the ` AbstractUriElement ` , ` Link ` and
39- ` Image ` classes is now optional.
40- * The ` Crawler::children() ` method will have a new ` $selector ` argument in version 5.0,
41- not defining it is deprecated.
38+ * The ` $currentUri ` constructor argument of the ` AbstractUriElement ` , ` Link ` and
39+ ` Image ` classes is now optional.
40+ * The ` Crawler::children() ` method will have a new ` $selector ` argument in version 5.0,
41+ not defining it is deprecated.
4242
43433.1.0
4444-----
4545
46- * All the URI parsing logic have been abstracted in the ` AbstractUriElement ` class.
47- The ` Link ` class is now a child of ` AbstractUriElement ` .
48- * Added an ` Image ` class to crawl images and parse their ` src ` attribute,
49- and ` selectImage ` , ` image ` , ` images ` methods in the ` Crawler ` (the image version of the equivalent ` link ` methods).
46+ * All the URI parsing logic have been abstracted in the ` AbstractUriElement ` class.
47+ The ` Link ` class is now a child of ` AbstractUriElement ` .
48+ * Added an ` Image ` class to crawl images and parse their ` src ` attribute,
49+ and ` selectImage ` , ` image ` , ` images ` methods in the ` Crawler ` (the image version of the equivalent ` link ` methods).
5050
51512.5.0
5252-----
5353
54- * [ BC BREAK] The default value for checkbox and radio inputs without a value attribute have changed
55- from '1' to 'on' to match the HTML specification.
56- * [ BC BREAK] The typehints on the ` Link ` , ` Form ` and ` FormField ` classes have been changed from
57- ` \DOMNode ` to ` DOMElement ` . Using any other type of ` DOMNode ` was triggering fatal errors in previous
58- versions. Code extending these classes will need to update the typehints when overwriting these methods.
54+ * [ BC BREAK] The default value for checkbox and radio inputs without a value attribute have changed
55+ from '1' to 'on' to match the HTML specification.
56+ * [ BC BREAK] The typehints on the ` Link ` , ` Form ` and ` FormField ` classes have been changed from
57+ ` \DOMNode ` to ` DOMElement ` . Using any other type of ` DOMNode ` was triggering fatal errors in previous
58+ versions. Code extending these classes will need to update the typehints when overwriting these methods.
5959
60602.4.0
6161-----
0 commit comments