Skip to content

Commit

Permalink
Changed minimum PHP version to 7.3, added new codename
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed Feb 9, 2020
1 parent c21ce6c commit 4dd7ef4
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 28 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
phpMyFAQ 3.0.0
Codename "Phobos"
Codename "Poseidon"

CHANGELOG

This is a log of major user-visible changes in each phpMyFAQ release.

Version 3.1.0-dev
- changed PHP requirement to PHP 7.3+ (Thorsten)

Version 3.0.0 - 2020-02-12
- changed PHP requirement to PHP 7.2+ (Thorsten)
- added PHP namespaces (Thorsten)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# phpMyFAQ 3.1

[![Travis branch](https://img.shields.io/travis/thorsten/phpMyFAQ/3.0.svg?style=flat-square)](https://travis-ci.org/thorsten/phpMyFAQ)
[![Minimum PHP Version](https://img.shields.io/badge/PHP-%3E%3D7.2-%23777BB4.svg?style=flat-square)](https://php.net/)
[![Minimum PHP Version](https://img.shields.io/badge/PHP-%3E%3D7.3-%23777BB4.svg?style=flat-square)](https://php.net/)
[![Slack](https://phpmyfaq.herokuapp.com/badge.svg?style=flat-square)](https://phpmyfaq.herokuapp.com)
[![Greenkeeper badge](https://badges.greenkeeper.io/thorsten/phpMyFAQ.svg)](https://greenkeeper.io/)

## What is phpMyFAQ?

phpMyFAQ is a multilingual, completely database-driven FAQ-system. It supports various databases to store all data, PHP
7.2+ is needed in order to access this data. phpMyFAQ also offers a multi-language Content Management System with a
7.3+ is needed in order to access this data. phpMyFAQ also offers a multi-language Content Management System with a
WYSIWYG editor and an Image Manager, real time search support with Elasticsearch, flexible multi-user support with user
and group based permissions on categories and records, a wiki-like revision feature, a news system, user-tracking, 40+
supported languages, enhanced automatic content negotiation, HTML5/CSS3 based responsive templates, PDF-support, a
Expand All @@ -17,7 +17,7 @@ systems, OpenLDAP and Microsoft Active Directory support, and an easy to use ins

## Requirements

phpMyFAQ is only supported on PHP 7.2 and up, you need a database as well. Supported databases are MySQL, MariaDB,
phpMyFAQ is only supported on PHP 7.3 and up, you need a database as well. Supported databases are MySQL, MariaDB,
Percona Server, PostgreSQL, Microsoft SQL Server and SQLite3. If you want to use Elasticsearch as main search
engine, you need Elasticsearch 5.x or later as well. Check our detailed requirements on
[phpmyfaq.de](https://www.phpmyfaq.de/requirements) for more information.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
}
],
"require": {
"php": ">=7.2.0",
"php": ">=7.3.0",
"phpseclib/phpseclib": "~2.0",
"swiftmailer/swiftmailer": "~5.0",
"erusev/parsedown": "~1.0",
Expand Down
40 changes: 21 additions & 19 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions phpmyfaq/setup/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
define('PMF_SRC_DIR', PMF_ROOT_DIR.'/src');
define('IS_VALID_PHPMYFAQ', null);

if (version_compare(PHP_VERSION, '7.2.0') < 0) {
die('Sorry, but you need PHP 7.2.0 or later!');
if (version_compare(PHP_VERSION, '7.3.0') < 0) {
die('Sorry, but you need PHP 7.3.0 or later!');
}

set_time_limit(0);
Expand Down
2 changes: 1 addition & 1 deletion phpmyfaq/src/phpMyFAQ/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ class Installer
'main.metaKeywords' => '',
'main.metaPublisher' => '__PHPMYFAQ_PUBLISHER__',
'main.send2friendText' => '',
'main.titleFAQ' => 'phpMyFAQ Codename Phobos',
'main.titleFAQ' => 'phpMyFAQ Codename Poseidon',
'main.urlValidateInterval' => '86400',
'main.enableWysiwygEditor' => 'true',
'main.enableWysiwygEditorFrontend' => 'false',
Expand Down
2 changes: 1 addition & 1 deletion phpmyfaq/src/phpMyFAQ/System.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class System
/**
* Minimum required PHP version.
*/
public const VERSION_MINIMUM_PHP = '7.2.0';
public const VERSION_MINIMUM_PHP = '7.3.0';

/**
* Array of required PHP extensions.
Expand Down

0 comments on commit 4dd7ef4

Please sign in to comment.