Skip to content

Release v1.0.7

Choose a tag to compare

@github-actions github-actions released this 30 Mar 05:31
· 165 commits to main since this release

Release v1.0.7 - Improved script names and consistency

  • Updated script names for better consistency (namespace-style with colons)
  • PHP-CS-Fixer: cs-check/cs-fix -> fix:check/fix
  • Rector: rector:fix -> rector:check, rector now applies changes
  • Twig: Improved naming with twig:lint, twig:fix, twig:fix:check
  • Scripts use .dist.php suffix for configuration files
  • Added PHP_CS_FIXER_IGNORE_ENV=1 and --allow-risky=yes flags
  • PHP 8.1-8.5, Symfony 6.0-7.4, Laravel 9.0-11.0

Changelog

Changed

  • Composer scripts updated: Improved script names and commands for better consistency
    • PHP-CS-Fixer scripts: Renamed from cs-check/cs-fix to fix:check/fix
      • Added PHP_CS_FIXER_IGNORE_ENV=1 environment variable to ignore environment-specific config
      • Added --allow-risky=yes flag for risky rules
      • Scripts now reference .php-cs-fixer.dist.php configuration file
    • Rector scripts: Renamed from rector:fix to rector:check for clarity
      • rector now applies changes (removed dry-run)
      • rector:check is the dry-run version
      • Scripts now reference .rector.dist.php configuration file
    • Twig-CS-Fixer scripts: Renamed and expanded script names
      • twig-check → twig:lint (dry-run linting)
      • twig-fix → twig:fix (apply fixes)
      • Added twig:fix:check (check with fix option)
      • All scripts now reference .twig-cs-fixer.dist.php configuration file
      • Better namespace-style naming consistency with colons (:) separator

Improved

  • Script naming follows a more consistent pattern with namespace-style separators (:)
  • Scripts use .dist.php suffix to indicate distribution configuration files
  • PHP-CS-Fixer scripts ignore environment-specific configurations for consistent behavior