rackspace/php-cloudfiles — Issue #60: Unit tests under /tests should not be web-runnable
Author: AaronSchulz
Created: 2012-01-25 19:45:11+00:00
State: open

php_sapi_name() checks should be added to the top of these files before anything is ran or code is included. Alternatively, they can require that a constant be defined, which is only defined via some cli-only entry point (which is also protected against being web runnable).