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);