Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/grumphp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['8.1', '8.2', '8.3', '8.4']
php-versions: ['8.3', '8.4', '8.5']
composer-options: ['', '--prefer-lowest']
fail-fast: false
name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }} with ${{ matrix.composer-options }}
Expand All @@ -21,7 +21,7 @@ jobs:
tools: 'composer:v2'
extensions: pcov, mbstring, posix
- name: Set env vars for latest PHP version
if: matrix.php-versions == '8.4'
if: matrix.php-versions == '8.5'
run: |
export COMPOSER_IGNORE_PLATFORM_REQ=php+
export BOX_REQUIREMENT_CHECKER=0
Expand All @@ -34,7 +34,7 @@ jobs:
id: composercache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ steps.composercache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
Expand All @@ -47,6 +47,5 @@ jobs:
git config --global user.name "Your Name"
- name: Run the tests
run: php vendor/bin/grumphp run --no-interaction
continue-on-error: ${{ matrix.php-versions == '8.1' && matrix.composer-options == '--prefer-lowest' }}
env:
PHP_CS_FIXER_IGNORE_ENV: 1
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"description": "RFC7807 Problem details implementation",
"type": "library",
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.13",
"phpro/grumphp-shim": "^2.10",
"php-cs-fixer/shim": "^3.88",
"phpro/grumphp-shim": "^2.17",
"phpspec/phpspec": "^7.2",
"symfony/validator": "^5.4 || ^6.0 || ^7.0",
"sebastian/comparator": "^4.0"
Expand All @@ -17,7 +17,7 @@
}
],
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0"
"php": "~8.3.0 || ~8.4.0 || ~8.5.0"
},
"config": {
"sort-packages": true,
Expand Down
Loading