Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Sync sebastianbergmann/phpunit@b8b3e1f

  • Loading branch information...
commit 8c53794bec89a71790156c024a0a3c1e1a9777b5 1 parent 71f7074
Sebastian Bergmann authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 PHPUnit/Framework/MockObject/Invocation/Static.php
6 PHPUnit/Framework/MockObject/Invocation/Static.php
View
@@ -42,6 +42,8 @@
* @since File available since Release 1.0.0
*/
+use SebastianBergmann\Exporter\Exporter;
+
/**
* Represents a static invocation.
*
@@ -123,6 +125,8 @@ public function __construct($className, $methodName, array $parameters, $cloneOb
*/
public function toString()
{
+ $exporter = new Exporter;
+
return sprintf(
"%s::%s(%s)",
@@ -131,7 +135,7 @@ public function toString()
join(
', ',
array_map(
- array('PHPUnit_Util_Type', 'shortenedExport'),
+ array($exporter, 'shortenedExport'),
$this->parameters
)
)
Please sign in to comment.
Something went wrong with that request. Please try again.