Releases: Enabel/coding-standard
Releases · Enabel/coding-standard
v1.2.1
Bug fixes
- Fix Symfony Console 7.x/8.x compatibility by using
getDefaultCommands()instead of calling inheritedadd()in the constructor (#4) - Add explicit PHPStan bootstrap to ensure Symfony Console types are resolved correctly
- Add Symfony version matrix (^7.0, ^8.0) in CI to validate compatibility on both major versions
v1.1.1
Bug fixes
- GitLab CI: Replace Kaniko with Docker-in-Docker for image builds — Kaniko required manual base64 auth config and was fragile with group-level
CI_REGISTRY_PASSWORDvariables. Now usesdocker:27+CI_JOB_TOKEN. - GitHub Actions: Fix container image reference —
env.CI_IMAGEis not supported incontainer.imagecontext. Now uses job outputs with lowercased repository name. - GitHub Actions: Fix MySQL/MariaDB healthcheck —
healthcheck.sh --connect --innodb_initializedexhausted retries during init. Now usesmysqladmin pingwith shorter interval and more retries.
v1.1.0
New features
ci:updatecommand — detects existing CI providers (GitLab, GitHub, Azure) and regenerates their configuration files. Supports--php-version,--database,--symfonyoverrides.ci:addcommand — adds a new CI provider to an existing project. Use--forceto overwrite an existing provider.- Enhanced project detection —
ProjectDetectornow detects CI providers, database type/version fromcompose.yaml, and tool configuration files (PHP-CS-Fixer, PHPStan, Rector, PHPUnit).
v1.0.0
Enabel Coding Standard v1.0.0
First stable release. A PHP CLI tool that generates configuration files for PHP/Symfony projects.
Features
- Code quality tools: PHP-CS-Fixer, PHPStan, Rector, PHPUnit configuration generation
- CI/CD pipelines: GitLab CI, GitHub Actions, Azure DevOps templates with pcov coverage
- Development environments: Docker Compose, Makefile, Symfony CLI support
- Database support: MariaDB, MySQL, PostgreSQL with version selection
- phpMyAdmin: optional admin UI for MySQL/MariaDB (enabled by default)
- Foundry & DAMA: optional
zenstruck/foundryanddama/doctrine-test-bundleintegration (enabled by default) - Interactive & non-interactive modes: full CLI option support with
--no-interaction - Conflict resolution: skip, replace, or ask per-file when regenerating
- Project auto-detection: detects PHP version, Symfony version, and project name from composer.json
Installation
composer require --dev enabel/coding-standard
vendor/bin/coding-standard init