mirror of
https://github.com/filegator/filegator.git
synced 2025-08-10 19:54:33 +02:00
prep for php8, minimum requirements php7.2, phpunit 8
This commit is contained in:
4
.github/workflows/php.yml
vendored
4
.github/workflows/php.yml
vendored
@@ -9,7 +9,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
php-version: ['7.1', '7.2', '7.3', '7.4']
|
||||
php-version: ['7.2', '7.3', '7.4', '8.0']
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -19,7 +19,7 @@ jobs:
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php-version }}
|
||||
extensions: mbstring, zip, sqlite3
|
||||
extensions: mbstring, zip, sqlite3, filter
|
||||
coverage: xdebug
|
||||
|
||||
- name: Install dependencies
|
||||
|
@@ -94,7 +94,7 @@ This is read-only demo with guest account enabled.
|
||||
|
||||
|
||||
## Minimum Requirements
|
||||
- PHP 7.1.3+ (with php-zip extension)
|
||||
- PHP 7.2+ (with php-zip extension)
|
||||
|
||||
See [install instructinos](https://docs.filegator.io/install.html) for Ubuntu 18.04 or Debian 10.3. Get $100 in ([server credits here](https://m.do.co/c/93994ebda78d)) so you can play around.
|
||||
|
||||
|
@@ -5,11 +5,11 @@
|
||||
"type": "project",
|
||||
"config": {
|
||||
"platform": {
|
||||
"php": "7.1.3"
|
||||
"php": "7.2"
|
||||
}
|
||||
},
|
||||
"require": {
|
||||
"php": "^7.1.3",
|
||||
"php": "^7.2",
|
||||
"monolog/monolog": "^1.24",
|
||||
"nikic/fast-route": "^1.3",
|
||||
"symfony/security-csrf": "^4.4",
|
||||
@@ -37,7 +37,7 @@
|
||||
}
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^7.5",
|
||||
"phpunit/phpunit": "^8.0",
|
||||
"symfony/var-dumper": "^4.4",
|
||||
"league/flysystem-memory": "^1.0",
|
||||
"phpstan/phpstan": "^0.11.8"
|
||||
|
2166
composer.lock
generated
2166
composer.lock
generated
File diff suppressed because it is too large
Load Diff
4
dist/index.php
vendored
4
dist/index.php
vendored
@@ -9,8 +9,8 @@
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
if (version_compare(PHP_VERSION, '7.1.3', '<')) {
|
||||
echo 'Minimum requirement is PHP 7.1.3. You are using: '.PHP_VERSION."\n";
|
||||
if (version_compare(PHP_VERSION, '7.2', '<')) {
|
||||
echo 'Minimum requirement is PHP 7.2 You are using: '.PHP_VERSION."\n";
|
||||
die;
|
||||
}
|
||||
|
||||
|
@@ -3,7 +3,7 @@ currentMenu: install
|
||||
---
|
||||
|
||||
## Minimum Requirements
|
||||
- PHP 7.1.3+ (with php-zip extension)
|
||||
- PHP 7.2+ (with php-zip extension)
|
||||
|
||||
|
||||
## Download precompiled build
|
||||
|
Reference in New Issue
Block a user