pluswerk/grumphp-bom-task
GrumPHP task that checks and fixes files so they have no BOM. Configure the plus_bom_fixer task in grumphp.yml for PHP, CSS, SCSS, LESS, JSON, SQL, YAML, and text files, then register the ExtensionLoader. Install with composer require --dev pluswerk/grumphp-bom-task.
Force files to have no BOM via GrumPHP
parameters:
tasks:
plus_bom_fixer:
triggered_by: [php, css, scss, less, json, sql, yml, txt]
extensions:
- PLUS\GrumPHPBomTask\ExtensionLoader
If you come from andersundsehr/grumphp-bom-task, change the extensions Loader path in the grumphp.yml file.
from:
parameters:
tasks:
aus_bom_fixer:
triggered_by: [php, css, scss, less, json, sql, yml, txt]
extensions:
- AUS\GrumPHPBomTask\ExtensionLoader
to:
parameters:
tasks:
plus_bom_fixer:
triggered_by: [php, css, scss, less, json, sql, yml, txt]
extensions:
- PLUS\GrumPHPBomTask\ExtensionLoader
composer require --dev pluswerk/grumphp-bom-task
How can I help you explore Laravel packages today?