Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: http://svn.php.net/repository/pear/packages/PHP_DocBlockGenerator/trunk@320865 c90b9560-bf6c-de11-be94-00142212c4b1
- Loading branch information
Daniel Convissor
committed
Dec 11, 2011
1 parent
61feb82
commit 0c3b2fc
Showing
6 changed files
with
80 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
|
@@ -156,4 +156,4 @@ public function generate($infile, $param = array(), $outfile = '') | ||
} | } | ||
} | } | ||
|
|
||
?> | ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,18 @@ | |||
<?php | |||
|
|||
if ($fp = @fopen('PHPUnit/Autoload.php', 'r', true)) { | |||
require_once 'PHPUnit/Autoload.php'; | |||
} elseif ($fp = @fopen('PHPUnit/Framework.php', 'r', true)) { | |||
require_once 'PHPUnit/Framework.php'; | |||
require_once 'PHPUnit/TextUI/TestRunner.php'; | |||
} else { | |||
die('skip could not find PHPUnit'); | |||
} | |||
fclose($fp); | |||
|
|||
if ('@php_dir@' == '@'.'php_dir'.'@') { | |||
// This package hasn't been installed. | |||
// Adjust path to ensure includes find files in working directory. | |||
set_include_path(dirname(dirname(__FILE__)) | |||
. PATH_SEPARATOR . get_include_path()); | |||
} |