Skip to content

Commit

Permalink
Merge pull request #269 from MinnPost/268-actionscheduler-2.2.5
Browse files Browse the repository at this point in the history
update actionscheduler to 2.2.5
  • Loading branch information
jonathanstegall authored May 13, 2019
2 parents 49f6d4f + 95e9965 commit fd66ec7
Show file tree
Hide file tree
Showing 12 changed files with 368 additions and 141 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ To get started quicky, install Object Sync for Salesforce from the [WordPress pl

### Requirements

1. A PHP installation of at least version 5.5.
1. A PHP installation of at least version 5.6.20.
2. A WordPress installation of at least version 4.6.
3. SSL support.
4. A Salesforce account. Developers can register for a free Developer Edition account at [https://developer.salesforce.com/signup](https://developer.salesforce.com/signup)
Expand Down
4 changes: 2 additions & 2 deletions classes/activate.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ private function add_actions() {
* Check for the minimum required version of php
*/
public function php_requirements() {
if ( version_compare( PHP_VERSION, '5.5', '<' ) ) {
if ( version_compare( PHP_VERSION, '5.6.20', '<' ) ) {
deactivate_plugins( plugin_basename( __FILE__ ) );
wp_die( '<strong>This plugin requires PHP Version 5.5</strong> <br />Please contact your host to upgrade PHP on your server, and then retry activating the plugin.' );
wp_die( '<strong>This plugin requires PHP Version 5.6.20</strong> <br />Please contact your host to upgrade PHP on your server, and then retry activating the plugin.' );
}
}

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"config": {
"platform": {
"php": "5.5"
"php": "5.6.20"
}
},
"repositories": [
Expand All @@ -30,10 +30,10 @@
}
],
"require": {
"php": ">=5.5",
"php": ">=5.6",
"pippinsplugins/wp-logging": "dev-master",
"developerforce/force.com-toolkit-for-php": "^1.0@dev",
"prospress/action-scheduler": "^2.2.4"
"prospress/action-scheduler": "^2.2.5"
},
"require-dev": {
"phpunit/phpunit": "^5.0 || ^4.8.10",
Expand Down
Loading

0 comments on commit fd66ec7

Please sign in to comment.