From d6550017196f06a2f966a54d3855578453251d84 Mon Sep 17 00:00:00 2001 From: Bernhard Reiter Date: Thu, 2 Apr 2015 18:08:46 +0200 Subject: [PATCH] Require PHP >= 5.4 We need PHP 5.4 or later so $this references inside closures work, which we require for checks as they use $this->add_error(). --- .travis.yml | 2 +- readme.md | 2 +- readme.txt | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b547f88..1159320 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: php php: - - 5.3 + - 5.4 - 5.5 env: diff --git a/readme.md b/readme.md index 8c5b683..64078e3 100644 --- a/readme.md +++ b/readme.md @@ -4,7 +4,7 @@ A WordPress plugin that enables you to scan all sorts of themes and files and th Contributors: [Mohammad Jangda](http://profiles.wordpress.org/batmoo/), [Automattic](http://profiles.wordpress.org/automattic/), [Thorsten Ott](http://profiles.wordpress.org/tott/), [Michael Fields](http://profiles.wordpress.org/mfields/), [Filipe Varela](http://profiles.wordpress.org/keoshi/), [Josh Betz](http://profiles.wordpress.org/betzster/), [Mike Blouin](https://github.com/Mobius5150), [Nick Daugherty](http://profiles.wordpress.org/nickdaugherty/) and [Fränk Klein](https://profiles.wordpress.org/frank-klein/). -Requires WordPress version 3.4 or greater. +Requires WordPress version 3.4 or greater and PHP >= 5.4. About diff --git a/readme.txt b/readme.txt index c36eafb..adcdec0 100644 --- a/readme.txt +++ b/readme.txt @@ -17,6 +17,8 @@ This plugin is based on code from the