buckhamduffy/coding-standards

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

Maintainers

Package info

github.com/buckhamduffy/bd-coding-standards

pkg:composer/buckhamduffy/coding-standards

Transparency log

Statistics

Installs: 138 738

Dependents: 7

Suggesters: 0

Stars: 0

Open Issues: 5

v8.1.0 2026-07-03 00:01 UTC

README

Usage

Run composer require --dev buckhamduffy/coding-standards

ECS Example

ecs.php

<?php

declare(strict_types=1);

use Symplify\EasyCodingStandard\Configuration\ECSConfigBuilder;
use PHP_CodeSniffer\Standards\Generic\Sniffs\CodeAnalysis\EmptyStatementSniff;

/** @var ECSConfigBuilder $config */
$config = require __DIR__ . '/vendor/buckhamduffy/coding-standards/ecs.php';

$config
    ->withParallel()
    ->withSpacing(indentation: Option::INDENTATION_SPACES, lineEnding: "\n");

return $config;
PHPStan

phpstan.neon

includes:
    - ./vendor/buckhamduffy/coding-standards/extension.neon
CaptainHook

CaptainHook can be used to install custom made commit hooks

composer require --dev captainhook/hook-installer
cp vendor/buckhamduffy/coding-standards/captainhook.json captainhook.json