Skip to content

Commit

Permalink
Merge pull request #545 from swissspidy/add/php83
Browse files Browse the repository at this point in the history
Improve PHP 8.3 Support
  • Loading branch information
westonruter authored Nov 27, 2023
2 parents c79a0fe + 6b7d444 commit 391740f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['8.1','8.0', '7.4', '7.3', '7.2', '7.1', '7.0', '5.6']
php: ['8.2', '8.1', '7.4', '7.3', '7.2', '7.1', '7.0', '5.6']
coverage: [false]
random: [false]
include:
- php: '8.0'
coverage: true
- php: '8.0'
random: true
- php: '8.2'
- php: '8.3'
experimental: true

steps:
Expand Down
1 change: 1 addition & 0 deletions src/Dom/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ private function reset()
* parameters if an int or string is passed. Defaults to an empty array.
* @return bool true on success or false on failure.
*/
#[\ReturnTypeWillChange]
public function loadHTML($source, $options = [])
{
$source = $this->normalizeDocumentStructure($source);
Expand Down

0 comments on commit 391740f

Please sign in to comment.