Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.09 KB

php-cs-fixer.md

File metadata and controls

45 lines (31 loc) · 1.09 KB
description title layout
php-cs-fixer is a linter for PHP
Trunk | How to run php-cs-fixer
title description tableOfContents outline pagination
visible
true
visible
visible
true
visible
true
visible
true

php-cs-fixer

php-cs-fixer is a linter for PHP.

You can enable the php-cs-fixer linter with:

trunk check enable php-cs-fixer

Auto Enabling

php-cs-fixer will be auto-enabled if a .php-cs-fixer.dist.php config file is present.

Settings

php-cs-fixer supports the following config files:

  • .php-cs-fixer.dist.php

You can move these files to .trunk/configs and trunk check will still find them. See Moving Linters for more info.

Links