PHP Classes

File: .php_cs.dist

Recommend this page to a friend!
  Classes of Insolita   Yii2 Fractal   .php_cs.dist   Download  
File: .php_cs.dist
Role: Example script
Content type: text/plain
Description: Example script
Class: Yii2 Fractal
Components to implement API based on JSON:API
Author: By
Last change:
Date: 13 days ago
Size: 493 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) 2020 Insolita <webmaster100500@ya.ru> and contributors
@license https://github.com/insolita/yii2-fractal/blob/master/LICENSE
COMMENT
        ]
    ])
;