Skip to content

Commit 3a99c53

Browse files
authored
Merge pull request #237 from jeremykendall/fix/contribution-text
Update CONTRIBUTING.md
2 parents a7562fd + 5fd22b2 commit 3a99c53

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/CONTRIBUTING.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ We accept bug reports via issues created on [Github](https://github.com/jeremyke
1010

1111
- **Always search the issue or pull request list first** - The odds are good that if you've found a problem, someone else has found it, too.
1212

13-
- **Always try the [master branch](https://github.com/jeremykendall/php-domain-parser)** - to see if the reported bug has not already been fixed.
13+
- **Always try the [developer branch](https://github.com/jeremykendall/php-domain-parser/tree/develop)** - to see if the reported bug has not already been fixed.
1414

1515
### When submitting your report
1616

@@ -24,8 +24,18 @@ We accept bug reports via issues created on [Github](https://github.com/jeremyke
2424

2525
We accept contributions via Pull Requests on [Github](https://github.com/jeremykendall/php-domain-parser/pull).
2626

27+
- **Always make your Pull Request against the [developer branch](https://github.com/jeremykendall/php-domain-parser/tree/develop)**
28+
2729
- **[PSR-2 Coding Standard](http://www.php-fig.org/psr/psr-2/)** - Your patch won't be accepted if it doesn't pass the package coding style test suite.
2830

31+
You can resolve most of the styling code issues using the following command line:
32+
33+
```bash
34+
$ ./vendor/bin/php-cs-fixer fix -vvv --allow-risky=yes
35+
```
36+
37+
You should run this command **prior** to committing your code.
38+
2939
- **Add tests!** - Your patch won't be accepted if it doesn't have tests.
3040

3141
- **Document any change in behaviour** - Make sure the README and any other relevant documentation are kept up-to-date.

0 commit comments

Comments
 (0)