Skip to content

Commit

Permalink
Merge pull request #2 from crodg-dev/add-support
Browse files Browse the repository at this point in the history
Add support to PHP 8.4
  • Loading branch information
cesargb authored Nov 28, 2024
2 parents e5aecab + 1080aed commit 5759457
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/analyse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
php-version: 8.4

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-php-8.3-${{ hashFiles('**/composer.json') }}
key: ${{ runner.os }}-php-8.4-${{ hashFiles('**/composer.json') }}
restore-keys: |
${{ runner.os }}-php-8.3-
${{ runner.os }}-php-8.4-
- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/fix_style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
php-version: 8.4

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-php-8.3-${{ hashFiles('**/composer.json') }}
key: ${{ runner.os }}-php-8.4-${{ hashFiles('**/composer.json') }}
restore-keys: |
${{ runner.os }}-php-8.3-
${{ runner.os }}-php-8.4-
- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [8.0, 8.1, 8.2, 8.3]
php: [8.2, 8.3, 8.4]

steps:
- name: Checkout code
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dev"
],
"require": {
"php": "^8.0"
"php": "^8.2"
},
"homepage": "https://github.com/descom-es/php-dev",
"license": "MIT",
Expand Down Expand Up @@ -41,4 +41,4 @@
"suggest": {
"friendsofphp/php-cs-fixer": "Required to apply styles"
}
}
}

0 comments on commit 5759457

Please sign in to comment.