2020-09-03 09:23:56 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
2024-05-29 16:10:43 +03:00
|
|
|
/**
|
|
|
|
* SPDX-FileCopyrightText: 2021 Nextcloud contributors
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
*/
|
2021-12-29 02:58:24 +03:00
|
|
|
require_once 'vendor/autoload.php';
|
2020-09-03 09:23:56 +03:00
|
|
|
|
|
|
|
use Nextcloud\CodingStandard\Config;
|
|
|
|
|
|
|
|
$config = new Config();
|
|
|
|
$config
|
|
|
|
->getFinder()
|
|
|
|
->ignoreVCSIgnored(true)
|
|
|
|
->notPath('build')
|
|
|
|
->notPath('l10n')
|
|
|
|
->notPath('lib/Vendor')
|
|
|
|
->notPath('src')
|
|
|
|
->notPath('vendor')
|
|
|
|
->notPath('tests')
|
|
|
|
->in(__DIR__);
|
|
|
|
return $config;
|