Skip to content

Commit 92f67c8

Browse files
authored
Merge pull request #15 from ingenerator/support-php84
Support PHP 8.4
2 parents f310e0d + e1a4d89 commit 92f67c8

File tree

4 files changed

+16
-27
lines changed

4 files changed

+16
-27
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ README text eol=lf
3030

3131
# Ignore paths that should not be included in an archive (eg for a distribution version)
3232
/.github export-ignore
33-
/docs export-ignore
3433
/test export-ignore
3534
phpunit.xml export-ignore
3635
koharness.php export-ignore

.github/workflows/test.yaml

Lines changed: 9 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
matrix:
1616
php_version:
1717
- '8.3'
18-
dependencies:
18+
- '8.4'
19+
dependency-versions:
1920
- 'default'
20-
include:
21-
- php_version: '8.3'
22-
dependencies: 'lowest'
21+
- 'lowest'
22+
2323
steps:
2424
- name: Setup PHP
2525
uses: shivammathur/setup-php@v2
@@ -28,29 +28,14 @@ jobs:
2828
tools: composer:v2
2929

3030
- name: Checkout
31-
uses: actions/checkout@v2
32-
33-
- name: Get composer cache directory
34-
id: composer-cache
35-
run: |
36-
echo "::set-output name=dir::$(composer config cache-files-dir)"
37-
- uses: actions/cache@v2
31+
uses: actions/checkout@v4
3832
with:
39-
path: ${{ steps.composer-cache.outputs.dir }}
40-
key: ${{ runner.os }}-composer-${{ matrix.dependencies }}-${{ hashFiles('**/composer.lock') }}
41-
restore-keys: |
42-
${{ runner.os }}-composer-${{ matrix.dependencies }}
33+
show-progress: false
4334

4435
- name: Install composer dependencies
45-
env:
46-
DEPENDENCIES: ${{ matrix.dependencies }}
47-
run: |
48-
if [ $DEPENDENCIES == 'lowest' ]
49-
then
50-
composer update --prefer-lowest --no-interaction --no-progress
51-
else
52-
composer install --no-interaction --no-progress
53-
fi
36+
uses: ramsey/composer-install@v3
37+
with:
38+
dependency-versions: ${{ matrix.dependency-versions }}
5439

5540
- name: Run koharness
5641
run: |

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
### Unreleased
22

3+
### v2.1.0 (2025-07-22)
4+
5+
* Support PHP 8.4
6+
37
### v2.0.1 (2024-12-13)
48

59
* Fix missing imports for behat step definitions broken in 2.0.0

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
"require": {
1515
"composer/installers": "^1.9",
1616
"ezyang/htmlpurifier": "^4.15",
17-
"php": "~8.3.0",
17+
"php": "~8.3.0 || ~8.4.0",
1818
"ingenerator/kohana-core": "^4.7",
1919
"ingenerator/kohana-extras": "^2.0 || ^3.0",
2020
"ingenerator/kohana-view": "^4.4"
2121
},
2222
"require-dev": {
2323
"kohana/koharness": "dev-master",
24-
"phpunit/phpunit": "^11"
24+
"phpunit/phpunit": "^11.5"
2525
},
2626
"repositories": [
2727
{
@@ -36,6 +36,7 @@
3636
},
3737
"config": {
3838
"preferred-install": "dist",
39+
"sort-packages": true,
3940
"allow-plugins": {
4041
"composer/installers": true
4142
}

0 commit comments

Comments
 (0)