mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00:00
Support PHP 8.3, no longer support PHP 8.1
This commit is contained in:
parent
97ecbd25b6
commit
ee01f41979
@ -47,8 +47,8 @@ See the website for more installation guides and troubleshooting help. → [h
|
|||||||
|
|
||||||
### Platform support
|
### Platform support
|
||||||
|
|
||||||
- PHP 8.1 or 8.2 (with SQLite 3.34.0+)
|
- PHP 8.2 or 8.3 (with SQLite 3.34.0+)
|
||||||
- Required PHP extensions: `fileinfo`, `pdo_sqlite`, `gd`, `ctype`, `json`, `intl`, `zlib`, `mbstring`
|
- Required PHP extensions: `fileinfo`, `pdo_sqlite`, `gd`, `ctype`, `intl`, `zlib`, `mbstring`
|
||||||
- _Recommendation: Benchmark tests showed that e.g. unit conversion handling is up to 5 times faster when using a more recent (3.39.4+) SQLite version._
|
- _Recommendation: Benchmark tests showed that e.g. unit conversion handling is up to 5 times faster when using a more recent (3.39.4+) SQLite version._
|
||||||
- Recent Firefox, Chrome or Edge
|
- Recent Firefox, Chrome or Edge
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
> ⚠️ xxxBREAKING CHANGESxxx
|
> 💡 PHP 8.3 is from now on (additionally to PHP 8.2) supported.
|
||||||
|
>
|
||||||
|
> ⚠️ PHP 8.1 is no longer supported.
|
||||||
|
|
||||||
> ❗ xxxImportant upgrade informationXXX
|
> ❗ xxxImportant upgrade informationXXX
|
||||||
|
|
||||||
> 💡 xxxMinor upgrade informationXXX
|
|
||||||
|
|
||||||
### New feature: xxxx
|
### New feature: xxxx
|
||||||
|
|
||||||
- xxx
|
- xxx
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=8.1",
|
"php": ">=8.2",
|
||||||
"slim/slim": "^4.0",
|
"slim/slim": "^4.0",
|
||||||
"slim/psr7": "^1.0",
|
"slim/psr7": "^1.0",
|
||||||
"slim/http": "^1.0",
|
"slim/http": "^1.0",
|
||||||
|
@ -4,12 +4,13 @@ class ERequirementNotMet extends Exception
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
const REQUIRED_PHP_EXTENSIONS = ['fileinfo', 'pdo_sqlite', 'gd', 'ctype', 'json', 'intl', 'zlib', 'mbstring',
|
const REQUIRED_PHP_EXTENSIONS = ['fileinfo', 'pdo_sqlite', 'gd', 'ctype', 'intl', 'zlib', 'mbstring',
|
||||||
|
|
||||||
// These are core extensions, so normally can't be missing, but seems to be the case, however, on FreeBSD
|
// These are core extensions, so normally can't be missing, but seems to be the case, however, on FreeBSD
|
||||||
'filter', 'iconv', 'tokenizer'
|
'filter', 'iconv', 'tokenizer', 'json'
|
||||||
];
|
];
|
||||||
|
|
||||||
const REQUIRED_PHP_VERSION = '8.1.0';
|
const REQUIRED_PHP_VERSION = '8.2.0';
|
||||||
const REQUIRED_SQLITE_VERSION = '3.34.0';
|
const REQUIRED_SQLITE_VERSION = '3.34.0';
|
||||||
|
|
||||||
class PrerequisiteChecker
|
class PrerequisiteChecker
|
||||||
|
Loading…
x
Reference in New Issue
Block a user