PHP CS Fixer

Transform all incoming PHP code with PHP CS Fixer. PHP CS Fixer transforms PHP code to conform to the PSRs.

Configuration - .deepsource.toml

This section covers configuration specific to the php-cs-fixer transformer. Please make sure to read the general configuration guide first.

name

  • Type: String
  • Presence: mandatory
  • Description: Shortcode of this transformer.
  • Example:
name = "php-cs-fixer"

enabled

  • Type: Boolean
  • Presence: mandatory
  • Description: Toggle whether this transformer should be run.
  • Example:
enabled = true