mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-16 10:15:14 +00:00
updated contribution steps
updated contribution steps
This commit is contained in:
parent
9b1c218664
commit
f900045772
23
README.md
23
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
|
||||||
|
vendor/bin/phpunit
|
||||||
|
vendor/bin/phing -f build/build.xml sniff
|
||||||
|
|
||||||
``` sh
|
# The following tools are from the build specific composer.json:
|
||||||
vendor/bin/phpunit
|
composer install --no-interaction --working-dir=build
|
||||||
```
|
build/vendor/bin/php-cs-fixer fix --config=build/php-cs-fixer.php --diff --dry-run
|
||||||
6. (Recommended) Check whether your code conforms to our Coding Standards by running
|
build/vendor/bin/psalm --config=build/psalm.xml --no-cache --long-progress --report-show-info=false --output-format=text
|
||||||
|
```
|
||||||
|
|
||||||
``` sh
|
6. Send us a Pull Request
|
||||||
vendor/bin/phing -f build/build.xml sniff
|
|
||||||
```
|
|
||||||
|
|
||||||
7. Send us a Pull Request
|
|
||||||
|
Loading…
Reference in New Issue
Block a user