Skip to content

Commit 3517ef4

Browse files
committed
Fix CS in changelogs
1 parent 30ad9ac commit 3517ef4

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

CHANGELOG.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,46 +4,46 @@ CHANGELOG
44
4.4.0
55
-----
66

7-
* Added `Form::getName()` method.
8-
* Added `Crawler::matches()` method.
9-
* Added `Crawler::closest()` method.
10-
* Added `Crawler::outerHtml()` method.
11-
* Added an argument to the `Crawler::text()` method to opt-in normalizing whitespaces.
7+
* Added `Form::getName()` method.
8+
* Added `Crawler::matches()` method.
9+
* Added `Crawler::closest()` method.
10+
* Added `Crawler::outerHtml()` method.
11+
* Added an argument to the `Crawler::text()` method to opt-in normalizing whitespaces.
1212

1313
4.3.0
1414
-----
1515

16-
* Added PHPUnit constraints: `CrawlerSelectorAttributeValueSame`, `CrawlerSelectorExists`, `CrawlerSelectorTextContains`
17-
and `CrawlerSelectorTextSame`
18-
* Added return of element name (`_name`) in `extract()` method.
19-
* Added ability to return a default value in `text()` and `html()` instead of throwing an exception when node is empty.
20-
* When available, the [html5-php library](https://github.com/Masterminds/html5-php) is used to
21-
parse HTML added to a Crawler for better support of HTML5 tags.
16+
* Added PHPUnit constraints: `CrawlerSelectorAttributeValueSame`, `CrawlerSelectorExists`, `CrawlerSelectorTextContains`
17+
and `CrawlerSelectorTextSame`
18+
* Added return of element name (`_name`) in `extract()` method.
19+
* Added ability to return a default value in `text()` and `html()` instead of throwing an exception when node is empty.
20+
* When available, the [html5-php library](https://github.com/Masterminds/html5-php) is used to
21+
parse HTML added to a Crawler for better support of HTML5 tags.
2222

2323
4.2.0
2424
-----
2525

26-
* The `$currentUri` constructor argument of the `AbstractUriElement`, `Link` and
27-
`Image` classes is now optional.
28-
* The `Crawler::children()` method will have a new `$selector` argument in version 5.0,
29-
not defining it is deprecated.
26+
* The `$currentUri` constructor argument of the `AbstractUriElement`, `Link` and
27+
`Image` classes is now optional.
28+
* The `Crawler::children()` method will have a new `$selector` argument in version 5.0,
29+
not defining it is deprecated.
3030

3131
3.1.0
3232
-----
3333

34-
* All the URI parsing logic have been abstracted in the `AbstractUriElement` class.
35-
The `Link` class is now a child of `AbstractUriElement`.
36-
* Added an `Image` class to crawl images and parse their `src` attribute,
37-
and `selectImage`, `image`, `images` methods in the `Crawler` (the image version of the equivalent `link` methods).
34+
* All the URI parsing logic have been abstracted in the `AbstractUriElement` class.
35+
The `Link` class is now a child of `AbstractUriElement`.
36+
* Added an `Image` class to crawl images and parse their `src` attribute,
37+
and `selectImage`, `image`, `images` methods in the `Crawler` (the image version of the equivalent `link` methods).
3838

3939
2.5.0
4040
-----
4141

42-
* [BC BREAK] The default value for checkbox and radio inputs without a value attribute have changed
43-
from '1' to 'on' to match the HTML specification.
44-
* [BC BREAK] The typehints on the `Link`, `Form` and `FormField` classes have been changed from
45-
`\DOMNode` to `DOMElement`. Using any other type of `DOMNode` was triggering fatal errors in previous
46-
versions. Code extending these classes will need to update the typehints when overwriting these methods.
42+
* [BC BREAK] The default value for checkbox and radio inputs without a value attribute have changed
43+
from '1' to 'on' to match the HTML specification.
44+
* [BC BREAK] The typehints on the `Link`, `Form` and `FormField` classes have been changed from
45+
`\DOMNode` to `DOMElement`. Using any other type of `DOMNode` was triggering fatal errors in previous
46+
versions. Code extending these classes will need to update the typehints when overwriting these methods.
4747

4848
2.4.0
4949
-----

0 commit comments

Comments
 (0)