updating structure

This commit is contained in:
Your Name
2024-08-25 18:34:01 +03:00
parent dbfb2c03bb
commit af9260a35c
23 changed files with 7546 additions and 65 deletions

27
.php-cs-fixer.dist.php Normal file
View File

@@ -0,0 +1,27 @@
<?php
declare(strict_types=1);
use PhpCsFixer\Config;
use PhpCsFixer\Finder;
use PHPyh\CodingStandard\PhpCsFixerCodingStandard;
$finder = Finder::create()
->in([
__DIR__ . '/src',
__DIR__ . '/tests',
])
->append([
__FILE__,
])
->notPath([
'benchmark.php',
]);
$config = (new Config())
->setFinder($finder)
->setCacheFile(__DIR__ . '/var/.php-cs-fixer.cache');
(new PhpCsFixerCodingStandard())->applyTo($config);
return $config;