File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -7,14 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10- ### Changed
10+ ### Added
11+ - Added support for php 7.4.
12+ - Added custom header support for curl request.
13+ - Added gzip detection and decoding.
14+ - Added additional type checking.
1115
16+ ### Changed
1217- Fixed bug with multiple selectors query.
18+ - Updated documentation.
19+ - Fixed issue with Dom object.
1320
14- ## 2.1.0
15-
16- ### Added
17- - Added support for php 7.4
1821
1922## 2.1.0
2023
Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ public function testLoadFromUrl()
224224 $ curl = Mockery::mock ('PHPHtmlParser\CurlInterface ' );
225225 $ curl ->shouldReceive ('get ' )
226226 ->once ()
227- ->with ('http://google.com ' )
227+ ->with ('http://google.com ' , [] )
228228 ->andReturn (file_get_contents ('tests/data/files/small.html ' ));
229229
230230 $ dom = new Dom ;
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public function testLoadFromUrl()
6161 $ curl = Mockery::mock ('PHPHtmlParser\CurlInterface ' );
6262 $ curl ->shouldReceive ('get ' )
6363 ->once ()
64- ->with ('http://google.com ' )
64+ ->with ('http://google.com ' , [] )
6565 ->andReturn (file_get_contents ('tests/data/files/small.html ' ));
6666
6767 Dom::loadFromUrl ('http://google.com ' , [], $ curl );
You can’t perform that action at this time.
0 commit comments