PHP Classes

File: .php-cs-fixer.php

Recommend this page to a friend!
  Classes of WsdlToPhp   PHP Code Generator   .php-cs-fixer.php   Download  
File: .php-cs-fixer.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Code Generator
Generate PHP code elements programatically
Author: By
Last change:
Date: 2 years ago
Size: 268 bytes
 

Contents

Class file image Download
<?php

$finder
= PhpCsFixer\Finder::create()
    ->
exclude('vendor')
    ->
exclude('tests/resources')
    ->
in(__DIR__);

return (new
PhpCsFixer\Config())
    ->
setUsingCache(false)
    ->
setRules(array(
       
'@PhpCsFixer' => true,
    ))
    ->
setFinder($finder);