shelane/blt-phpcs

PHP_CodeSniffer integration for Acquia BLT

Maintainers

Details

github.com/shelane/blt-phpcs

Source

Installs: 4 625

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 5

Type:composer-plugin

dev-master 2023-05-04 17:03 UTC

This package is auto-updated.

Last update: 2024-04-04 19:08:56 UTC


README

This is an Acquia BLT plugin providing integration with PHP_CodeSniffer and Acquia’s Coding Standards.

This plugin provides a set of commands in the validate:phpcs namespace that use PHP_CodeSniffer to check for coding standard violations.

When first installed, it will create a default phpcs.xml file utilizing Acquia’s Coding Standards if one does not exist.

This plugin is community-supported. Acquia does not provide any direct support for this software or provide any warranty as to its stability.

Installation and usage

To use this plugin, you must already have a Drupal project using BLT 13 or higher.

In your project, require the plugin with Composer:

composer require --dev shelane/blt-phpcs

License

Copyright (C) 2020 Acquia, Inc.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.