Skip to content

Commit 1d5afe1

Browse files
tswastbshaffer
authored andcommitted
Add style section to CONTRIBUTING.md. (GoogleCloudPlatform#150)
1 parent d81a0ca commit 1d5afe1

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

CONTRIBUTING.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,16 @@ accept your pull requests.
2727
Contributor License Agreement (see details above).
2828
1. Fork the desired repo, develop and test your code changes.
2929
1. Ensure that your code adheres to the existing style in the sample to which
30-
you are contributing. Refer to the
31-
[Google Cloud Platform Samples Style Guide]
32-
(https://github.com/GoogleCloudPlatform/Template/wiki/style.html) for the
33-
recommended coding standards for this organization.
30+
you are contributing.
3431
1. Ensure that your code has an appropriate set of unit tests which all pass.
3532
Set up [Travis](./TRAVIS.md) to run the unit tests on your fork.
3633
1. Submit a pull request.
34+
35+
## Style
36+
37+
Samples in this repository follow the [PSR2][psr2] and [PSR4][psr4]
38+
recommendations. This is enforced using [PHP CS Fixer][php-cs-fixer].
39+
40+
[psr2]: http://www.php-fig.org/psr/psr-2/
41+
[psr4]: http://www.php-fig.org/psr/psr-4/
42+
[php-cs-fixer]: https://github.com/FriendsOfPHP/PHP-CS-Fixer

0 commit comments

Comments
 (0)