File: .php_cs

Recommend this page to a friend!
  Classes of WsdlToPhp  >  Package Base  >  .php_cs  >  Download  
File: .php_cs
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Package Base
Base classes for implementing a package generator
Author: By
Last change: issue #32 - migrate to PHP >= 7.4
Date: 1 month ago
Size: 512 bytes
 

Contents

Class file image Download
<?php

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

return PhpCsFixer\Config::create()
	->setUsingCache(false)
    ->setRules(array(
        '@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.