Skip to content
This repository has been archived by the owner on Jul 13, 2018. It is now read-only.

Commit

Permalink
Merge pull request #27 from brunoric/minor-typos
Browse files Browse the repository at this point in the history
Fixing typos and command references
  • Loading branch information
brunoric committed Jul 24, 2017
2 parents 6ec7d9e + ec32e52 commit 8bedded
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ Start PHPTesting!!!
### To generate new PHPT test files

The [generate-phpt][generate-phpt] tool wrapped by `docker-phpqa` is a developer tool
[that lives inside of PHP-SRC repository][generate-phpt]. It' usage is very simple and the intent is to bootstrap PHPT
[that lives inside of PHP-SRC repository][generate-phpt]. Its usage is very simple and the intent is to bootstrap PHPT
creation.

````
Usage:
./phpqa generate [PHPT_DIR] -f <function_name> |-c <class_name> -m <method_name> -b|e|v [-s skipif:ini:clean:done] [-k win|notwin|64b|not64b] [-x ext]
phpqa generate [PHPT_DIR] -f <function_name> |-c <class_name> -m <method_name> -b|e|v [-s skipif:ini:clean:done] [-k win|notwin|64b|not64b] [-x ext]
Where:
-f function_name ................. Name of PHP function, eg cos
Expand Down
4 changes: 2 additions & 2 deletions bin/phpqa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function displayHelp()

printf "${_GREEN}docker-phpqa - Docker tools to easily create and run tests for the PHP-SRC${_NC}\n";
printf "${_YELLOW}GENERATE usage${_NC}:
./phpqa generate [PHPT_DIR] -f <function_name> |-c <class_name> -m <method_name> -b|e|v [-s skipif:ini:clean:done] [-k win|notwin|64b|not64b] [-x ext]
phpqa generate [PHPT_DIR] -f <function_name> |-c <class_name> -m <method_name> -b|e|v [-s skipif:ini:clean:done] [-k win|notwin|64b|not64b] [-x ext]
Where:
-f function_name ................. Name of PHP function, eg cos
-c class name .................... Name of class, eg DOMDocument
Expand Down Expand Up @@ -150,7 +150,7 @@ function executeGenerate()
parseGenerateArgs ${_COMMAND_ARGS};
fixGenerateDir;
docker run --rm -i -t -w /usr/src/phpt -v ${_GENERATE_DIR}:/usr/src/phpt herdphp/phpqa:${_GENERATE_VERSION} \
php /usr/src/php/scripts/dev/generate-phpt.phar ${_GENERATE_ARGS} | sed "s/php generate-phpt.php /.\/phpqa/";
php /usr/src/php/scripts/dev/generate-phpt.phar ${_GENERATE_ARGS} | sed "s/php generate-phpt.php /phpqa/";
}

function executeCommand()
Expand Down

0 comments on commit 8bedded

Please sign in to comment.