Forge Home

phpcsfixer

Puppet module to install PHP CS Fixer (https://github.com/fabpot/PHP-CS-Fixer)

10,727 downloads

10,253 latest version

3.9 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.0.3 (latest)
  • 0.0.2
  • 0.0.1
released Jul 19th 2013

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'mike182uk-phpcsfixer', '0.0.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add mike182uk-phpcsfixer
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install mike182uk-phpcsfixer --version 0.0.3

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

mike182uk/phpcsfixer — version 0.0.3 Jul 19th 2013

Puppet PHP CS Fixer

Puppet module to install PHP CS Fixer

Download from Puppet Forge

Details

Installs PHP CS Fixer to /usr/local/bin/php-cs-fixer (this can be overriden using the install_location parameter)

Sets permissions to 0755

Sets owner to root:root

Usage

Include the phpcsfixer class in your puppet manifest

include phpcsfixer

To specify the location that PHP CS Fixer will be installed set the install_location parameter when including the class in your manifest

class { 'phpcsfixer' :
  install_location => '/usr/bin/php-cs-fixer'
}