Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-28 00:20:19 +00:00
parent 5bf37ece1a
commit 2c0f4bfdb2
88 changed files with 330 additions and 253 deletions

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# php-coveralls
> A PHP client for Coveralls.
> More information: <https://php-coveralls.github.io/php-coveralls>.
> More information: <https://php-coveralls.github.io/php-coveralls/#cli-options>.
- Send coverage information to Coveralls:
@@ -14,15 +14,15 @@ source: https://github.com/tldr-pages/tldr.git
- Send coverage information to Coveralls for a specific directory:
`php-coveralls --root_dir {{path/to/directory}}`
`php-coveralls {{[-r|--root_dir]}} {{path/to/directory}}`
- Send coverage information to Coveralls with a specific config:
`php-coveralls --config {{path/to/.coveralls.yml}}`
`php-coveralls {{[-c|--config]}} {{path/to/.coveralls.yml}}`
- Send coverage information to Coveralls with verbose output:
`php-coveralls --verbose`
`php-coveralls {{[-v|--verbose]}}`
- Send coverage information to Coveralls excluding source files with no executable statements:
@@ -30,12 +30,12 @@ source: https://github.com/tldr-pages/tldr.git
- Send coverage information to Coveralls with a specific environment name:
`php-coveralls --env {{test|dev|prod}}`
`php-coveralls {{[-e|--env]}} {{test|dev|prod}}`
- Specify multiple Coverage Clover XML files to upload:
`php-coveralls --coverage_clover {{path/to/first_clover.xml}} --coverage_clover {{path/to/second_clover.xml}}`
`php-coveralls {{[-x|--coverage_clover]}} {{path/to/first_clover.xml}} --coverage_clover {{path/to/second_clover.xml}}`
- Output the JSON that will be sent to Coveralls to a specific file:
`php-coveralls --json_path {{path/to/coveralls-upload.json}}`
`php-coveralls {{[-o|--json_path]}} {{path/to/coveralls-upload.json}}`