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: update to php 8.4 (#46)

*refactor and moved to php 8.4

*base on new Numer obj from BcMath introduced in 8.4

*resign from own function like ceil, round etc to build in bcmatch

*new phpstan and phpunit

---------

Co-authored-by: Github Actions Bot <41898282+github-actions[bot]@users.noreply.github.com>
Date: 6 days ago
Size: 509 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');
};