ec-europa/qa-automation

There is no license information available for the latest version (9.3.0) of this package.

Extra php codesniffs for QualityAssurance.

Installs: 251 155

Dependents: 3

Suggesters: 0

Security: 0

Stars: 10

Watchers: 17

Forks: 12

Open Issues: 3

Type:phpcodesniffer-standard

9.3.0 2024-07-17 06:26 UTC

README

Build Status

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.

1. Installation

1.1 Install through composer.json

{
  "require-dev": {
    "ec-europa/qa-automation": "^9.0"
  }
}

1.2 Install with composer command

composer require --dev ec-europa/qa-automation:^9.0

2. Sniff list

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