Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

Commit 980c4a6

Browse files
committed
fixed constraints
1 parent 412645f commit 980c4a6

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

src/Constraint/JsonContains.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use SebastianBergmann\Comparator\Factory;
88
use Codeception\Util\JsonArray;
99

10-
class JsonContains extends \PHPUnit\Framework\Constraint
10+
class JsonContains extends \PHPUnit\Framework\Constraint\Constraint
1111
{
1212
/**
1313
* @var

src/Constraint/JsonType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Codeception\Util\JsonType as JsonTypeUtil;
66
use Codeception\Util\JsonArray;
77

8-
class JsonType extends \PHPUnit\Framework\Constraint
8+
class JsonType extends \PHPUnit\Framework\Constraint\Constraint
99
{
1010
protected $jsonType;
1111
private $match;

src/Constraint/Page.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
use Codeception\Lib\Console\Message;
55

6-
class Page extends \PHPUnit\Framework\Constraint
6+
class Page extends \PHPUnit\Framework\Constraint\Constraint
77
{
88
protected $uri;
99

src/ResultPrinter/Report.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22
namespace Codeception\PHPUnit\ResultPrinter;
33

4+
use Codeception\Lib\Console\Output;
45
use Codeception\PHPUnit\ConsolePrinter;
56
use Codeception\PHPUnit\ResultPrinter;
67
use Codeception\Test\Descriptor;
@@ -55,4 +56,9 @@ protected function endRun()
5556
public function printResult(\PHPUnit\Framework\TestResult $result)
5657
{
5758
}
59+
60+
public function write($buffer)
61+
{
62+
63+
}
5864
}

0 commit comments

Comments
 (0)