File: .php_cs

Recommend this page to a friend!
  Classes of WsdlToPhp  >  PHP Code Generator  >  .php_cs  >  Download  
File: .php_cs
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary data
Class: PHP Code Generator
Generate PHP code elements programatically
Author: By
Last change: upgrade source in order to use most of PHP 7.2 features
refactor sources and tests
add feature to PHP CS settings
improve settings
Date: 1 year ago
Size: 507 bytes
 

Contents

Class file image Download
<?php

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

return
PhpCsFixer\Config::create()
    ->
setUsingCache(false)
    ->
setRules([
       
'@PSR2' => true,
       
'array_syntax' => [
           
'syntax' => 'short',
        ],
       
'binary_operator_spaces' => true,
       
'no_whitespace_in_blank_line' => true,
       
'ternary_operator_spaces' => true,
       
'cast_spaces' => true,
       
'trailing_comma_in_multiline_array' => true
   
])
    ->
setFinder($finder);


For more information send a message to info at phpclasses dot org.