/var/www/vhosts/nabawater/vendor/phpunit/phpunit/src/Framework
NameSizeModeActions
Assert/-0775rm
Constraint/-0775rm
Error/-0775rm
TestSuite/-0775rm
Assert.php896510664editdlrm
AssertionFailedError.php5860664editdlrm
BaseTestListener.php14570664editdlrm
CodeCoverageException.php3150664editdlrm
Constraint.php42940664editdlrm
CoveredCodeNotExecutedException.php4810664editdlrm
Error.php7550664editdlrm
Exception.php22870664editdlrm
ExceptionWrapper.php21510664editdlrm
ExpectationFailedException.php11280664editdlrm
IncompleteTest.php4260664editdlrm
IncompleteTestCase.php15400664editdlrm
IncompleteTestError.php4820664editdlrm
InvalidCoversTargetException.php3340664editdlrm
MissingCoversAnnotationException.php4930664editdlrm
OutputError.php4380664editdlrm
RiskyTest.php3720664editdlrm
RiskyTestError.php4660664editdlrm
SelfDescribing.php4810664editdlrm
SkippedTest.php3450664editdlrm
SkippedTestCase.php14650664editdlrm
SkippedTestError.php4720664editdlrm
SkippedTestSuiteError.php4830664editdlrm
SyntheticError.php14960664editdlrm
Test.php6020664editdlrm
TestCase.php716420664editdlrm
TestFailure.php38470664editdlrm
TestListener.php28170664editdlrm
TestResult.php336990664editdlrm
TestSuite.php284790664editdlrm
UnintentionallyCoveredCodeError.php4650664editdlrm
Warning.php5720664editdlrm
WarningTestCase.php13380664editdlrm
Edit: /var/www/vhosts/nabawater/vendor/phpunit/phpunit/src/Framework/ExceptionWrapper.php (2151B)
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * Wraps Exceptions thrown by code under test. * * Re-instantiates Exceptions thrown by user-space code to retain their original * class names, properties, and stack traces (but without arguments). * * Unlike PHPUnit_Framework_Exception, the complete stack of previous Exceptions * is processed. */ class PHPUnit_Framework_ExceptionWrapper extends PHPUnit_Framework_Exception { /** * @var string */ protected $className; /** * @var PHPUnit_Framework_ExceptionWrapper|null */ protected $previous; /** * @param Throwable|Exception $e */ public function __construct($e) { // PDOException::getCode() is a string. // @see http://php.net/manual/en/class.pdoexception.php#95812 parent::__construct($e->getMessage(), (int) $e->getCode()); $this->className = get_class($e); $this->file = $e->getFile(); $this->line = $e->getLine(); $this->serializableTrace = $e->getTrace(); foreach ($this->serializableTrace as $i => $call) { unset($this->serializableTrace[$i]['args']); } if ($e->getPrevious()) { $this->previous = new self($e->getPrevious()); } } /** * @return string */ public function getClassName() { return $this->className; } /** * @return PHPUnit_Framework_ExceptionWrapper */ public function getPreviousWrapped() { return $this->previous; } /** * @return string */ public function __toString() { $string = PHPUnit_Framework_TestFailure::exceptionToString($this); if ($trace = PHPUnit_Util_Filter::getFilteredStacktrace($this)) { $string .= "\n" . $trace; } if ($this->previous) { $string .= "\nCaused by\n" . $this->previous; } return $string; } }