2022-01-12 16:38:49 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
2024-08-08 18:35:40 +03:00
|
|
|
/**
|
|
|
|
* SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
*/
|
2024-09-16 11:32:04 +03:00
|
|
|
require_once './vendor-bin/cs-fixer/vendor/autoload.php';
|
2022-01-12 16:38:49 +03:00
|
|
|
|
|
|
|
use Nextcloud\CodingStandard\Config;
|
|
|
|
|
|
|
|
$config = new Config();
|
|
|
|
$config
|
|
|
|
->getFinder()
|
|
|
|
->ignoreVCSIgnored(true)
|
|
|
|
->notPath('build')
|
2024-09-15 17:56:38 +03:00
|
|
|
->notPath('tests/stubs')
|
2022-01-12 16:38:49 +03:00
|
|
|
->notPath('l10n')
|
|
|
|
->notPath('src')
|
|
|
|
->notPath('vendor')
|
|
|
|
->in(__DIR__);
|
|
|
|
return $config;
|