analyze
backup
core
deprecations
drupal-check
enexts
env
fix
help
init
jobs
list
packages
phases
phpstan
reset
rm
run
serve
si
st
status
test
vars
ci:
debug:
fixture:
fixture:backup
fixture:enable-extensions
fixture:init
fixture:install-site
fixture:reset
fixture:rm
fixture:run-server
fixture:status
internal:
qa:
Display help for a command
help [--format FORMAT] [--raw] [--] [<command_name>]
The help command displays help for a given command:
php ./bin/orca help list
You can also output the help in other formats by using the --format option:
php ./bin/orca help --format=xml list
To display the list of available commands, please use the list command.
The command name
- Is required: no
- Is array: no
- Default:
'help'
The output format (txt, xml, json, or md)
- Accept value: yes
- Is value required: yes
- Is multiple: no
- Default:
'txt'
To output raw command help
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this help message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not output any message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this application version
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Force ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Disable ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not ask any interactive question
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
List commands
list [--raw] [--format FORMAT] [--] [<namespace>]
The list command lists all commands:
php ./bin/orca list
You can also display the commands for a specific namespace:
php ./bin/orca list test
You can also output the information in other formats by using the --format option:
php ./bin/orca list --format=xml
It's also possible to get raw list of commands (useful for embedding command runner):
php ./bin/orca list --raw
The namespace name
- Is required: no
- Is array: no
- Default:
NULL
To output raw command list
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
The output format (txt, xml, json, or md)
- Accept value: yes
- Is value required: yes
- Is multiple: no
- Default:
'txt'
Runs an ORCA CI job phase
ci:run <job> <phase> <sut>
run
Runs an ORCA CI job phase
The job name:
- STATIC_CODE_ANALYSIS: Static code analysis
- INTEGRATED_TEST_ON_OLDEST_SUPPORTED: Integrated test on oldest supported Drupal core version
- INTEGRATED_TEST_ON_LATEST_LTS: Integrated test on latest LTS Drupal core version
- INTEGRATED_TEST_ON_PREVIOUS_MINOR: Integrated test on previous minor Drupal core version
- INTEGRATED_UPGRADE_TEST_FROM_PREVIOUS_MINOR: Integrated upgrade test from previous minor Drupal core version
- ISOLATED_TEST_ON_CURRENT: Isolated test on current Drupal core version
- INTEGRATED_TEST_ON_CURRENT: Integrated test on current Drupal core version
- INTEGRATED_UPGRADE_TEST_TO_NEXT_MINOR: Integrated upgrade test to next minor Drupal core version
- INTEGRATED_UPGRADE_TEST_TO_NEXT_MINOR_DEV: Integrated upgrade test to next minor dev Drupal core version
- ISOLATED_TEST_ON_CURRENT_DEV: Isolated test on current dev Drupal core version
- INTEGRATED_TEST_ON_CURRENT_DEV: Integrated test on current dev Drupal core version
- LOOSE_DEPRECATED_CODE_SCAN: Loose deprecated code scan
- STRICT_DEPRECATED_CODE_SCAN: Strict deprecated code scan
- DEPRECATED_CODE_SCAN_W_CONTRIB: Deprecated code scan w/ contrib
- ISOLATED_TEST_ON_NEXT_MINOR: Isolated test on next minor Drupal core version
- INTEGRATED_TEST_ON_NEXT_MINOR: Integrated test on next minor Drupal core version
- ISOLATED_TEST_ON_NEXT_MINOR_DEV: Isolated test on next minor dev Drupal core version
- INTEGRATED_TEST_ON_NEXT_MINOR_DEV: Integrated test on next minor dev Drupal core version
- ISOLATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_BETA_OR_LATER: Isolated test on next major, latest minor beta-or-later Drupal core version
- INTEGRATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_BETA_OR_LATER: Integrated test on next major, latest minor beta-or-later Drupal core version
- ISOLATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_DEV: Isolated test on next major, latest minor dev Drupal core version
- INTEGRATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_DEV: Integrated test on next major, latest minor dev Drupal core version
- ISOLATED_UPGRADE_TEST_TO_NEXT_MAJOR_BETA_OR_LATER: Isolated upgrade test to next major beta-or-later Drupal core version
- ISOLATED_UPGRADE_TEST_TO_NEXT_MAJOR_DEV: Isolated upgrade test to next major dev Drupal core version
- Is required: yes
- Is array: no
- Default:
NULL
The phase name:
- before_install: Scripts to run before the install stage
- install: Scripts to run at the install stage
- before_script: Scripts to run before the script stage
- script: Scripts to run at the script stage
- before_cache: Scripts to run before storing a build cache
- after_success: Scripts to run after a successful script stage
- after_failure: Scripts to run after a failing script stage
- before_deploy: Scripts to run before the deploy stage
- deploy: Scripts to run at the deploy stage
- after_deploy: Scripts to run after the deploy stage
- after_script: Scripts to run as the last stage
- Is required: yes
- Is array: no
- Default:
NULL
The system under test (SUT) in the form of its package name, e.g., "drupal/example"
- Is required: yes
- Is array: no
- Default:
NULL
Display this help message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not output any message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this application version
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Force ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Disable ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not ask any interactive question
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Displays ORCA CI jobs
debug:ci-jobs
jobs
Displays ORCA CI jobs
Display this help message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not output any message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this application version
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Force ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Disable ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not ask any interactive question
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Displays ORCA CI phases
debug:ci-phases
phases
Displays ORCA CI phases
Display this help message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not output any message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this application version
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Force ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Disable ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not ask any interactive question
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Provides an overview of Drupal Core versions
debug:core-versions [--examples] [--resolve]
core
Provides an overview of Drupal Core versions
Include example version strings
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Include the exact versions Composer would actually install. Makes HTTP requests and increases execution time
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this help message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not output any message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this application version
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Force ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Disable ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not ask any interactive question
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Displays ORCA environment variables
debug:env-vars
env
vars
Displays ORCA environment variables
Display this help message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not output any message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this application version
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Force ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Disable ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not ask any interactive question
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Displays the active packages configuration
debug:packages [<core>]
packages
Displays the active packages configuration
A Drupal core version to target:
- OLDEST_SUPPORTED: Oldest supported Drupal core version, e.g., "8.8.1"
- LATEST_LTS: Latest LTS Drupal core version, e.g., "8.9.1"
- PREVIOUS_MINOR: Previous minor Drupal core version, e.g., "9.1.1"
- CURRENT: Current Drupal core version, e.g., "9.2.1"
- CURRENT_DEV: Current dev Drupal core version, e.g., "9.2.x-dev"
- NEXT_MINOR: Next minor Drupal core version, e.g., "9.3.0-alpha1"
- NEXT_MINOR_DEV: Next minor dev Drupal core version, e.g., "9.3.x-dev"
- NEXT_MAJOR_LATEST_MINOR_BETA_OR_LATER: Next major, latest minor beta-or-later Drupal core version, e.g., "10.0.0-beta1"
- NEXT_MAJOR_LATEST_MINOR_DEV: Next major, latest minor dev Drupal core version, e.g., "10.0.x-dev"
- Any version string Composer understands, see https://getcomposer.org/doc/articles/versions.md
- Is required: no
- Is array: no
- Default:
NULL
Display this help message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not output any message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this application version
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Force ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Disable ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not ask any interactive question
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Backs up the test fixture
fixture:backup [-f|--force]
backup
Backs up the current state of the fixture, including codebase and Drupal database.
Backup without confirmation
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this help message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not output any message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this application version
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Force ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Disable ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not ask any interactive question
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Enables all company Drupal extensions
fixture:enable-extensions
enexts
Enables all company Drupal extensions
Display this help message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not output any message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this application version
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Force ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Disable ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not ask any interactive question
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Creates the test fixture
fixture:init [-f|--force] [--sut SUT] [--sut-only] [--bare] [--core CORE] [--dev] [--profile PROFILE] [--project-template PROJECT-TEMPLATE] [--ignore-patch-failure] [--no-sqlite] [--no-site-install] [--prefer-source] [--symlink-all]
init
Creates a Drupal site build, includes the system under test using Composer, optionally includes all other company packages, and installs Drupal.
If the fixture already exists, remove it first without confirmation
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
The system under test (SUT) in the form of its package name, e.g., "drupal/example"
- Accept value: yes
- Is value required: yes
- Is multiple: no
- Default:
NULL
Add only the system under test (SUT). Omit all other non-required company packages
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Omit all non-required company packages
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Change the version of Drupal core installed:
- OLDEST_SUPPORTED: Oldest supported Drupal core version, e.g., "8.8.1"
- LATEST_LTS: Latest LTS Drupal core version, e.g., "8.9.1"
- PREVIOUS_MINOR: Previous minor Drupal core version, e.g., "9.1.1"
- CURRENT: Current Drupal core version, e.g., "9.2.1"
- CURRENT_DEV: Current dev Drupal core version, e.g., "9.2.x-dev"
- NEXT_MINOR: Next minor Drupal core version, e.g., "9.3.0-alpha1"
- NEXT_MINOR_DEV: Next minor dev Drupal core version, e.g., "9.3.x-dev"
- NEXT_MAJOR_LATEST_MINOR_BETA_OR_LATER: Next major, latest minor beta-or-later Drupal core version, e.g., "10.0.0-beta1"
- NEXT_MAJOR_LATEST_MINOR_DEV: Next major, latest minor dev Drupal core version, e.g., "10.0.x-dev"
- Any version string Composer understands, see https://getcomposer.org/doc/articles/versions.md
- Accept value: yes
- Is value required: yes
- Is multiple: no
- Default:
'CURRENT'
Use dev versions of company packages
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
The Drupal installation profile to use, e.g., "minimal". ("orca" is a pseudo-profile based on "minimal", with the Toolbar module enabled and Seven as the admin theme)
- Accept value: yes
- Is value required: yes
- Is multiple: no
- Default:
'orca'
The Composer project template used to create the fixture
- Accept value: yes
- Is value required: yes
- Is multiple: no
- Default:
NULL
Do not exit on failure to apply Composer patches. (Useful for debugging failures)
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Use the default database settings instead of SQLite
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not install Drupal. Supersedes the "--profile" option
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Force installation of non-company packages from sources when possible, including VCS information. (Company packages are always installed from source.) Useful for core and contrib work
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Symlink all possible company packages via local path repository. Packages absent from the expected location will be installed normally
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this help message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not output any message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this application version
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Force ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Disable ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not ask any interactive question
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Installs the site
fixture:install-site [-f|--force] [--profile PROFILE]
si
Installs Drupal and enables company extensions.
Install without confirmation
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
The Drupal installation profile to use, e.g., "minimal". ("orca" is a pseudo-profile based on "testing", with the Toolbar module enabled and Seven as the admin theme)
- Accept value: yes
- Is value required: yes
- Is multiple: no
- Default:
'orca'
Display this help message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not output any message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this application version
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Force ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Disable ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not ask any interactive question
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Resets the test fixture
fixture:reset [-f|--force]
reset
Restores the original state of the fixture, including codebase and Drupal database.
Remove without confirmation
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this help message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not output any message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this application version
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Force ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Disable ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not ask any interactive question
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Removes the test fixture
fixture:rm [-f|--force]
rm
Removes the entire site build directory and Drupal database.
Remove without confirmation
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this help message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not output any message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this application version
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Force ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Disable ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not ask any interactive question
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Runs the web server for development
fixture:run-server
serve
Runs the web server for development
Display this help message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not output any message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this application version
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Force ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Disable ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not ask any interactive question
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Provides an overview of the fixture
fixture:status
status
st
Provides an overview of the fixture
Display this help message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not output any message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this application version
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Force ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Disable ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not ask any interactive question
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Runs automated tests
qa:automated-tests [--sut SUT] [--sut-only] [--all] [--phpunit] [--no-servers]
test
Runs automated tests
The system under test (SUT) in the form of its package name, e.g., "drupal/example"
- Accept value: yes
- Is value required: yes
- Is multiple: no
- Default:
NULL
Run tests from only the system under test (SUT). Omit tests from all other company packages
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Run all tests, public and private (always true for the system under test (SUT))
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Run only PHPUnit tests
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Don't run the ChromeDriver and web servers
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this help message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not output any message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this application version
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Force ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Disable ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not ask any interactive question
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Scans for deprecated code
qa:deprecated-code-scan [--sut SUT] [--contrib]
deprecations
drupal-check
phpstan
Scans for deprecated code
Scan the system under test (SUT). Provide its package name, e.g., "drupal/example"
- Accept value: yes
- Is value required: yes
- Is multiple: no
- Default:
NULL
Scan contributed projects
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this help message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not output any message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this application version
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Force ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Disable ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not ask any interactive question
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Fixes issues found by static analysis tools
qa:fixer [--composer] [--phpcbf] [--phpcs-standard PHPCS-STANDARD] [--] <path>
fix
Tools can be specified individually or in combination. If none are specified, all will be run.
The path to fix issues in
- Is required: yes
- Is array: no
- Default:
NULL
Run the Composer Normalizer tool
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Run the PHP Code Beautifier and Fixer tool
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Change the PHPCS standard used:
- AcquiaPHP: Contains sniffs applicable to all PHP projects
- AcquiaDrupalStrict: Recommended for new Drupal projects and teams familiar with Drupal coding standards
- AcquiaDrupalTransitional: A relaxed standard for legacy Drupal codebases or teams new to Drupal coding standards
- Accept value: yes
- Is value required: yes
- Is multiple: no
- Default:
'AcquiaDrupalTransitional'
Display this help message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not output any message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this application version
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Force ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Disable ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not ask any interactive question
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Runs static analysis tools
qa:static-analysis [--composer] [--coverage] [--phpcs] [--phpcs-standard PHPCS-STANDARD] [--phplint] [--phploc] [--phpmd] [--yamllint] [--] <path>
analyze
Tools can be specified individually or in combination. If none are specified, all will be run.
The path to analyze
- Is required: yes
- Is array: no
- Default:
NULL
Run the Composer validation tool
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Run the code coverage estimator. Implies "--phploc"
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Run the PHP Code Sniffer tool
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Change the PHPCS standard used:
- AcquiaPHP: Contains sniffs applicable to all PHP projects
- AcquiaDrupalStrict: Recommended for new Drupal projects and teams familiar with Drupal coding standards
- AcquiaDrupalTransitional: A relaxed standard for legacy Drupal codebases or teams new to Drupal coding standards
- Accept value: yes
- Is value required: yes
- Is multiple: no
- Default:
'AcquiaDrupalTransitional'
Run the PHP Lint tool
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Run the PHPLOC tool
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Run the PHP Mess Detector tool
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Run the YAML Lint tool
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this help message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not output any message
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Display this application version
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Force ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Disable ANSI output
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
Do not ask any interactive question
- Accept value: no
- Is value required: no
- Is multiple: no
- Default:
false
README | Understanding ORCA | Getting Started | CLI Commands | Advanced Usage | Project Glossary | FAQ | Contribution Guide