Skip to content

Commit a26a059

Browse files
authored
Add blank line before statement (#48)
1 parent 12f74ca commit a26a059

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

phpcs/ruleset.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@
124124
<config name="installed_paths" value="../../slevomat/coding-standard"/>
125125
<rule ref="SlevomatCodingStandard.Commenting.RequireOneLinePropertyDocComment.MultiLinePropertyComment"/>
126126
<rule ref="SlevomatCodingStandard.Commenting.UselessFunctionDocComment.UselessDocComment"/>
127+
<rule ref="SlevomatCodingStandard.ControlStructures.JumpStatementsSpacing"/>
127128
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses"/>
128129
<rule ref="SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly"/>
129130
<rule ref="SlevomatCodingStandard.Namespaces.UnusedUses"/>

readme.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@
66
composer require shoppingfeed/coding-style-php
77
```
88

9+
### Contributing
10+
11+
To connect to a php 8.0 container correctly configured
12+
13+
- Create a container : `docker run --name coding-style-php -v $PWD:/var/www -d ghcr.io/shoppingflux/php:8.0.2-fpm`
14+
- Connect to container : `docker exec -it coding-style-php bash`
15+
16+
Once connected to the container you can :
17+
18+
- Update composer dependencies : `composer update`
19+
- Run test : `composer test`
20+
921
### Documentation
1022

1123
Documentation is driven by [mkdocs](https://www.mkdocs.org/) and uses [material theme](https://squidfunk.github.io/mkdocs-material/)

0 commit comments

Comments
 (0)