Skip to content

Commit 5403bf7

Browse files
PHP8.4 support
1 parent f8dec27 commit 5403bf7

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
php-version: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
14+
php-version: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
1515
os: [ubuntu-latest, macOS-latest, windows-latest]
1616
runs-on: ${{ matrix.os }}
1717
steps:
@@ -21,7 +21,7 @@ jobs:
2121
git config --global core.symlinks true
2222
if: runner.os == 'Windows'
2323

24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525

2626
- name: Setup PHP${{ matrix.php-version }}@${{ matrix.os }}
2727
uses: shivammathur/setup-php@v2
@@ -40,7 +40,7 @@ jobs:
4040
- name: Cache dependencies on PHP(=7.1)@${{ matrix.os }}
4141
if: matrix.php-version == '7.1'
4242
id: dependencies-cache-71
43-
uses: actions/cache@v3
43+
uses: actions/cache@v4
4444
with:
4545
path: ${{ steps.composer-cache.outputs.dir }}
4646
key: ${{ matrix.os }}-php${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}
@@ -50,7 +50,7 @@ jobs:
5050
- name: Cache dependencies on PHP(=7.2)@${{ matrix.os }}
5151
if: matrix.php-version == '7.2'
5252
id: dependencies-cache-72
53-
uses: actions/cache@v3
53+
uses: actions/cache@v4
5454
with:
5555
path: ${{ steps.composer-cache.outputs.dir }}
5656
key: ${{ matrix.os }}-php${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}
@@ -60,7 +60,7 @@ jobs:
6060
- name: Cache dependencies on PHP(>7.2)@${{ matrix.os }}
6161
if: matrix.php-version > 7.2
6262
id: dependencies-cache
63-
uses: actions/cache@v3
63+
uses: actions/cache@v4
6464
with:
6565
path: ${{ steps.composer-cache.outputs.dir }}
6666
key: ${{ matrix.os }}-php-${{ hashFiles('**/composer.lock') }}
@@ -89,6 +89,10 @@ jobs:
8989
if: 8.1 < matrix.php-version && matrix.php-version < '8.4'
9090
id: phpstan-php-8_2-8_3
9191

92+
- run: vendor/bin/phpstan analyse --no-progress --memory-limit=-1 -c phpstan.v8.4.neon
93+
if: matrix.php-version == '8.4'
94+
id: phpstan-php-8_4
95+
9296
- run: |
9397
make keygen
9498
make x509crt

phpstan.v8.4.neon

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
includes:
2+
- phpstan.v8.2.neon
3+
parameters:
4+
ignoreErrors:
5+
-
6+
message: "#^(?:Left|Right) side of && is always true#"
7+
path: src/Crypto/Hash.php

0 commit comments

Comments
 (0)