PHP Classes

File: ecs.php

Recommend this page to a friend!
  Classes of Kacper Rowinski   PHP BCMath Extension   ecs.php   Download  
File: ecs.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP BCMath Extension
Add missing functions missing in BCMath
Author: By
Last change:
Date: 1 year ago
Size: 510 bytes
 

Contents

Class file image Download
<?php

declare(strict_types=1);

use
Symplify\EasyCodingStandard\Config\ECSConfig;
use
Symplify\EasyCodingStandard\ValueObject\Set\SetList;

return static function (
ECSConfig $ecsConfig): void {
   
$ecsConfig->paths([__DIR__ . '/src', __DIR__ . '/tests',]);
   
$ecsConfig->sets([
       
SetList::PSR_12,
       
SetList::CLEAN_CODE,
       
SetList::STRICT,
       
SetList::ARRAY,
       
SetList::PHPUNIT,
    ]);

   
$ecsConfig->fileExtensions(['php']);
   
$ecsConfig->cacheDirectory('.cache/ecs');
};