Skip to content

Commit

Permalink
Bump dependencies and PHP requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
christeredvartsen committed Jan 23, 2023
1 parent d4b131a commit c5655b3
Show file tree
Hide file tree
Showing 4 changed files with 611 additions and 658 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-20.04']
php: ['7.4', '8.0']
os: ['ubuntu-22.04']
php: ['8.1', '8.2']
name: Run CI build
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}

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

- name: PHP version
run: |
Expand All @@ -27,12 +27,11 @@ jobs:

- name: Get Composer Cache Directory
id: composer-cache-dir
run: |
echo "::set-output name=dir::$(composer config cache-files-dir)"
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ steps.composer-cache-dir.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Virtual filesystem for PHP for use with testing, implemented using a stream wrap

## Requirements

This library requires PHP >= 7.4.
This library requires PHP >= 8.1.

## Installation

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
}
],
"require": {
"php": ">=7.4"
"php": ">=8.1"
},
"require-dev": {
"phpunit/phpunit": "^9.4",
"psalm/plugin-phpunit": "^0.16.1",
"vimeo/psalm": "^4.1"
"psalm/plugin-phpunit": "^0.18.4",
"vimeo/psalm": "^5.5"
},
"support": {
"issues": "https://github.com/christeredvartsen/testfs/issues"
Expand Down
Loading

0 comments on commit c5655b3

Please # to comment.