Skip to content

Commit 21a1282

Browse files
Fixes
1 parent 481c758 commit 21a1282

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
php: ['8.2', '8.3', '8.4', '8.5']
14+
php: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5']
1515
symfony: ['5', '6', '7', '8']
1616
exclude:
1717
- php: '7.4'
@@ -95,7 +95,7 @@ jobs:
9595
command: composer update --no-interaction --no-progress
9696

9797
- name: Execute PHPUnit
98-
run: vendor/bin/phpunit --display-deprecations
98+
run: vendor/bin/phpunit
9999
env:
100100
CHROME_PATH: /opt/hostedtoolcache/setup-chrome/chromium/122.0.6261.128/x64/chrome
101101
CHROME_NO_SANDBOX: true

src/Input/KeyboardKeys.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ protected function isKeyPressed(): bool
172172
*/
173173
public function getKeyCode(): int
174174
{
175-
return \ord($this->currentKey);
175+
return \ord($this->currentKey[0]);
176176
}
177177

178178
/**

0 commit comments

Comments
 (0)