Skip to content

Commit 83cbd9c

Browse files
authored
Merge pull request #40630 from nextcloud/enh/enable-php-8.3
2 parents ee590ab + 7e0ed6b commit 83cbd9c

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/lint-php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626
strategy:
2727
matrix:
28-
php-versions: [ "8.0", "8.1", "8.2" ]
28+
php-versions: [ "8.0", "8.1", "8.2", "8.3" ]
2929

3030
name: php-lint
3131

.github/workflows/phpunit-32bits.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
strategy:
2828
matrix:
29-
php-versions: ['8.0']
29+
php-versions: ['8.0','8.3']
3030

3131
steps:
3232
- name: Checkout server
@@ -40,15 +40,15 @@ jobs:
4040
sudo apt-get install -y ffmpeg imagemagick libmagickcore-6.q16-3-extra
4141
4242
- name: Set up php ${{ matrix.php-versions }}
43-
uses: shivammathur/setup-php@9c77701ae57b0c47f6732beebfbdec76e4e5c90a #debian bookworm fix
43+
uses: shivammathur/setup-php@72ae4ccbe57f82bbe08411e84e2130bd4ba1c10f #v2.25.5
4444
with:
4545
php-version: ${{ matrix.php-versions }}
4646
extensions: ctype, curl, dom, fileinfo, gd, imagick, intl, json, mbstring, openssl, pdo_sqlite, posix, sqlite, xml, zip, apcu
4747
tools: phpunit:9
4848
coverage: none
49+
ini-file: development
4950
ini-values:
50-
apc.enabled=on,
51-
apc.enable_cli=on
51+
apc.enabled=on, apc.enable_cli=on, disable_functions= # https://github.com/shivammathur/setup-php/discussions/573
5252
env:
5353
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5454

lib/versioncheck.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@
3333
exit(1);
3434
}
3535

36-
// Show warning if >= PHP 8.3 is used as Nextcloud is not compatible with >= PHP 8.3 for now
37-
if (PHP_VERSION_ID >= 80300) {
36+
// Show warning if >= PHP 8.4 is used as Nextcloud is not compatible with >= PHP 8.4 for now
37+
if (PHP_VERSION_ID >= 80400) {
3838
http_response_code(500);
39-
echo 'This version of Nextcloud is not compatible with PHP>=8.3.<br/>';
39+
echo 'This version of Nextcloud is not compatible with PHP>=8.4.<br/>';
4040
echo 'You are currently running ' . PHP_VERSION . '.';
4141
exit(1);
4242
}

0 commit comments

Comments
 (0)