Skip to content
This repository has been archived by the owner on Jul 20, 2018. It is now read-only.

Commit

Permalink
Require PHP >= 5.4
Browse files Browse the repository at this point in the history
We need PHP 5.4 or later so $this references inside closures work, which we require for checks as they use $this->add_error().
  • Loading branch information
ockham committed Apr 2, 2015
1 parent 7ef01b2 commit d655001
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: php

php:
- 5.3
- 5.4
- 5.5

env:
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ This plugin is based on code from the <a href="http://wordpress.org/extend/plugi

== Requirements ==

VIP Scanner requires PHP >= 5.4.

For parsing PHP files, VIP Scanner uses [PHP-Parser](https://github.com/nikic/PHP-Parser),
which it includes as a git submodule. When cloning VIP Scanner's git repo, use
the `--recursive` parameter to include PHP-Parser, i.e.
Expand Down

0 comments on commit d655001

Please sign in to comment.