Skip to content

Commit a6dc627

Browse files
committed
docs: #17 - update commands to use the phar
1 parent 1f346de commit a6dc627

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,17 @@ You can also find some alternative phar versions:
4141

4242
.. code-block:: bash
4343

44-
$ curl -O https://doctum.long-term.support/releases/${version}/doctum.phar
44+
$ curl -O https://doctum.long-term.support/releases/${version}/doctum.phar && chmod +x doctum.phar
4545

4646
Check that everything worked as expected by executing the ``doctum.phar`` file
4747
without any arguments:
4848

4949
.. code-block:: bash
5050

51-
$ php doctum.phar
51+
$ doctum.phar
5252

5353
Since 5.3.0 the phar does not require to use `php` keyword anymore because the `shebang` was added to the phar file.
54-
You can now call `doctum.phar` directly.
54+
You can now call `doctum.phar` directly after adding execution rights onto the file.
5555

5656
You can use our `GitHub marketplace action <https://github.com/marketplace/actions/action-doctum>`_ into your GitHub CI.
5757

0 commit comments

Comments
 (0)