Note: This scripts should be run from root php_nml directory (where
composer.json
is).
-
script/test-code [<filter>]
: Runs unit-testing tests with PHPUnit. Where<filters>
is a string to filter tests to be run. -
script/analize-code
: Runs coding standards checks. -
script/autofix-code
: Runs coding standard auto-fixes (PHP: Code Sniffer). -
script/build-code-coverage
: Runs tests and build code coverage reports (XML and HTML formats) inoutput/code-coverage/
directory. -
script/build-api
: Generates API documentation inoutput/api/
directory using ApiGen.
script/travis-ci/deploy-documentation
: Generates documentation and publish it ingh-pages
brach. Note: This script is used by Travis-CI to publish documentation and should not be run in local development.