From 4e1e824b831d46c56a8f523421773ae83a1810fa Mon Sep 17 00:00:00 2001 From: Ilian Ranguelov Date: Fri, 3 Apr 2020 20:27:38 +0200 Subject: [PATCH] apply PSR-4 to tests --- codeception.yml | 2 +- composer.json | 2 +- phpcs.xml.dist | 4 ++-- tests/{_support => }/AcceptanceTester.php | 0 tests/{_support => }/Helper/Acceptance.php | 0 tests/{_support => }/_generated/.gitignore | 0 6 files changed, 4 insertions(+), 4 deletions(-) rename tests/{_support => }/AcceptanceTester.php (100%) rename tests/{_support => }/Helper/Acceptance.php (100%) rename tests/{_support => }/_generated/.gitignore (100%) diff --git a/codeception.yml b/codeception.yml index 405575a..20842c5 100644 --- a/codeception.yml +++ b/codeception.yml @@ -3,7 +3,7 @@ paths: tests: tests output: tests/_output data: tests/_data - support: tests/_support + support: tests envs: tests/_envs actor_suffix: Tester extensions: diff --git a/composer.json b/composer.json index e1dde98..9a8ee2f 100755 --- a/composer.json +++ b/composer.json @@ -32,7 +32,7 @@ }, "autoload-dev": { "psr-4": { - "Psalm\\PhpUnitPlugin\\Tests\\": ["tests/_support"] + "Psalm\\PhpUnitPlugin\\Tests\\": "tests" } }, "scripts" : { diff --git a/phpcs.xml.dist b/phpcs.xml.dist index ac7580c..08262e3 100755 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -6,8 +6,8 @@ src - tests/_support/Helper - tests/_support/AcceptanceTester.php + tests/Helper + tests/AcceptanceTester.php diff --git a/tests/_support/AcceptanceTester.php b/tests/AcceptanceTester.php similarity index 100% rename from tests/_support/AcceptanceTester.php rename to tests/AcceptanceTester.php diff --git a/tests/_support/Helper/Acceptance.php b/tests/Helper/Acceptance.php similarity index 100% rename from tests/_support/Helper/Acceptance.php rename to tests/Helper/Acceptance.php diff --git a/tests/_support/_generated/.gitignore b/tests/_generated/.gitignore similarity index 100% rename from tests/_support/_generated/.gitignore rename to tests/_generated/.gitignore