Skip to content

Commit 78582ea

Browse files
committed
Fix constraint names
1 parent e2fa224 commit 78582ea

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Codeception/Constraint/CrawlerNot.php

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

33
declare(strict_types=1);
44

5-
namespace Codeception\PHPUnit\Constraint;
5+
namespace Codeception\Constraint;
66

77
use PHPUnit\Framework\ExpectationFailedException;
88
use SebastianBergmann\Comparator\ComparisonFailure;

src/Codeception/Lib/InnerBrowser.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
namespace Codeception\Lib;
66

7+
use Codeception\Constraint\Crawler as CrawlerConstraint;
8+
use Codeception\Constraint\CrawlerNot as CrawlerNotConstraint;
9+
use Codeception\Constraint\Page as PageConstraint;
710
use Codeception\Exception\ElementNotFound;
811
use Codeception\Exception\ExternalUrlException;
912
use Codeception\Exception\MalformedLocatorException;
@@ -14,9 +17,6 @@
1417
use Codeception\Lib\Interfaces\PageSourceSaver;
1518
use Codeception\Lib\Interfaces\Web;
1619
use Codeception\Module;
17-
use Codeception\PHPUnit\Constraint\Crawler as CrawlerConstraint;
18-
use Codeception\PHPUnit\Constraint\CrawlerNot as CrawlerNotConstraint;
19-
use Codeception\PHPUnit\Constraint\Page as PageConstraint;
2020
use Codeception\Test\Descriptor;
2121
use Codeception\TestInterface;
2222
use Codeception\Util\HttpCode;

0 commit comments

Comments
 (0)