prep for php8, minimum requirements php7.2, phpunit 8

This commit is contained in:
Milos Stojanovic
2021-02-04 14:31:41 +01:00
parent cfa32285f6
commit 73ea87a039
6 changed files with 1368 additions and 816 deletions

View File

@@ -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

View File

@@ -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.

View File

@@ -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

File diff suppressed because it is too large Load Diff

4
dist/index.php vendored
View File

@@ -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;
}

View File

@@ -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