Add PHP-CS-Fixer to php85 Environment#105
Conversation
This commit introduces PHP-CS-Fixer to the php85 environment to allow for automated code style checking and fixing. - Adds 'friendsofphp/php-cs-fixer' to php85/composer.json. - Creates a default .php-cs-fixer.dist.php configuration file using the PSR12 ruleset. - Updates Dockerfile.php to install Composer directly, avoiding Docker Hub rate limits. - Updates .gitignore to exclude cache files generated by PHP-CS-Fixer and PHPUnit.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Applies automated code style fixes across the project using PHP-CS-Fixer with the PSR12 ruleset. This ensures consistent code formatting.
This commit introduces and configures PHP-CS-Fixer to format a specific subset of files. - Installs 'friendsofphp/php-cs-fixer' in the php85 environment. - Creates a .php-cs-fixer.dist.php configuration file to target only index.php, index.test.php, lib/TransmitMail.php, and the tests/ directory. - Applies PSR12 code style formatting to the targeted files. - Updates Dockerfile.php to install Composer directly, avoiding Docker Hub rate limits. - Updates .gitignore to exclude cache files generated by PHP-CS-Fixer and PHPUnit.
This change adds the PHP-CS-Fixer tool to the
php85environment. It includes the necessary dependency configuration, a default ruleset, and fixes to the Docker build process to handle potential Docker Hub rate limits. It also updates the.gitignorefile to prevent caching issues.PR created automatically by Jules for task 5574286366246635111 started by @dounokouno