mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-25 03:16:02 +00:00
updated contribution steps
updated contribution steps
This commit is contained in:
parent
9b1c218664
commit
f900045772
27
README.md
27
README.md
@ -80,22 +80,21 @@ Special Thanks to our $50+ sponsors!:
|
|||||||
2. Ensure you have Composer installed (see [Composer Download Instructions](https://getcomposer.org/download/))
|
2. Ensure you have Composer installed (see [Composer Download Instructions](https://getcomposer.org/download/))
|
||||||
|
|
||||||
3. Install Development Dependencies
|
3. Install Development Dependencies
|
||||||
|
```sh
|
||||||
``` sh
|
|
||||||
composer install
|
composer install
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Create a Feature Branch
|
4. Create a Feature Branch
|
||||||
|
|
||||||
5. (Recommended) Run the Test Suite
|
5. Run continuous integration checks:
|
||||||
|
```sh
|
||||||
``` sh
|
vendor/bin/phpunit
|
||||||
vendor/bin/phpunit
|
vendor/bin/phing -f build/build.xml sniff
|
||||||
```
|
|
||||||
6. (Recommended) Check whether your code conforms to our Coding Standards by running
|
# The following tools are from the build specific composer.json:
|
||||||
|
composer install --no-interaction --working-dir=build
|
||||||
``` sh
|
build/vendor/bin/php-cs-fixer fix --config=build/php-cs-fixer.php --diff --dry-run
|
||||||
vendor/bin/phing -f build/build.xml sniff
|
build/vendor/bin/psalm --config=build/psalm.xml --no-cache --long-progress --report-show-info=false --output-format=text
|
||||||
```
|
```
|
||||||
|
|
||||||
7. Send us a Pull Request
|
6. Send us a Pull Request
|
||||||
|
Loading…
Reference in New Issue
Block a user