Skip to content

feat: add phpcbf command and enhance phpcs/phpstan usage#126

Merged
Morgy93 merged 1 commit intodevelopfrom
update-tools
Feb 9, 2026
Merged

feat: add phpcbf command and enhance phpcs/phpstan usage#126
Morgy93 merged 1 commit intodevelopfrom
update-tools

Conversation

@Morgy93
Copy link
Collaborator

@Morgy93 Morgy93 commented Feb 9, 2026

This pull request improves the Magento development environment by enhancing the developer experience and making code quality tools easier to use. The main changes include adding a new command for automatic code fixing, updating existing code analysis commands to be more flexible, and streamlining the Magento installation process for development.

Developer experience improvements:

  • Added a new .ddev/commands/web/phpcbf command to run phpcbf for automatically fixing coding standard issues, supporting custom target paths and additional flags.
  • Updated .ddev/commands/web/phpcs to allow specifying a target path and additional flags, making it easier to run code style checks on specific files or directories.
  • Enhanced .ddev/commands/web/phpstan to accept a target path and additional flags, improving flexibility for static analysis of specific files or directories. [1] [2]

Magento installation and development setup:

  • Modified .ddev/commands/web/install-magento to automatically set Magento to developer mode and disable two-factor authentication modules, streamlining the setup for local development.

@Morgy93 Morgy93 merged commit a8760a2 into develop Feb 9, 2026
2 checks passed
@Morgy93 Morgy93 deleted the update-tools branch February 9, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant