From 52fc9f1e7b3e378d0ffcda2e4deb937fcaa90da9 Mon Sep 17 00:00:00 2001 From: Claudson Martins Date: Sat, 6 Jun 2020 12:43:03 -0300 Subject: [PATCH] =?UTF-8?q?Remo=C3=A7=C3=A3o=20do=20index.php,=20adi=C3=A7?= =?UTF-8?q?=C3=A3o=20do=20comando=20de=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- composer.json | 3 +++ index.php | 15 --------------- 3 files changed, 4 insertions(+), 16 deletions(-) delete mode 100644 index.php diff --git a/README.md b/README.md index ccd088d..4d180d6 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ para Node.js e web browsers. - Feito utilizando a implementação para PHP de promises do pacote [guzzle/promises](https://github.com/guzzle/promises); ## Instalação -A maneira mais recomendada de instalar o pacote é via [Composer](https://getcomposer.org/download/). +A maneira recomendada de instalar o pacote é via [Composer](https://getcomposer.org/download/). Com a ferramenta instalada, execute o comando abaixo: ```bash diff --git a/composer.json b/composer.json index 5558974..b8694da 100644 --- a/composer.json +++ b/composer.json @@ -29,5 +29,8 @@ "psr-4": { "Claudsonm\\CepPromise\\Tests\\": "tests/" } + }, + "scripts": { + "test": "vendor/bin/phpunit" } } diff --git a/index.php b/index.php deleted file mode 100644 index 1708cec..0000000 --- a/index.php +++ /dev/null @@ -1,15 +0,0 @@ -toArray(); -} -echo json_encode($response);