Skip to content

Commit 9617bb2

Browse files
committed
build: upd deps
1 parent 9a59c46 commit 9617bb2

3 files changed

Lines changed: 15 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,22 @@ jobs:
4646
composer-flags: '--prefer-lowest'
4747
job-description: 'Ubuntu; PHP 8.3; lowest-deps'
4848

49+
- operating-system: 'ubuntu-latest'
50+
php-version: '8.4'
51+
job-description: 'Ubuntu; PHP 8.4; latest-deps'
52+
53+
- operating-system: 'ubuntu-latest'
54+
php-version: '8.4'
55+
composer-flags: '--prefer-lowest'
56+
job-description: 'Ubuntu; PHP 8.4; lowest-deps'
57+
4958
- operating-system: 'windows-latest'
50-
php-version: '8.3'
51-
job-description: 'Windows; PHP 8.3; latest-deps'
59+
php-version: '8.4'
60+
job-description: 'Windows; PHP 8.4; latest-deps'
5261

5362
- operating-system: 'macos-latest'
54-
php-version: '8.3'
55-
job-description: 'MacOS; PHP 8.3; latest-deps'
63+
php-version: '8.4'
64+
job-description: 'MacOS; PHP 8.4; latest-deps'
5665

5766

5867
name: ${{ matrix.job-description }}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
],
1515
"require-dev": {
1616
"phpunit/phpunit": "^9.6",
17-
"friendsofphp/php-cs-fixer": "^3.46"
17+
"friendsofphp/php-cs-fixer": "^3.68"
1818
},
1919
"autoload": {
2020
"psr-4": {

src/HTMLValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class HTMLValidator
2020
private Options $options;
2121
private HttpClientInterface $httpClient;
2222

23-
public function __construct(Options $options = null, HttpClientInterface $httpClient = null)
23+
public function __construct(?Options $options = null, ?HttpClientInterface $httpClient = null)
2424
{
2525
$this->options = $options ?: new Options();
2626
if (!$httpClient) {

0 commit comments

Comments
 (0)