PHP Classes

File: .php_cs

Recommend this page to a friend!
  Classes of Dmitry Mamontov   PHP Archiver   .php_cs   Download  
File: .php_cs
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Archiver
Manage archives of files in multiple formats
Author: By
Last change:
Date: 3 years ago
Size: 316 bytes
 

Contents

Class file image Download
<?php

return PhpCsFixer\Config::create()
    ->
setRiskyAllowed(true)
    ->
setRules([
       
'@PSR2' => true,
       
'@PhpCsFixer' => true,
       
'psr4' => true,
       
'single_line_comment_style' => false,
    ])
    ->
setFinder(
       
PhpCsFixer\Finder::create()->name('*.php')->in(__DIR__.'/src')
    )
;