From 88ca90f64b30ce2b3102d1c73786ff867a58a432 Mon Sep 17 00:00:00 2001 From: mcn-fredw Date: Sun, 5 Mar 2017 12:51:13 -0700 Subject: [PATCH] cleaning up structure for deployment. --- .gitattributes | 3 +++ composer.json | 8 +++++++- .../MockFromArrayCreatorTrait.php | 0 .../YamlTestCasesReaderTrait.php | 0 4 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .gitattributes rename MockFromArrayCreatorTrait.php => src/MockFromArrayCreatorTrait.php (100%) rename YamlTestCasesReaderTrait.php => src/YamlTestCasesReaderTrait.php (100%) diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..89994bb --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +Docs/ export-ignore +Tests/ export-ignore +ExampleProject/ export-ignore diff --git a/composer.json b/composer.json index 317121a..542914a 100644 --- a/composer.json +++ b/composer.json @@ -20,6 +20,12 @@ } ], "autoload": { - "psr-4": {"MockFromYaml\\": "./"} + "psr-4": {"MockFromYaml\\": "src/"} + }, + "autoload-dev": { + "psr-4": { + "MockFromYaml\\Tests\\": "Tests/", + "MockFromYaml\\ExampleProject\\": "ExampleProject/" + } } } diff --git a/MockFromArrayCreatorTrait.php b/src/MockFromArrayCreatorTrait.php similarity index 100% rename from MockFromArrayCreatorTrait.php rename to src/MockFromArrayCreatorTrait.php diff --git a/YamlTestCasesReaderTrait.php b/src/YamlTestCasesReaderTrait.php similarity index 100% rename from YamlTestCasesReaderTrait.php rename to src/YamlTestCasesReaderTrait.php