-
-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1 @@ | ||
## Submitting useful bug reports | ||
|
||
Please search existing issues first to make sure this is not a duplicate. | ||
Every issue report has a cost for the developers required to field it; be | ||
respectful of others' time and ensure your report isn't spurious prior to | ||
submission. Please adhere to [sound bug reporting principles](http://www.chiark.greenend.org.uk/~sgtatham/bugs.html). | ||
|
||
## Development ideology | ||
|
||
Truths which we believe to be self-evident: | ||
|
||
- **It's an asynchronous world.** Be wary of anything that undermines | ||
async principles. | ||
|
||
- **The answer is not more options.** If you feel compelled to expose | ||
new preferences to the user it's very possible you've made a wrong | ||
turn somewhere. | ||
|
||
- **There are no power users.** The idea that some users "understand" | ||
concepts better than others has proven to be, for the most part, false. | ||
If anything, "power users" are more dangerous than the rest, and we | ||
should avoid exposing dangerous functionality to them. | ||
|
||
## Code style | ||
|
||
The amphp project adheres to the [PSR-2 style guide](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md | ||
). | ||
|
||
To apply code standards you can run `php-cs-fixer` with following composer command: | ||
|
||
```bash | ||
composer code-style | ||
``` | ||
|
||
## Running the tests | ||
|
||
Run the test suite from root directory: | ||
|
||
```bash | ||
composer test | ||
``` | ||
Please follow our [rules](https://amphp.org/contributing). |