Permalink
Browse files

Remove unnecessary specification of global namespace to support PHP v…

…ersions below 5.3.0.
  • Loading branch information...
1 parent 6fee7e7 commit 721c868367bc32ba3e6fe9e8d2887a403df26bfa @etienne etienne committed Feb 25, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 wordless/process.php
  2. +1 −1 wordless/process_builder.php
View
@@ -23,14 +23,14 @@ class Process
* @param integer $timeout The timeout in seconds
* @param array $options An array of options for proc_open
*
- * @throws \RuntimeException When proc_open is not installed
+ * @throws RuntimeException When proc_open is not installed
*
* @api
*/
public function __construct($commandline, $cwd = null, array $env = null, $stdin = null, $timeout = 60, array $options = array())
{
if (!function_exists('proc_open')) {
- throw new \RuntimeException('The Process class relies on proc_open, which is not available on your PHP installation.');
+ throw new RuntimeException('The Process class relies on proc_open, which is not available on your PHP installation.');
}
$this->commandline = $commandline;
@@ -84,7 +84,7 @@ public function setOption($name, $value)
public function getProcess()
{
if (!count($this->arguments)) {
- throw new \LogicException('You must add() command arguments before calling getProcess().');
+ throw new LogicException('You must add() command arguments before calling getProcess().');
}
$options = $this->options;

0 comments on commit 721c868

Please sign in to comment.