Skip to content

Commit

Permalink
PHP8.4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNorthMemory committed Sep 5, 2024
1 parent f8dec27 commit 5403bf7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
php-version: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
os: [ubuntu-latest, macOS-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -21,7 +21,7 @@ jobs:
git config --global core.symlinks true
if: runner.os == 'Windows'

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup PHP${{ matrix.php-version }}@${{ matrix.os }}
uses: shivammathur/setup-php@v2
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Cache dependencies on PHP(=7.1)@${{ matrix.os }}
if: matrix.php-version == '7.1'
id: dependencies-cache-71
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ matrix.os }}-php${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}
Expand All @@ -50,7 +50,7 @@ jobs:
- name: Cache dependencies on PHP(=7.2)@${{ matrix.os }}
if: matrix.php-version == '7.2'
id: dependencies-cache-72
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ matrix.os }}-php${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}
Expand All @@ -60,7 +60,7 @@ jobs:
- name: Cache dependencies on PHP(>7.2)@${{ matrix.os }}
if: matrix.php-version > 7.2
id: dependencies-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ matrix.os }}-php-${{ hashFiles('**/composer.lock') }}
Expand Down Expand Up @@ -89,6 +89,10 @@ jobs:
if: 8.1 < matrix.php-version && matrix.php-version < '8.4'
id: phpstan-php-8_2-8_3

- run: vendor/bin/phpstan analyse --no-progress --memory-limit=-1 -c phpstan.v8.4.neon
if: matrix.php-version == '8.4'
id: phpstan-php-8_4

- run: |
make keygen
make x509crt
Expand Down
7 changes: 7 additions & 0 deletions phpstan.v8.4.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
includes:
- phpstan.v8.2.neon
parameters:
ignoreErrors:
-
message: "#^(?:Left|Right) side of && is always true#"
path: src/Crypto/Hash.php

0 comments on commit 5403bf7

Please sign in to comment.