PHP Classes

File: .php_cs.dist

Recommend this page to a friend!
  Classes of Insolita   Yii2 Fixture ii   .php_cs.dist   Download  
File: .php_cs.dist
Role: Example script
Content type: text/plain
Description: Example script
Class: Yii2 Fixture ii
Generate fixture code files from templates scripts
Author: By
Last change:
Date: 2 months ago
Size: 436 bytes
 

Contents

Class file image Download
<?php

return PhpCsFixer\Config::create()
    ->
setRules([
       
'@PSR2' => true,
       
'array_syntax' => ['syntax' => 'short'],
       
'general_phpdoc_annotation_remove' => ['annotations' => ['author']],
       
'header_comment' => [
           
'comment_type' => 'PHPDoc',
           
'header' => <<<COMMENT
@copyright Copyright (c) 2021 Insolita <webmaster100500@ya.ru> and contributors
@license MIT
COMMENT
        ]
    ])
;