X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fphpunit%2Fphpunit%2Fsrc%2FFramework%2FError.php;fp=vendor%2Fphpunit%2Fphpunit%2Fsrc%2FFramework%2FError.php;h=9e793fdd35ef04cc98cc6b88eef3deed10d6e4b8;hp=0000000000000000000000000000000000000000;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad diff --git a/vendor/phpunit/phpunit/src/Framework/Error.php b/vendor/phpunit/phpunit/src/Framework/Error.php new file mode 100644 index 000000000..9e793fdd3 --- /dev/null +++ b/vendor/phpunit/phpunit/src/Framework/Error.php @@ -0,0 +1,34 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +/** + * Wrapper for PHP errors. + * + * @since Class available since Release 2.2.0 + */ +class PHPUnit_Framework_Error extends PHPUnit_Framework_Exception +{ + /** + * Constructor. + * + * @param string $message + * @param int $code + * @param string $file + * @param int $line + * @param Exception $previous + */ + public function __construct($message, $code, $file, $line, Exception $previous = null) + { + parent::__construct($message, $code, $previous); + + $this->file = $file; + $this->line = $line; + } +}