Skip to content

Commit c59974e

Browse files
authored
docs: Remove $ from console command snippets (#6600)
1 parent 730a4e6 commit c59974e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

CONTRIBUTING.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -51,20 +51,20 @@ and edit it to your needs. The relevant parameters that might require some tweak
5151
You can then build the images:
5252

5353
```console
54-
$ docker-compose build --parallel
54+
docker-compose build --parallel
5555
```
5656

5757
Now you can run commands needed to work on the project. For example, say you want to run PHPUnit tests on PHP 7.4:
5858

5959
```console
60-
$ docker-compose run php-7.4 vendor/bin/phpunit
60+
docker-compose run php-7.4 vendor/bin/phpunit
6161
```
6262

6363
Sometimes it can be more convenient to have a shell inside the container:
6464

6565
```console
66-
$ docker-compose run php-7.4 sh
67-
/app $ vendor/bin/phpunit
66+
docker-compose run php-7.4 sh
67+
/app vendor/bin/phpunit
6868
```
6969

7070
The images come with an [`xdebug` script](github.com/julienfalque/xdebug/) that allows running any PHP command with

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ in a dedicated `composer.json` file in your project, for example in the
2828
`tools/php-cs-fixer` directory:
2929

3030
```console
31-
$ mkdir --parents tools/php-cs-fixer
32-
$ composer require --working-dir=tools/php-cs-fixer friendsofphp/php-cs-fixer
31+
mkdir --parents tools/php-cs-fixer
32+
composer require --working-dir=tools/php-cs-fixer friendsofphp/php-cs-fixer
3333
```
3434

3535
For more details and other installation methods, see
@@ -41,7 +41,7 @@ Assuming you installed PHP CS Fixer as instructed above, you can run the
4141
following command to fix the files PHP files in the `src` directory:
4242

4343
```console
44-
$ tools/php-cs-fixer/vendor/bin/php-cs-fixer fix src
44+
tools/php-cs-fixer/vendor/bin/php-cs-fixer fix src
4545
```
4646

4747
See [usage](./doc/usage.rst), list of [built-in rules](./doc/rules/index.rst), list of [rule sets](./doc/ruleSets/index.rst)

0 commit comments

Comments
 (0)