Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
subversal
/
video
/
wp-content
/
plugins
/
one-click-demo-import
/
vendor
/
yoast
/
phpunit-polyfills
/
src
/
Exceptions
:
InvalidComparisonMethodException.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Yoast\PHPUnitPolyfills\Exceptions; use Exception; /** * Exception used for all errors throw by the polyfill for the `assertObjectEquals()` assertion. * * PHPUnit natively throws a range of different exceptions. * The polyfill throws just one exception type with different messages. */ final class InvalidComparisonMethodException extends Exception { /** * Convert the Exception object to a string message. * * @return string */ public function __toString() { return $this->getMessage() . \PHP_EOL; } }