From 386f696eb4f4f84a9e45f6a409fa63bc3d573942 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Fri, 30 Jun 2023 14:17:52 +0200 Subject: [PATCH] Improve README --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index d6a55fc..3f486b3 100755 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Installation & usage 1. Install this package: ```bash - $ composer require --dev solutiondrive/coding-standard + composer require --dev solutiondrive/coding-standard ``` 2. Include a configuration file in your `easy-coding-standard.yml`: @@ -23,23 +23,23 @@ Installation & usage Phar usage ---------- -To create the phar, you need to install ```humbug/box``` globally: +To create the phar, you need to install `humbug/box` globally: (The global composer bin path needs to be available in $PATH) composer global require humbug/box Install the dependencies - composer install --optimize-autoloader -n + composer update --optimize-autoloader Create the phar file - box build -c box.json + composer exec box -- compile -Perhaps it is necessary to allow php to create a phar +Perhaps it is necessary to allow PHP to create a phar - php -d phar.readonly=0 ~/.composer/vendor/bin/box build -c box.json + php -d phar.readonly=0 $(which composer) exec box -- compile -The newly created phar file can be used just like the ```ecs``` binary is used: +The newly created phar file can be used just like the `ecs` binary is used: - ecs-standalone.phar --help + ./build/ecs-standalone.phar list