Browse Source

[Process] use component exception

Johannes M. Schmitt 14 years ago
parent
commit
8132102237
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Symfony/Component/Process/PhpExecutableFinder.php

+ 2 - 2
src/Symfony/Component/Process/PhpExecutableFinder.php

@@ -11,7 +11,7 @@
 
 namespace Symfony\Component\Process;
 
-use Symfony\Component\Process\Exception\ExecutableNotFoundException;
+use Symfony\Component\Process\Exception\RuntimeException;
 
 /**
  * An executable finder specifically designed for the PHP executable.
@@ -32,7 +32,7 @@ class PhpExecutableFinder
     {
         if ($php = getenv('PHP_PATH')) {
             if (!is_executable($php)) {
-                throw new \RuntimeException('The defined PHP_PATH environment variable is not a valid PHP executable.');
+                throw new RuntimeException('The defined PHP_PATH environment variable is not a valid PHP executable.');
             }
 
             return $php;