Skip to content

Commit f1b10c6

Browse files
committed
Attempt 2
1 parent 1833ef6 commit f1b10c6

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/php.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,20 +74,19 @@ jobs:
7474
coverage: pcov
7575
tools: composer:v2
7676

77-
- name: Require specific symfony/yaml version
78-
run: "composer require symfony/yaml:'${{ matrix.symfony-yaml }}' --no-interaction --ansi --no-install"
79-
80-
- name: Require newer phpunit/phpunit version
81-
run: "composer require phpunit/phpunit '^9.5' --dev --no-interaction --ansi --no-install"
82-
if: matrix.php == '8.1' || matrix.php == '8.2' || matrix.php == '8.3'
83-
8477
# ✅ Fix for Windows: enable sockets if missing
8578
- name: Enable sockets on Windows
8679
if: runner.os == 'Windows'
8780
run: |
8881
echo "extension=sockets" | Out-File -Append "C:\tools\php\php.ini"
8982
php -m | findstr sockets || (echo "sockets not enabled" && exit 1)
9083
84+
- name: Require specific symfony/yaml version
85+
run: "composer require symfony/yaml:'${{ matrix.symfony-yaml }}' --no-interaction --ansi --no-install"
86+
87+
- name: Require newer phpunit/phpunit version
88+
run: "composer require phpunit/phpunit '^9.5' --dev --no-interaction --ansi --no-install"
89+
if: matrix.php == '8.1' || matrix.php == '8.2' || matrix.php == '8.3'
9190

9291
- name: "Install dependencies with Composer"
9392
uses: "ramsey/composer-install@v2"

0 commit comments

Comments
 (0)