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: Implement declare statement,
Code requires PHP 7.4,
Code cleaning and various tests
Date: 26 days ago
Size: 540 bytes
 

Contents

Class file image Download
<?php

$finder
= PhpCsFixer\Finder::create()
    ->
exclude('vendor')
    ->
exclude('tests/resources')
    ->
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.