Skip to content

Commit 9c1193f

Browse files
committed
Rename folders and config to be more psr-12 compliant
1 parent 8049843 commit 9c1193f

File tree

6 files changed

+13
-36
lines changed

6 files changed

+13
-36
lines changed

codeception.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
actor: Tester
1+
actor_suffix: Tester
2+
namespace: Tests
3+
support_namespace: Support
24
bootstrap: bootstrap.php
35
paths:
46
tests: tests
57
output: tests/_output
6-
data: tests/_data
7-
support: tests/_support
8+
data: tests/Support/Data
9+
support: tests/Support
810
envs: tests/_envs
911
settings:
1012
colors: true

tests/_support/Helper/Unit.php tests/Support/Helper/Unit.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace Helper;
2+
namespace Tests\Support\Helper;
33

44
// here you can define custom actions
55
// all public methods declared in helper class will be available in $I

tests/_support/UnitTester.php tests/Support/UnitTester.php

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?php
22

3+
namespace Tests\Support;
34

45
/**
56
* Inherited Methods
@@ -15,12 +16,12 @@
1516
* @method \Codeception\Lib\Friend haveFriend($name, $actorClass = NULL)
1617
*
1718
* @SuppressWarnings(PHPMD)
18-
*/
19+
*/
1920
class UnitTester extends \Codeception\Actor
2021
{
2122
use _generated\UnitTesterActions;
2223

23-
/**
24-
* Define custom actions here
25-
*/
24+
/**
25+
* Define custom actions here
26+
*/
2627
}

tests/_support/E2eTester.php

-26
This file was deleted.

tests/unit.suite.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ modules:
55
configFile: 'tests/unit/config.php'
66
part: init
77
- Asserts
8-
- \Helper\Unit
8+
- Tests\Support\Helper\Unit

tests/unit/SentryTargetTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Sil\Sentry\tests\unit;
3+
namespace Sil\Sentry\tests\Unit;
44

55
use Codeception\Test\Unit;
66
use ReflectionClass;

0 commit comments

Comments
 (0)