From ca96f06876736b425fa9bbdd9d97cb9f57860f19 Mon Sep 17 00:00:00 2001 From: Guillermo Dev Date: Wed, 10 Oct 2018 21:23:18 +0200 Subject: [PATCH] setup phpunit --- composer.json | 8 ++++++-- composer.lock | 4 ++-- phpunit.xml | 7 +++++++ src/{ => Config}/Configuration.php | 0 4 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 phpunit.xml rename src/{ => Config}/Configuration.php (100%) diff --git a/composer.json b/composer.json index cc54d8d..14c01a9 100644 --- a/composer.json +++ b/composer.json @@ -6,11 +6,15 @@ "name" : "Simon" }, { - "name" : "Guillermo" + "name" : "Guillermo Pages", + "email" : "g@lespagesweb.ch" } ], "autoload": { - "psr-4": {"BSR\\Config\\" : "src/"} + "psr-4": {"BSR\\" : "src/"} + }, + "autoload-dev": { + "psr-4": {"BSR\\" : "tests/"} }, "require-dev": { "pds/skeleton": "^1.0", diff --git a/composer.lock b/composer.lock index 5517548..94a797e 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "6092d9ff818cda35571d13f59b88ab0e", - "content-hash": "c545773f7661505ef9d19437063df96c", + "hash": "3bdb7b40df275d807ea4d4a452a71d5c", + "content-hash": "49c105b6192f5cc6344582b858ffdb76", "packages": [], "packages-dev": [ { diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 0000000..248d904 --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,7 @@ + + + + tests + + + diff --git a/src/Configuration.php b/src/Config/Configuration.php similarity index 100% rename from src/Configuration.php rename to src/Config/Configuration.php