PHPMailer/.github/PULL_REQUEST_TEMPLATE.md

10 lines
579 B
Markdown

Before submitting your pull request, check whether your code adheres to PHPMailer coding standards (which is mostly [PSR-12](https://www.php-fig.org/psr/psr-12/)) by running [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer):
./vendor/bin/phpcs
Any problems reported can probably be fixed automatically by using its partner tool, PHP code beautifier:
./vendor/bin/phpcbf
It's important that this command uses the specific version of phpcs configured for PHPMailer, so run `composer install` within the PHPMailer folder to use the exact version it needs.