Skip to content

Commit

Permalink
fixed constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
DavertMik committed Feb 18, 2018
1 parent 412645f commit 980c4a6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Constraint/JsonContains.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use SebastianBergmann\Comparator\Factory;
use Codeception\Util\JsonArray;

class JsonContains extends \PHPUnit\Framework\Constraint
class JsonContains extends \PHPUnit\Framework\Constraint\Constraint
{
/**
* @var
Expand Down
2 changes: 1 addition & 1 deletion src/Constraint/JsonType.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Codeception\Util\JsonType as JsonTypeUtil;
use Codeception\Util\JsonArray;

class JsonType extends \PHPUnit\Framework\Constraint
class JsonType extends \PHPUnit\Framework\Constraint\Constraint
{
protected $jsonType;
private $match;
Expand Down
2 changes: 1 addition & 1 deletion src/Constraint/Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

use Codeception\Lib\Console\Message;

class Page extends \PHPUnit\Framework\Constraint
class Page extends \PHPUnit\Framework\Constraint\Constraint
{
protected $uri;

Expand Down
6 changes: 6 additions & 0 deletions src/ResultPrinter/Report.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
namespace Codeception\PHPUnit\ResultPrinter;

use Codeception\Lib\Console\Output;
use Codeception\PHPUnit\ConsolePrinter;
use Codeception\PHPUnit\ResultPrinter;
use Codeception\Test\Descriptor;
Expand Down Expand Up @@ -55,4 +56,9 @@ protected function endRun()
public function printResult(\PHPUnit\Framework\TestResult $result)
{
}

public function write($buffer)
{

}
}

0 comments on commit 980c4a6

Please sign in to comment.