🆙 Add cms i using 🆙

This commit is contained in:
Remco
2025-11-25 22:42:56 +01:00
parent 94704e0925
commit d44196149e
35591 changed files with 3601123 additions and 0 deletions
@@ -0,0 +1,10 @@
{
"require": {
"brick/coding-standard": "v2"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": false
}
}
}
@@ -0,0 +1,33 @@
<?php
declare(strict_types=1);
use PhpCsFixer\Fixer\ClassNotation\OrderedTypesFixer;
use PhpCsFixer\Fixer\Phpdoc\PhpdocTypesOrderFixer;
use SlevomatCodingStandard\Sniffs\Whitespaces\DuplicateSpacesSniff;
use Symplify\EasyCodingStandard\Config\ECSConfig;
return static function (ECSConfig $ecsConfig): void {
$ecsConfig->import(__DIR__ . '/vendor/brick/coding-standard/ecs.php');
$libRootPath = realpath(__DIR__ . '/../..');
$ecsConfig->paths(
[
$libRootPath . '/src',
$libRootPath . '/tests',
$libRootPath . '/phpunit.php',
$libRootPath . '/random-tests.php',
__FILE__,
],
);
$ecsConfig->skip([
// Allows alignment in test providers
DuplicateSpacesSniff::class => [$libRootPath . '/tests'],
// We want to keep BigNumber|int|float|string order
OrderedTypesFixer::class => null,
PhpdocTypesOrderFixer::class => null,
]);
};