spreed/.php-cs-fixer.dist.php
Joas Schilling 8d0a280d13
fix(CS): Prepare path to config
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-01 15:23:13 +01:00

20 lines
362 B
PHP

<?php
declare(strict_types=1);
require_once './vendor-bin/csfixer/vendor/autoload.php';
use Nextcloud\CodingStandard\Config;
$config = new Config();
$config
->getFinder()
->ignoreVCSIgnored(true)
->notPath('build')
->notPath('l10n')
->notPath('src')
->notPath('lib/Vendor')
->notPath('vendor')
->notPath('vendor-bin')
->in(__DIR__);
return $config;