-
Notifications
You must be signed in to change notification settings - Fork 439
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
2 changed files
with
33 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Contribution | ||
|
||
To contribute you have to fork a [enqueue-dev](https://github.com/php-enqueue/enqueue-dev) repository. | ||
Clone it locally. | ||
|
||
## Setup environment | ||
|
||
``` | ||
composer install | ||
./bin/pre-commit -i | ||
./bin/dev -b | ||
``` | ||
|
||
Once you did it you can work on a feature or bug fix. | ||
|
||
## Testing | ||
|
||
To run tests simply run | ||
|
||
``` | ||
./bin/dev -t | ||
``` | ||
|
||
## Commit | ||
|
||
When you try to commit changes `php-cs-fixer` is run. It fixes all coding style issues. Dont forget to stage them and commit everything. | ||
Once everything is done open a pull request on official repository. | ||
|
||
[back to index](index.md) |
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