Skip to content

Commit e5e7ed6

Browse files
committed
Allow php-cs-fixer to run with PHP 8.0
1 parent d64405d commit e5e7ed6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup PHP
1616
uses: shivammathur/setup-php@v2
1717
with:
18-
php-version: '7.4' # PHP CS Fixer isn't compatible with PHP 8 yet https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/4702
18+
php-version: '8.0'
1919
tools: php-cs-fixer, cs2pr
2020

2121
- name: PHP Coding Standards Fixer

src/DomCrawler/Form.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@ public function set(FormField $field): void
219219
}
220220

221221
/**
222+
* @param mixed $name
223+
*
222224
* @return FormField|FormField[]|FormField[][]
223225
*/
224226
#[\ReturnTypeWillChange]

0 commit comments

Comments
 (0)