PHP Classes

File: .php-cs-fixer.php

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   PHP Commission Calculator From CSV File   .php-cs-fixer.php   Download  
File: .php-cs-fixer.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Commission Calculator From CSV File
Get transactions from file and compute commissions
Author: By
Last change:
Date: 1 year ago
Size: 466 bytes
 

Contents

Class file image Download
<?php

declare(strict_types=1);

include
__DIR__ . '/vendor/autoload.php';

return (new
PhpCsFixer\Config())
    ->
setRules([
       
'@Symfony' => true,
       
'no_alternative_syntax' => true,
       
'strict_comparison' => true,
       
'strict_param' => true,
       
'declare_strict_types' => true,
       
'yoda_style' => false,
    ])
    ->
setFinder(
        (new
PhpCsFixer\Finder())->in('src')
    )
    ->
setUsingCache(false)
    ->
setRiskyAllowed(true);