Corveda / PHPSandbox

A PHP-based sandboxing library with a full suite of configuration and validation options.
https://phpsandbox.org
Other
220 stars 46 forks source link

Type checks in use statements and parameter type hints #10

Open LukasRos opened 7 years ago

LukasRos commented 7 years ago

I've extended the code to check for whitelisted types and interfaces in parameter type hints and use statements. Even though this is not strictly required for practical sandbox constraints; for my use of this library this is very helpful. I'm not sure if this breaks other use cases; if so I can add a switch.

peter279k commented 3 years ago

The tests/DefaultConfigTest.php file has been conflicts and it should be concerned.

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

squash-labs[bot] commented 1 year ago

Manage this branch in Squash

Test this branch here: https://master-63c39.squash.io