buckhamduffy/coding-standards
BuckhamDuffy Coding Standards & Testing
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
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
641,106,524
9,700
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
418,291,778
609
nunomaduro/collision
Cli error handling for console/command-line PHP applications.
394,964,158
4,660
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v8.2.0 | >=8.3.0 | ^12.7 | | ||
| v8.1.0 | >=8.3.0 | ^12.7 | | ||
| v8.0.0 | >=8.3.0 | ^12.7 | | ||
| v7.0.3 | >=8.3.0 | ^12.16.0 | ||
| v7.0.2 | >=8.3.0 | ^12.16.0 | ||
| v7.0.1 | >=8.3.0 | ^12.16.0 | ||
| v7.0.0 | >=8.3.0 | ^12.16.0 | ||
| v6.1.6 | >=8.2.1 | ^11.14.0 | ||
| v6.1.5 | >=8.2.1 | ^11.14.0 | ||
| v6.1.4 | >=8.2.1 | ^11.14.0 | ||
| v6.1.3 | >=8.2.1 | ^11.14.0 | ||
| v6.1.2 | >=8.2.1 | ^11.14.0 | ||
| v6.1.1 | >=8.2.1 | ^11.14.0 | ||
| v6.1.0 | >=8.2.1 | ^11.14.0 | ||
| v6.0.4 | >=8.2.1 | ^11.14.0 | ||
| v6.0.3 | >=8.2.1 | ^11.14.0 | ||
| v6.0.2 | >=8.2.1 | ^11.11.1 | ||
| v6.0.1 | >=8.2.1 | ^11.11.1 | ||
| v6.0.0 | >=8.2.1 | ^11.11 | ||
| v5.2.0 | >=8.2.1 | ^11.10 | ||
| v5.1.0 | >=8.2.1 | ^11.10 | ||
| v5.0.1 | >=8.2.1 | ^11.10 | ||
| v5.0.0 | >=8.2.1 | ^11.10 | ||
| v4.1.0 | >=8.2.1 | ^11.10 | ||
| v4.0.1 | >=8.2.1 | ^11.0 | ||
| v4.0.0 | >=8.2.1 | ^11.0 | ||
| v3.2.1 | >=8.2.1 | 9.*| | ||
| v3.2.0 | >=8.2.1 | 9.*| | ||
| v3.1.1 | >=8.2.1 | ^9.33 | ||
| v3.1.0 | >=8.2.1 | ^9.33 |
Showing the latest 30 of 35. See every release on Packagist