Holds all quality assurance automation tools. It currently consists of 2 parts. The PHP CodeSniffer sniffs that contain standards regarding the FPFIS platform. And a symfony console implementation for running QA analysis and/or reviews on Drupal projects.
{
"require-dev": {
"ec-europa/qa-automation": "^9.0"
}
}
composer require --dev ec-europa/qa-automation:^9.0
The QualityAssurance standard contains 13 sniffs
QualityAssurance (13 sniffs)
----------------------------
QualityAssurance.Functions.DrupalDeprecated
QualityAssurance.Functions.DrupalForbiddenHooks
QualityAssurance.Functions.DrupalHttpRequest
QualityAssurance.Functions.DrupalWrappers
QualityAssurance.Generic.Credentials
QualityAssurance.Generic.DeprecatedConstants
QualityAssurance.Generic.HardcodedPath
QualityAssurance.InfoFiles.Forbidden
QualityAssurance.InfoFiles.Required
QualityAssurance.InstallFiles.FunctionDeclarations
QualityAssurance.InstallFiles.HookUpdate0
QualityAssurance.InstallFiles.HookUpdateN
QualityAssurance.InstallFiles.InstallUpdateCallbacks
To update this list run:
./vendor/bin/phpcs -e --standard=QualityAssurance