From e91b75bdeb1866e0528cf4a76db43632109e3c14 Mon Sep 17 00:00:00 2001 From: SpacePossum Date: Mon, 2 Jul 2018 06:59:41 +0200 Subject: [PATCH] Add install/update using PHIVE instructions to README --- README.rst | 16 ++++++++++++++++ src/Console/Command/ReadmeCommand.php | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/README.rst b/README.rst index 053c0094ef3..a65abb4f8ac 100644 --- a/README.rst +++ b/README.rst @@ -85,6 +85,15 @@ Globally (homebrew) $ brew install php-cs-fixer +Locally (PHIVE) +~~~~~~~~~~~~~~~ + +Install `PHIVE `_ and issue the following command: + +.. code-block:: bash + + $ phive install php-cs-fixer # use `--global` for global install + Update ------ @@ -124,6 +133,13 @@ You can update ``php-cs-fixer`` through this command: $ brew upgrade php-cs-fixer +Locally (PHIVE) +~~~~~~~~~~~~~~~~~~~ + +.. code-block:: bash + + $ phive update php-cs-fixer + Usage ----- diff --git a/src/Console/Command/ReadmeCommand.php b/src/Console/Command/ReadmeCommand.php index 3ff671cdca2..36528265703 100644 --- a/src/Console/Command/ReadmeCommand.php +++ b/src/Console/Command/ReadmeCommand.php @@ -131,6 +131,15 @@ protected function execute(InputInterface $input, OutputInterface $output) $ brew install php-cs-fixer +Locally (PHIVE) +~~~~~~~~~~~~~~~ + +Install `PHIVE `_ and issue the following command: + +.. code-block:: bash + + $ phive install php-cs-fixer # use `--global` for global install + Update ------ @@ -170,6 +179,13 @@ protected function execute(InputInterface $input, OutputInterface $output) $ brew upgrade php-cs-fixer +Locally (PHIVE) +~~~~~~~~~~~~~~~~~~~ + +.. code-block:: bash + + $ phive update php-cs-fixer + Usage -----