enabel/coding-standard-bundle

Enabel bundle that provide coding standard and dev helpers

Installs: 2 155

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 5

Forks: 0

Open Issues: 0

Language:Makefile

Type:symfony-bundle

2.0.3 2024-04-23 11:17 UTC

README

License SymfonyInsight

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