Skip to content

Releases: Enabel/coding-standard

v1.2.1

13 Mar 11:37
39816b1

Choose a tag to compare

Bug fixes

  • Fix Symfony Console 7.x/8.x compatibility by using getDefaultCommands() instead of calling inherited add() 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

26 Feb 13:23
95ca571

Choose a tag to compare

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_PASSWORD variables. Now uses docker:27 + CI_JOB_TOKEN.
  • GitHub Actions: Fix container image reference — env.CI_IMAGE is not supported in container.image context. Now uses job outputs with lowercased repository name.
  • GitHub Actions: Fix MySQL/MariaDB healthcheck — healthcheck.sh --connect --innodb_initialized exhausted retries during init. Now uses mysqladmin ping with shorter interval and more retries.

v1.1.0

26 Feb 09:53
fc2d51d

Choose a tag to compare

New features

  • ci:update command — detects existing CI providers (GitLab, GitHub, Azure) and regenerates their configuration files. Supports --php-version, --database, --symfony overrides.
  • ci:add command — adds a new CI provider to an existing project. Use --force to overwrite an existing provider.
  • Enhanced project detectionProjectDetector now detects CI providers, database type/version from compose.yaml, and tool configuration files (PHP-CS-Fixer, PHPStan, Rector, PHPUnit).

v1.0.0

25 Feb 21:16

Choose a tag to compare

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/foundry and dama/doctrine-test-bundle integration (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