Fix bug in style changes for the Use cases on the live site.
[yaffs-website] / vendor / phpunit / phpunit / src / Framework / Error.php
1 <?php
2 /*
3  * This file is part of PHPUnit.
4  *
5  * (c) Sebastian Bergmann <sebastian@phpunit.de>
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10
11 /**
12  * Wrapper for PHP errors.
13  *
14  * @since Class available since Release 2.2.0
15  */
16 class PHPUnit_Framework_Error extends PHPUnit_Framework_Exception
17 {
18     /**
19      * Constructor.
20      *
21      * @param string    $message
22      * @param int       $code
23      * @param string    $file
24      * @param int       $line
25      * @param Exception $previous
26      */
27     public function __construct($message, $code, $file, $line, Exception $previous = null)
28     {
29         parent::__construct($message, $code, $previous);
30
31         $this->file  = $file;
32         $this->line  = $line;
33     }
34 }