Skip to content

Commit

Permalink
Increasing PHP requirements to 5.3.3 refs #6390
Browse files Browse the repository at this point in the history
  • Loading branch information
mattab committed Oct 6, 2014
1 parent b2af823 commit 733ef22
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Piwik is released under the GPL v3 (or later) license, see [misc/gpl-3.0.txt](mi

## Requirements

* PHP 5.3.2 or greater
* PHP 5.3.3 or greater
* MySQL 4.1 or greater, and either MySQLi or PDO library must be enabled
* Piwik is OS / server independent

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
}
},
"require": {
"php": ">=5.3.2",
"php": ">=5.3.3",
"twig/twig": "1.*",
"leafo/lessphp": "0.4",
"symfony/console": ">=v2.3.5",
Expand Down
4 changes: 2 additions & 2 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 core/testMinimumPhpVersion.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

$piwik_errorMessage = '';

// Minimum requirement: stream_resolve_include_path in 5.3.2, namespaces in 5.3
$piwik_minimumPHPVersion = '5.3.2';
// Minimum requirement: stream_resolve_include_path, working json_encode in 5.3.3, namespaces in 5.3
$piwik_minimumPHPVersion = '5.3.3';
$piwik_currentPHPVersion = PHP_VERSION;
$minimumPhpInvalid = version_compare($piwik_minimumPHPVersion, $piwik_currentPHPVersion) > 0;
if ($minimumPhpInvalid) {
Expand Down

0 comments on commit 733ef22

Please sign in to comment.