From 744cfd50fb153d42cad9b978a1acd3b49b23725b Mon Sep 17 00:00:00 2001 From: Elijah Horton Date: Thu, 19 Jun 2014 11:54:38 -0400 Subject: [PATCH] - Updated documentation --- CHANGELOG.md | 1 + MANUAL.html | 131 ++++++++++++- README.md | 2 +- src/Error.php | 2 +- src/PHPSandbox.php | 172 +----------------- src/SandboxWhitelistVisitor.php | 2 +- src/SandboxedString.php | 2 +- src/ValidatorVisitor.php | 2 +- src/WhitelistVisitor.php | 2 +- .../Tests/Config/DefaultConfigTest.php | 7 + 10 files changed, 150 insertions(+), 173 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 32d6d96..2cac5c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Added flags to enable/disable validation checks for every type (for example, this will help in situations where someone wants to enable all functions but not blacklist a fake function name to remove the function whitelist.) Disabling a validation check also ignores any custom validation check for that type! - Fixed issue with toolkit giving incorrect error and exception messages - Added ability for sandbox to overwrite static type hints that are redefined to other class names (NOTE: All statically referenced class/interface/trait names are treated as classes by the parser and the sandbox, therefore they must be redefined via define_class()) +- Updated documentation ##05/06/2014 - Corrected defined alias case-sensitivity issue (see: issue #10) diff --git a/MANUAL.html b/MANUAL.html index 6111d54..a74bd04 100644 --- a/MANUAL.html +++ b/MANUAL.html @@ -34,7 +34,7 @@

1 - About PHPSandbox & PHPSandbox Toolkit


- PHPSandbox Toolkit 1.3.6 + PHPSandbox Toolkit 1.3.7


Developed by: Elijah Horton @@ -120,6 +120,135 @@

Options

$sandbox->set_option('allow_functions', false);

Option Descriptions