pluswerk/grumphp-bom-task

Force files to have no BOM

10.0.0 2025-02-24 10:17 UTC

This package is auto-updated.

Last update: 2025-02-24 12:13:05 UTC


README

Packagist Packagist Travis Code Climate SymfonyInsight Grade

grumphp-bom-task

Force files to have no BOM via GrumPHP

grumphp.yml:

parameters:
    tasks:
        plus_bom_fixer:
            triggered_by:  [php, css, scss, less, json, sql, yml, txt]
    extensions:
        - PLUS\GrumPHPBomTask\ExtensionLoader

Upgrade from andersundsehr/grumphp-bom-task

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

composer require --dev pluswerk/grumphp-bom-task