Skip to content

Commit 587f20e

Browse files
committed
Update install instructions
1 parent e52c5b4 commit 587f20e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ PHP CS Fixer.
66

77
## Installation
88

9-
```shell script
9+
```bash
1010
$ composer require --dev netgen/layouts-coding-standard
1111
```
1212

@@ -15,6 +15,8 @@ $ composer require --dev netgen/layouts-coding-standard
1515
Create a `.php-cs-fixer.php` file in the root of your project with the following:
1616

1717
```php
18+
<?php
19+
1820
return new Netgen\Layouts\CodingStandard\PhpCsFixer\Config()
1921
->setFinder(
2022
PhpCsFixer\Finder::create()
@@ -26,7 +28,7 @@ return new Netgen\Layouts\CodingStandard\PhpCsFixer\Config()
2628

2729
Run the fixer with:
2830

29-
```shell script
31+
```bash
3032
$ vendor/bin/php-cs-fixer fix
3133
```
3234

@@ -35,6 +37,8 @@ $ vendor/bin/php-cs-fixer fix
3537
You can override rules included in this config per project:
3638

3739
```php
40+
<?php
41+
3842
return new Netgen\Layouts\CodingStandard\PhpCsFixer\Config()
3943
->addRules([
4044
'list_syntax' => ['syntax' => 'long'],

0 commit comments

Comments
 (0)