Skip to content

Commit 79103a4

Browse files
committed
Fix code style
1 parent 93eaa16 commit 79103a4

File tree

5 files changed

+16
-1
lines changed

5 files changed

+16
-1
lines changed

phpcs.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0"?>
2+
<ruleset name="Codeception">
3+
<description>Codeception code standard</description>
4+
<rule ref="PSR12">
5+
<exclude name="PSR2.Methods.MethodDeclaration.Underscore"/>
6+
</rule>
7+
</ruleset>

src/Lib/Interfaces/PageSourceSaver.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
// phpcs:disable Generic.Files.LineLength.TooLong
4+
35
namespace Codeception\Lib\Interfaces;
46

57
interface PageSourceSaver

src/Lib/Interfaces/Web.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
// phpcs:disable Generic.Files.LineLength.TooLong
4+
35
namespace Codeception\Lib\Interfaces;
46

57
interface Web

tests/Util/LocatorTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22

33
declare(strict_types=1);
44

5+
namespace Tests\Codeception\Util;
6+
57
use Codeception\Util\Locator;
68
use Facebook\WebDriver\WebDriverBy;
79
use PHPUnit\Framework\TestCase;
10+
use SimpleXMLElement;
811

912
class LocatorTest extends TestCase
1013
{

tests/Util/UriTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
declare(strict_types=1);
44

5-
namespace Codeception\Util;
5+
namespace Tests\Codeception\Util;
66

7+
use Codeception\Util\Uri;
78
use PHPUnit\Framework\TestCase;
89

910
class UriTest extends TestCase

0 commit comments

Comments
 (0)