enabel/coding-standard-bundle

Enabel bundle that provide coding standard and dev helpers

Installs: 3 164

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 5

Forks: 0

Open Issues: 1

Language:Makefile

Type:symfony-bundle

3.0.2 2024-11-07 09:08 UTC

README

License SymfonyInsight codecov CI

Introduction

The bundle aims to provide basics Coding Standard and helper, including:

  • PHP Code Sniffer (PSR-12)
  • PHP Mess Detector
  • PHPStan
  • PHP Insight (Symfony)
  • PHP Copy/Paste Detector
  • Rector
  • PHPLoc
  • Twig Coding Standard
  • Linter
    • Twig
    • Yaml
    • XLIFF
    • Symfony container
    • Symfony services
    • Composer
  • Makefile
  • Docker (MySQL, Redis, Mailcatcher, PHPQA)

Installation & usage

You can check docs here

Versions & dependencies

The current version of the bundle works with Symfony 6.0+. The project follows SemVer.

You can check the changelog.

Contributing

Feel free to contribute, like sending pull requests to add features/tests or creating issues

Note there are a few helpers to maintain code quality, that you can run using these commands:

composer cs # Code style check
composer stan # Static analysis
composer insight # Code analysis 
composer test # Run tests