2020-05-13 23:00:54 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
2024-07-01 20:03:36 +03:00
|
|
|
/**
|
|
|
|
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
*/
|
2024-08-04 10:50:37 +03:00
|
|
|
require_once './vendor-bin/php-cs-fixer/vendor/autoload.php';
|
2020-05-13 23:00:54 +03:00
|
|
|
|
|
|
|
use Nextcloud\CodingStandard\Config;
|
|
|
|
|
|
|
|
$config = new Config();
|
|
|
|
$config
|
|
|
|
->getFinder()
|
|
|
|
->ignoreVCSIgnored(true)
|
|
|
|
->notPath('build')
|
|
|
|
->notPath('l10n')
|
|
|
|
->notPath('src')
|
|
|
|
->notPath('vendor')
|
2024-08-04 10:50:37 +03:00
|
|
|
->notPath('vendor-bin')
|
2020-05-13 23:00:54 +03:00
|
|
|
->in(__DIR__);
|
|
|
|
return $config;
|