pluswerk / grumphp-bom-task
Force files to have no BOM
Installs: 221 742
Dependents: 2
Suggesters: 0
Security: 0
Stars: 2
Watchers: 9
Forks: 0
Open Issues: 0
Requires
- php: ~8.1.0 || ~8.2.0 || ~8.3.0
- phpro/grumphp: ^2.0.0
Requires (Dev)
- pluswerk/grumphp-config: ^6.8.0
README
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