Min php version set to 8.1 (#512)

* Min php version set to 8.1

* Run CI on supported version only
This commit is contained in:
Kobi Zaltzberg 2024-12-13 10:24:07 +02:00 committed by GitHub
parent f757fcdec2
commit 9216add5bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 247 additions and 1384 deletions

View File

@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
php-version: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
php-version: ['8.1', '8.2', '8.3']
steps:
- name: Checkout

View File

@ -1,7 +1,7 @@
FROM php:8.3-bullseye
FROM php:8.3
RUN apt-get update > /dev/null
RUN apt-get install -y nodejs npm libzip-dev libgtk2.0-0 libgtk-3-0 libgbm-dev libldap2-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb
RUN apt-get install -y nodejs npm libldap2-dev libzip-dev
RUN docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/
RUN docker-php-ext-install zip ldap

View File

@ -5,11 +5,11 @@
"type": "project",
"config": {
"platform": {
"php": "7.2.5"
"php": "8.1"
}
},
"require": {
"php": "^7.2",
"php": "^8.1",
"monolog/monolog": "^1.24",
"nikic/fast-route": "^1.3",
"symfony/security-csrf": "^4.4",
@ -40,6 +40,6 @@
"phpunit/phpunit": "^8.0",
"symfony/var-dumper": "^4.4",
"league/flysystem-memory": "^1.0",
"phpstan/phpstan": "^0.11.8"
"phpstan/phpstan": "^2.0.3"
}
}

1615
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -10,8 +10,8 @@ visit: http://127.0.0.1:8080 login as admin/admin123
```
## Minimum Requirements
- PHP 7.2.5+ (with php-zip extension)
- Node v12 or v14
- PHP 8.1+ (with php-zip extension)
- Node 12 - 22
## Download precompiled build
Precompiled build is created for non-developers. In this version, the frontend (html, css and javascript) is compiled for you and the source code is removed so the final archive contains only minimum files.