mirror of
https://github.com/retailcrm/graphql-php.git
synced 2025-02-11 18:19:23 +03:00
Merge pull request #304 from simPod/update-contibuting
Add CS info into Contributing docs
This commit is contained in:
commit
c02c218c71
@ -14,14 +14,20 @@ For smaller contributions just use this workflow:
|
|||||||
* Send a pull request
|
* Send a pull request
|
||||||
|
|
||||||
## Using GraphQL PHP from a Git checkout
|
## Using GraphQL PHP from a Git checkout
|
||||||
```
|
```sh
|
||||||
$ git clone https://github.com/webonyx/graphql-php.git
|
git clone https://github.com/webonyx/graphql-php.git
|
||||||
$ cd graphql-php
|
cd graphql-php
|
||||||
$ composer install
|
composer install
|
||||||
```
|
```
|
||||||
|
|
||||||
## Running tests
|
## Running tests
|
||||||
From the project root:
|
```sh
|
||||||
|
./vendor/bin/phpunit
|
||||||
```
|
```
|
||||||
$ ./bin/phpunit
|
|
||||||
|
## Coding Standard
|
||||||
|
Coding standard of this project is based on [Doctrine CS](https://github.com/doctrine/coding-standard). To run the inspection:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
./vendor/bin/phpcs
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user